| 9b511ce9 | 22-Mar-2016 |
Bryan Drewery <[email protected]> |
Handle copyin failures.
Skip the log entry as there is nothing good to write out. Don't fail the syscall though since it already succeeded. There's no reason filemon's tracing failure should fail
Handle copyin failures.
Skip the log entry as there is nothing good to write out. Don't fail the syscall though since it already succeeded. There's no reason filemon's tracing failure should fail the already-succeeded syscall.
Record the error for later to return from close(2) on the filemon devfs file descriptor.
Discussed with: markj, sjg, kib (briefly with kib) Reported by: mjg MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
show more ...
|
| 6d2077c2 | 21-Mar-2016 |
Bryan Drewery <[email protected]> |
Stop tracking stat(2).
None of lstat(2), fstat(2), fstatat(2) were tracked either.
The other filemon implementations also do not track stat(2), nor does bmake utilize it. The act of opening a file
Stop tracking stat(2).
None of lstat(2), fstat(2), fstatat(2) were tracked either.
The other filemon implementations also do not track stat(2), nor does bmake utilize it. The act of opening a file for read should be enough to decide that a file is a dependency. There could be rare cases where just having a file would cause a dependency but it is unlikely.
MFC after: 2 weeks Also noted by: sjg Sponsored by: EMC / Isilon Storage Division
show more ...
|