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/master

    r18988 r19004  
    66--->  Testing trace
    77Warning: A creation/deletion/modification was attempted outside sandbox: PWD/create-trace
     8Warning: A creation/deletion/modification was attempted outside sandbox: PWD/create-trace-modenv
    89Warning: A creation/deletion/modification was attempted outside sandbox: PWD/delete-trace
    910Warning: A creation/deletion/modification was attempted outside sandbox: PWD/mkdir-trace
Note: See TracChangeset for help on using the changeset viewer.