1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- Add support for uuidgen(2) system call

- Bump PORTREVISION

Submitted by:	rodrigc
PR:		ports/87697
This commit is contained in:
Simon Barner 2005-10-20 10:41:03 +00:00
parent c35155cde2
commit 3dc959b3ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=145926
4 changed files with 72 additions and 8 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= valgrind
PORTVERSION= 352
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= devel
MASTER_SITES= http://www.rabson.org/
PKGNAMESUFFIX= -snapshot

View File

@ -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]))

View File

@ -7,7 +7,7 @@
PORTNAME= valgrind
PORTVERSION= 352
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= devel
MASTER_SITES= http://www.rabson.org/
DISTNAME= ${PORTNAME}-stable-${PORTVERSION}

View File

@ -1,6 +1,6 @@
--- coregrind/vg_syscalls.c.orig Fri Jul 16 19:21:08 2004
+++ coregrind/vg_syscalls.c Wed Sep 14 22:13:44 2005
@@ -1369,6 +1369,38 @@
--- coregrind/vg_syscalls.c.orig Thu Oct 20 12:27:19 2005
+++ coregrind/vg_syscalls.c Thu Oct 20 12:28:49 2005
@@ -1284,6 +1284,38 @@
&tst->m_eflags,
arg1, arg2);
break;
@ -39,7 +39,7 @@
default:
VG_(core_panic)("Unhandled sysarch call");
}
@@ -1392,6 +1424,14 @@
@@ -1307,6 +1339,14 @@
break;
case 6: /* vm86 */
break;
@ -54,3 +54,35 @@
default:
VG_(core_panic)("Unhandled sysarch call");
}
@@ -1489,6 +1529,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)
@@ -6498,6 +6553,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]))