diff options
author | barner <barner@FreeBSD.org> | 2005-10-20 18:41:03 +0800 |
---|---|---|
committer | barner <barner@FreeBSD.org> | 2005-10-20 18:41:03 +0800 |
commit | e7546f44b7038f6ccb3b6e538137f032b0a33ffc (patch) | |
tree | 336540311e88ff456d9a23c491d73659911f5c15 /devel/valgrind-snapshot | |
parent | 53cbc8440f7ae278cdb7b24316ff8257ff7e5ef6 (diff) | |
download | freebsd-ports-gnome-e7546f44b7038f6ccb3b6e538137f032b0a33ffc.tar.gz freebsd-ports-gnome-e7546f44b7038f6ccb3b6e538137f032b0a33ffc.tar.zst freebsd-ports-gnome-e7546f44b7038f6ccb3b6e538137f032b0a33ffc.zip |
- Add support for uuidgen(2) system call
- Bump PORTREVISION
Submitted by: rodrigc
PR: ports/87697
Diffstat (limited to 'devel/valgrind-snapshot')
-rw-r--r-- | devel/valgrind-snapshot/Makefile | 2 | ||||
-rw-r--r-- | devel/valgrind-snapshot/files/patch-coregrind_vg_syscalls.c | 36 |
2 files changed, 35 insertions, 3 deletions
diff --git a/devel/valgrind-snapshot/Makefile b/devel/valgrind-snapshot/Makefile index 0c4c79ecf686..f66fce9409a7 100644 --- a/devel/valgrind-snapshot/Makefile +++ b/devel/valgrind-snapshot/Makefile @@ -7,7 +7,7 @@ PORTNAME= valgrind PORTVERSION= 352 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel MASTER_SITES= http://www.rabson.org/ PKGNAMESUFFIX= -snapshot diff --git a/devel/valgrind-snapshot/files/patch-coregrind_vg_syscalls.c b/devel/valgrind-snapshot/files/patch-coregrind_vg_syscalls.c index f18c56469461..2483c6da1e53 100644 --- a/devel/valgrind-snapshot/files/patch-coregrind_vg_syscalls.c +++ b/devel/valgrind-snapshot/files/patch-coregrind_vg_syscalls.c @@ -1,5 +1,5 @@ ---- coregrind/vg_syscalls.c.orig Fri Jul 16 19:21:08 2004 -+++ coregrind/vg_syscalls.c Wed Sep 14 22:13:44 2005 +--- coregrind/vg_syscalls.c.orig Thu Oct 20 12:23:18 2005 ++++ coregrind/vg_syscalls.c Thu Oct 20 12:24:04 2005 @@ -1369,6 +1369,38 @@ &tst->m_eflags, arg1, arg2); @@ -54,3 +54,35 @@ default: VG_(core_panic)("Unhandled sysarch call"); } +@@ -1574,6 +1614,21 @@ + VG_TRACK( post_mem_write, arg1, arg2 ); + } + ++#if __FreeBSD__ >= 5 ++PRE(uuidgen) ++{ ++ /* int uuidgen(struct uuid *store, int count); */ ++ MAYBE_PRINTF("uuidgen ( %p, %d )\n", arg1, arg2); ++ SYSCALL_TRACK( pre_mem_write, tid, "uuidgen(store, count)", arg1, arg2); ++} ++ ++POST(uuidgen) ++{ ++ VG_TRACK( post_mem_write, arg1, arg2 ); ++} ++ ++#endif ++ + #endif + + PRE(setresgid) +@@ -6827,6 +6882,9 @@ + SYSBA(kldstat, False), + SYSB_(kldfirstmod, False), + SYSBA(__getcwd, False), ++#if __FreeBSD__ >= 5 ++ SYSBA(uuidgen, False), ++#endif + }; + #define MAX_SYS_INFO (sizeof(sys_info)/sizeof(sys_info[0])) + |