PERFORCE change 107879 for review
Roman Divacky
rdivacky at FreeBSD.org
Sat Oct 14 03:48:11 PDT 2006
http://perforce.freebsd.org/chv.cgi?CH=107879
Change 107879 by rdivacky at rdivacky_witten on 2006/10/14 10:47:13
Implement debuging for linux_prctl.
Affected files ...
.. //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#10 edit
Differences ...
==== //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#10 (text+ko) ====
@@ -1554,6 +1554,12 @@
int error = 0;
struct proc *p = td->td_proc;
char comm[LINUX_MAX_COMM_LEN];
+
+#ifdef DEBUG
+ if (ldebug(prctl))
+ printf(ARGS(prctl, "%d, %d, %d, %d, %d"), args->option, args->arg2,
+ args->arg3, args->arg4, args->arg5);
+#endif
switch (args->option) {
case LINUX_PR_SET_PDEATHSIG:
More information about the p4-projects
mailing list