PERFORCE change 152399 for review
Peter Wemm
peter at FreeBSD.org
Mon Nov 3 00:27:24 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=152399
Change 152399 by peter at peter_overcee on 2008/11/03 08:26:46
add eaccess(2), which just turned up
Affected files ...
.. //depot/projects/valgrind/coregrind/m_syswrap/priv_syswrap-freebsd.h#10 edit
.. //depot/projects/valgrind/coregrind/m_syswrap/syswrap-freebsd.c#19 edit
Differences ...
==== //depot/projects/valgrind/coregrind/m_syswrap/priv_syswrap-freebsd.h#10 (text+ko) ====
@@ -228,6 +228,7 @@
DECL_TEMPLATE(freebsd, sys_thr_kill2);
DECL_TEMPLATE(freebsd, sys_shm_open);
DECL_TEMPLATE(freebsd, sys_shm_unlink);
+DECL_TEMPLATE(freebsd, sys_eaccess);
DECL_TEMPLATE(freebsd, sys_cpuset);
DECL_TEMPLATE(freebsd, sys_cpuset_setid);
DECL_TEMPLATE(freebsd, sys_cpuset_getid);
==== //depot/projects/valgrind/coregrind/m_syswrap/syswrap-freebsd.c#19 (text+ko) ====
@@ -2320,6 +2320,14 @@
ML_(generic_POST_sys_semctl)(tid, RES,ARG1,ARG2,ARG3,ARG4);
}
+PRE(sys_eaccess)
+{
+ PRINT("sys_eaccess ( %#lx(%s), %ld )", ARG1,(char*)ARG1,ARG2);
+ PRE_REG_READ2(long, "eaccess", const char *, pathname, int, mode);
+ PRE_MEM_RASCIIZ( "eaccess(pathname)", ARG1 );
+}
+
+
/* ---------------------------------------------------------------------
*at wrappers
------------------------------------------------------------------ */
@@ -3122,7 +3130,7 @@
// __setugid 374
// nfsclnt 375
- // eaccess 376
+ BSDX_(__NR_eaccess, sys_eaccess), // 376
// afs_syscall 377
// nmount 378
// kse_exit 379
More information about the p4-projects
mailing list