Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2003 19:44:40 +0000 (UTC)
From:      "Bjoern A.Zeeb" <bzeeb+freebsd@zabbadoz.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        bzeeb+freebsd@zabbadoz.net
Subject:   kern/49083: typo and unused macro in head
Message-ID:  <20030310194440.0158A1535F@mail.int.zabbadoz.net>

next in thread | raw e-mail | index | archive | help

>Number:         49083
>Category:       kern
>Synopsis:       typo and unused macro in head
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 10 12:00:32 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Bjoern A. Zeeb
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Zabbadoz.NeT
>Environment:
System: FreeBSD e0-0.zab2.int.zabbadoz.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Dec 27 22:08:07 UTC 2002 bz@e0-0.zab2.int.zabbadoz.net:/export/src/src/obj/export/src/src/RELENG_4/src/sys/ZAB2-2002122701 i386


>Description:

	in HEAD:

	No manual entry for jail in section 4

	unused MACRO

	
>How-To-Repeat:
>Fix:

	for HEAD

--- ./sys/sys/ucred.h.orig	Mon Feb  3 12:48:31 2003
+++ ./sys/sys/ucred.h	Mon Feb  3 12:49:48 2003
@@ -58,7 +58,7 @@
 	gid_t	cr_svgid;		/* saved user id */
 	struct uidinfo	*cr_uidinfo;	/* per euid resource consumption */
 	struct uidinfo	*cr_ruidinfo;	/* per ruid resource consumption */
-	struct prison	*cr_prison;	/* jail(4) */
+	struct prison	*cr_prison;	/* jail(2) */
 #define	cr_endcopy	cr_label
 	struct label	cr_label;	/* MAC label */
 	struct mtx	*cr_mtxp;      	/* protect refcount */
--- ./sys/sys/proc.h.orig	Mon Feb  3 13:21:09 2003
+++ ./sys/sys/proc.h	Mon Feb  3 13:22:40 2003
@@ -731,10 +731,6 @@
 	    : 0);
 }
 
-/* Handy macro to determine if p1 can mangle p2. */
-#define	PRISON_CHECK(p1, p2) \
-	((p1)->p_prison == NULL || (p1)->p_prison == (p2)->p_prison)
-
 /*
  * We use process IDs <= PID_MAX; PID_MAX + 1 must also fit in a pid_t,
  * as it is used to represent "no process group".
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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