PERFORCE change 108672 for review
Alexander Leidinger
netchild at FreeBSD.org
Sun Oct 29 17:33:42 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=108672
Change 108672 by netchild at netchild_magellan on 2006/10/29 17:32:47
style(9)
Noticed by: rwatson
Affected files ...
.. //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#20 edit
.. //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.h#2 edit
Differences ...
==== //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#20 (text+ko) ====
@@ -1567,8 +1567,8 @@
#ifdef DEBUG
if (ldebug(prctl))
- printf(ARGS(prctl, "%d, %d, %d, %d, %d"), args->option, args->arg2,
- args->arg3, args->arg4, args->arg5);
+ printf(ARGS(prctl, "%d, %d, %d, %d, %d"), args->option,
+ args->arg2, args->arg3, args->arg4, args->arg5);
#endif
switch (args->option) {
@@ -1583,7 +1583,9 @@
case LINUX_PR_GET_PDEATHSIG:
em = em_find(p, EMUL_UNLOCKED);
KASSERT(em != NULL, ("prctl: emuldata not found.\n"));
- error = copyout(&em->pdeath_signal, (void *)(register_t) args->arg2, sizeof(em->pdeath_signal));
+ error = copyout(&em->pdeath_signal,
+ (void *)(register_t) args->arg2,
+ sizeof(em->pdeath_signal));
EMUL_UNLOCK(&emul_lock);
break;
case LINUX_PR_SET_NAME:
==== //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.h#2 (text+ko) ====
@@ -29,15 +29,15 @@
*/
#ifndef _LINUX_MISC_H_
-#define _LINUX_MISC_H_
+#define _LINUX_MISC_H_
/* defines for prctl */
-#define LINUX_PR_SET_PDEATHSIG 1 /* Second arg is a signal */
-#define LINUX_PR_GET_PDEATHSIG 2 /* Second arg is a ptr to return the signal */
-#define LINUX_PR_SET_NAME 15 /* Set process name */
-#define LINUX_PR_GET_NAME 16 /* Get process name */
+#define LINUX_PR_SET_PDEATHSIG 1 /* Second arg is a signal. */
+#define LINUX_PR_GET_PDEATHSIG 2 /* Second arg is a ptr to return the signal. */
+#define LINUX_PR_SET_NAME 15 /* Set process name. */
+#define LINUX_PR_GET_NAME 16 /* Get process name. */
-#define LINUX_MAX_COMM_LEN 16 /* max length of the proc name */
+#define LINUX_MAX_COMM_LEN 16 /* Maximum length of the process name. */
#endif /* _LINUX_MISC_H_ */
More information about the p4-projects
mailing list