From owner-cvs-all Sun May 6 9:15:48 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7FC0C37B423; Sun, 6 May 2001 09:15:43 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Received: (from rwatson@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f46GFhj40282; Sun, 6 May 2001 09:15:43 -0700 (PDT) (envelope-from rwatson) Message-Id: <200105061615.f46GFhj40282@freefall.freebsd.org> From: Robert Watson Date: Sun, 6 May 2001 09:15:43 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/posix4 p1003_1b.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG rwatson 2001/05/06 09:15:43 PDT Modified files: sys/posix4 p1003_1b.c Log: o First step in cleaning up authorization code for the posix4 implementation. Move from direct uid 0 comparision to using suser_xxx() call with the same semantics. Simplify CAN_AFFECT() macro as passed pcred was redundant. The checks here still aren't "right", but they are probably "better". Obtained from: TrustedBSD Project Revision Changes Path 1.9 +9 -9 src/sys/posix4/p1003_1b.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message