From owner-cvs-all Fri Oct 13 10:13: 2 2000 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 6877537B670; Fri, 13 Oct 2000 10:12:59 -0700 (PDT) Received: (from rwatson@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA23766; Fri, 13 Oct 2000 10:12:59 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Message-Id: <200010131712.KAA23766@freefall.freebsd.org> From: Robert Watson Date: Fri, 13 Oct 2000 10:12:59 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_cap.c src/sys/sys capability.h src/lib/libposix1e cap_get_flag.c cap_set_flag.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG rwatson 2000/10/13 10:12:59 PDT Modified files: sys/kern kern_cap.c sys/sys capability.h lib/libposix1e cap_get_flag.c cap_set_flag.c Log: o Simplify capability types away from an array of ints to a single u_int64_t flag field, bounding the number of capabilities at 64, but substantially cleaning up capability logic (there are currently 43 defined capabilities). o Heads up to anyone actually using capabilities: the constant assignments for various capabilities have been redone, so any persistent binary capability stores (i.e., '$posix1e.cap' EA backing files) must be recreated. If you have one of these, you'll know about it, so if you have no idea what this means, don't worry. o Update libposix1e to reflect this new definition, fixing the exposed functions that directly manipulate the flags fields. Obtained from: TrustedBSD Project Revision Changes Path 1.4 +9 -2 src/sys/kern/kern_cap.c 1.4 +82 -74 src/sys/sys/capability.h 1.2 +2 -3 src/lib/libposix1e/cap_get_flag.c 1.3 +10 -7 src/lib/libposix1e/cap_set_flag.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message