Module Name: src
Committed By: pooka
Date: Fri Apr 17 13:02:54 UTC 2015
Modified Files:
src/sys/rump/librump/rumpkern: rump.c
Log Message:
set the local clients' comm to "rumplocal" instead of "system"
To generate a diff of this commit:
cvs rdiff -u -r1.317 -r1.318 src/sys/rump/librump/rumpkern/rump.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/rump/librump/rumpkern/rump.c
diff -u src/sys/rump/librump/rumpkern/rump.c:1.317 src/sys/rump/librump/rumpkern/rump.c:1.318
--- src/sys/rump/librump/rumpkern/rump.c:1.317 Mon Apr 13 16:46:33 2015
+++ src/sys/rump/librump/rumpkern/rump.c Fri Apr 17 13:02:54 2015
@@ -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 @@ rump_init(void)
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);