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 Remove old crud which is no longer...



details:   https://anonhg.NetBSD.org/src/rev/0a42a399126d
branches:  trunk
changeset: 758222:0a42a399126d
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Oct 27 15:50:03 2010 +0000

description:
Remove old crud which is no longer used (since kern_proc).

diffstat:

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

diffs (49 lines):

diff -r 77fb917cb1c6 -r 0a42a399126d sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c  Wed Oct 27 14:41:46 2010 +0000
+++ b/sys/rump/librump/rumpkern/rump.c  Wed Oct 27 15:50:03 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump.c,v 1.189 2010/10/25 17:49:36 pooka Exp $ */
+/*     $NetBSD: rump.c,v 1.190 2010/10/27 15:50:03 pooka Exp $ */
 
 /*
  * Copyright (c) 2007 Antti Kantee.  All Rights Reserved.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.189 2010/10/25 17:49:36 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.190 2010/10/27 15:50:03 pooka Exp $");
 
 #include <sys/systm.h>
 #define ELFSIZE ARCH_ELFSIZE
@@ -84,22 +84,7 @@
 #include "rump_vfs_private.h"
 #include "rump_dev_private.h"
 
-/* is this still necessary or use kern_proc stuff? */
-struct session rump_session = {
-       .s_count = 1,
-       .s_flags = 0,
-       .s_leader = &proc0,
-       .s_login = "rumphobo",
-       .s_sid = 0,
-};
-struct pgrp rump_pgrp = {
-       .pg_members = LIST_HEAD_INITIALIZER(pg_members),
-       .pg_session = &rump_session,
-       .pg_jobc = 1,
-};
-
 char machine[] = MACHINE;
-static kauth_cred_t rump_susercred;
 
 /* pretend the master rump proc is init */
 struct proc *initproc = &proc0;
@@ -304,7 +289,6 @@
        loginit();
 
        kauth_init();
-       rump_susercred = rump_cred_create(0, 0, 0, NULL);
 
        procinit();
        proc0_init();



Home | Main Index | Thread Index | Old Index