Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/librump/rumpkern set the local clients' comm to "ru...



details:   https://anonhg.NetBSD.org/src/rev/e0a321a224df
branches:  trunk
changeset: 807642:e0a321a224df
user:      pooka <pooka%NetBSD.org@localhost>
date:      Fri Apr 17 13:02:54 2015 +0000

description:
set the local clients' comm to "rumplocal" instead of "system"

diffstat:

 sys/rump/librump/rumpkern/rump.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 9d657354cc23 -r e0a321a224df sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c  Fri Apr 17 12:51:05 2015 +0000
+++ b/sys/rump/librump/rumpkern/rump.c  Fri Apr 17 13:02:54 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump.c,v 1.317 2015/04/13 16:46:33 riastradh Exp $     */
+/*     $NetBSD: rump.c,v 1.318 2015/04/17 13:02:54 pooka Exp $ */
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.317 2015/04/13 16:46:33 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.318 2015/04/17 13:02:54 pooka Exp $");
 
 #include <sys/systm.h>
 #define ELFSIZE ARCH_ELFSIZE
@@ -492,6 +492,7 @@
        mutex_exit(proc_lock);
        if (initproc == NULL)
                panic("where in the world is initproc?");
+       strlcpy(initproc->p_comm, "rumplocal", sizeof(initproc->p_comm));
 
        rump_component_init(RUMP_COMPONENT_POSTINIT);
 



Home | Main Index | Thread Index | Old Index