Date: Mon, 3 Nov 2008 08:27:23 GMT From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 152399 for review Message-ID: <200811030827.mA38RNph024463@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=152399 Change 152399 by peter@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811030827.mA38RNph024463>