It's nice to be able to see the path and flags instead of a bunch of numbers.
Details
Details
Unpatched:
$ cat test.c #include <fcntl.h> #include <sys/mman.h> #include <sys/types.h> int main(int argc, char *argv[]) { shm_open("/test-shm-segment", O_RDWR | O_CREAT | O_EXCL, 0600); shm_unlink("/test-shm-segment"); return 0; } $ cc test.c $ truss ./a.out ... shm_open(0x2002b8,0xa02,0x180) = 3 (0x3) shm_unlink(0x2002b8) = 0 (0x0) ...
Patched:
... shm_open("/test-shm-segment",O_RDWR|O_CREAT|O_EXCL,0600) = 3 (0x3) shm_unlink("/test-shm-segment") = 0 (0x0) ...
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped