Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/filemon



Module Name:    src
Committed By:   pgoyette
Date:           Mon Nov 23 00:47:43 UTC 2015

Modified Files:
        src/sys/dev/filemon: filemon_wrapper.c

Log Message:
Retrieve the pathname of the exec'd file before we call sys_execve().

We cannot rely on using copyinstr() to retrieve the pathname from
user mode after a successful exec, since the user mode address space
is no longer valid (and may not even be accessible).  This worked in
earlier code but was broken by rev 1.7.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/filemon/filemon_wrapper.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index