mirror of
https://git.freebsd.org/ports.git
synced 2025-05-19 18:43:13 -04:00
29 lines
721 B
Text
29 lines
721 B
Text
--- opensnoop.orig 2014-06-04 08:58:11.000000000 -0400
|
|
+++ opensnoop 2014-06-04 08:58:42.000000000 -0400
|
|
@@ -189,7 +189,7 @@
|
|
/*
|
|
* Print open event
|
|
*/
|
|
- syscall::open:entry, syscall::open64:entry
|
|
+ syscall::open:entry
|
|
{
|
|
/* save pathname */
|
|
self->pathp = arg0;
|
|
@@ -203,7 +203,7 @@
|
|
/* OPT_file is checked on return to ensure pathp is mapped */
|
|
}
|
|
|
|
- syscall::open:return, syscall::open64:return
|
|
+ syscall::open:return
|
|
/self->ok && (! OPT_failonly || (int)arg0 < 0) &&
|
|
((OPT_file == 0) || (OPT_file == 1 && PATHNAME == copyinstr(self->pathp)))/
|
|
{
|
|
@@ -235,7 +235,7 @@
|
|
/*
|
|
* Cleanup
|
|
*/
|
|
- syscall::open:return, syscall::open64:return
|
|
+ syscall::open:return
|
|
/self->ok/
|
|
{
|
|
self->pathp = 0;
|