svn commit: r223505 - head/sys/kern

Sergey Kandaurov pluknet at freebsd.org
Fri Jun 24 15:37:04 UTC 2011


On 24 June 2011 18:40, Jonathan Anderson <jonathan at freebsd.org> wrote:
> Author: jonathan
> Date: Fri Jun 24 14:40:22 2011
> New Revision: 223505
> URL: http://svn.freebsd.org/changeset/base/223505
>
> Log:
>  Tidy up a capabilities-related comment.
>
>  This comment refers to an #ifdef that hasn't been merged [yet?]; remove it.
>
>  Approved by: rwatson

Thanks! Can you close PR kern/148801 as well?

This comment was mistakenly left after "Sweep kernel replacing suser(9) calls
with priv(9) calls" (svn r164033 by rwatson@) in which the exp. CAPABILITIES
facility transformed to currently operating priv(9).
After that the comment has lost its relevance. May be applied down to 7.x.

>
> Modified:
>  head/sys/kern/vfs_subr.c
>
> Modified: head/sys/kern/vfs_subr.c
> ==============================================================================
> --- head/sys/kern/vfs_subr.c    Fri Jun 24 14:31:30 2011        (r223504)
> +++ head/sys/kern/vfs_subr.c    Fri Jun 24 14:40:22 2011        (r223505)
> @@ -3590,9 +3590,6 @@ vn_isdisk(struct vnode *vp, int *errp)
>  * 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,
>

-- 
wbr,
pluknet


More information about the svn-src-head mailing list