From owner-svn-src-all@FreeBSD.ORG Fri Jun 24 15:37:04 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 915E31065670; Fri, 24 Jun 2011 15:37:04 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 06E888FC1A; Fri, 24 Jun 2011 15:37:03 +0000 (UTC) Received: by qyk30 with SMTP id 30so412848qyk.13 for ; Fri, 24 Jun 2011 08:37:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=pMgsRMs8x4OzC2iji0oqvDkbIsLBYlEXDJdv9R2TlZM=; b=um37ibaQKQ571z+ZhaTn5itD4nPn6Ft/TFNQdaAF6HxFM3W77DgfeCuLNdgh15p+Wn W3prU3mWGxcPGX2tqQx1LUfM3RVkx0uSdLQnN1Y/iYLJ+IlvfOTR+4VX8yfmuG1x7FMN t3Pwg2wGU3Yo6NcZZGXq7rEzDFPjW/e9ulXAk= MIME-Version: 1.0 Received: by 10.229.118.69 with SMTP id u5mr2583752qcq.122.1308929823029; Fri, 24 Jun 2011 08:37:03 -0700 (PDT) Sender: pluknet@gmail.com Received: by 10.229.227.130 with HTTP; Fri, 24 Jun 2011 08:37:02 -0700 (PDT) In-Reply-To: <201106241440.p5OEeMER058307@svn.freebsd.org> References: <201106241440.p5OEeMER058307@svn.freebsd.org> Date: Fri, 24 Jun 2011 19:37:02 +0400 X-Google-Sender-Auth: QdfSJ7u6BmoPRlFnYfQrTX5jJqQ Message-ID: From: Sergey Kandaurov To: Jonathan Anderson Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r223505 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2011 15:37:04 -0000 On 24 June 2011 18:40, Jonathan Anderson wrote: > Author: jonathan > Date: Fri Jun 24 14:40:22 2011 > New Revision: 223505 > URL: http://svn.freebsd.org/changeset/base/223505 > > Log: > =A0Tidy up a capabilities-related comment. > > =A0This comment refers to an #ifdef that hasn't been merged [yet?]; remov= e it. > > =A0Approved by: rwatson Thanks! Can you close PR kern/148801 as well? This comment was mistakenly left after "Sweep kernel replacing suser(9) cal= ls with priv(9) calls" (svn r164033 by rwatson@) in which the exp. CAPABILITIE= S facility transformed to currently operating priv(9). After that the comment has lost its relevance. May be applied down to 7.x. > > Modified: > =A0head/sys/kern/vfs_subr.c > > Modified: head/sys/kern/vfs_subr.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/kern/vfs_subr.c =A0 =A0Fri Jun 24 14:31:30 2011 =A0 =A0 =A0 = =A0(r223504) > +++ head/sys/kern/vfs_subr.c =A0 =A0Fri Jun 24 14:40:22 2011 =A0 =A0 =A0 = =A0(r223505) > @@ -3590,9 +3590,6 @@ vn_isdisk(struct vnode *vp, int *errp) > =A0* and optional call-by-reference privused argument allowing vaccess() > =A0* to indicate to the caller whether privilege was used to satisfy the > =A0* request (obsoleted). =A0Returns 0 on success, or an errno on failure= . > - * > - * The ifdef'd CAPABILITIES version is here for reference, but is not > - * actually used. > =A0*/ > =A0int > =A0vaccess(enum vtype type, mode_t file_mode, uid_t file_uid, gid_t file_= gid, > --=20 wbr, pluknet