Ignore:
Timestamp:
Aug 4, 2006, 6:40:42 AM (14 years ago)
Author:
pguyot (Paul Guyot)
Message:

Changes to strengthen the trace mode:

  • the values of the global variables are noted when the library is loaded and not when the first trapped function is called.
  • when a process calls exec[ve], the environment variables are restored.

Both changes aim at preventing processes to (inadvertantly) bypass of trace
mode.

Several holes remain (syscall, setuid binaries owned by a different user, kernel
modules), but this should prevent all inadvertant methods to bypass the trace
mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/tests/trace/Makefile

    r18988 r19004  
    1111        @touch delete-trace
    1212        @touch rename-trace
    13         @mkdir rmdir-trace
     13        @mkdir -p rmdir-trace
    1414        @rm -f create-trace
     15        @rm -f create-trace-modenv
    1516        @rm -rf mkdir-trace
    1617        @rm -f /tmp/hello-trace
     
    2021        @rm -f rename-new-trace
    2122        @rm -f create-trace
     23        @rm -f create-trace-modenv
    2224        @rm -rf mkdir-trace
    2325        @rm -rf rmdir-trace
Note: See TracChangeset for help on using the changeset viewer.