Date: Tue, 20 Jul 2010 19:52:17 GMT From: pluknet <pluknet@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/148801: [patch] obsolete CAPABILITIES comment after suser(9) -> priv(9) Message-ID: <201007201952.o6KJqHCd050224@www.freebsd.org> Resent-Message-ID: <201007202000.o6KK03Hf074500@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 148801 >Category: kern >Synopsis: [patch] obsolete CAPABILITIES comment after suser(9) -> priv(9) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 20 20:00:03 UTC 2010 >Closed-Date: >Last-Modified: >Originator: pluknet >Release: HEAD r209989 >Organization: >Environment: >Description: This comment was left after "Sweep kernel replacing suser(9) calls with priv(9) calls" (svn r164033 by rwatson@) in which the exp. CAPABILITIES facility was moved to current operating priv(9). After that the comment has lost its relevance. May be applied down to 7.x. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: sys/kern/vfs_subr.c =================================================================== --- sys/kern/vfs_subr.c (revision 209989) +++ sys/kern/vfs_subr.c (working copy) @@ -3515,9 +3515,6 @@ * and optional call-by-reference privused argument allowing vaccess() * to indicate to the caller whether privilege was used to satisfy the * request (obsoleted). Returns 0 on success, or an errno on failure. - * - * The ifdef'd CAPABILITIES version is here for reference, but is not - * actually used. */ int vaccess(enum vtype type, mode_t file_mode, uid_t file_uid, gid_t file_gid, >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007201952.o6KJqHCd050224>