Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2006 10:48:06 GMT
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 107879 for review
Message-ID:  <200610141048.k9EAm6AG074093@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=107879

Change 107879 by rdivacky@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610141048.k9EAm6AG074093>