From owner-p4-projects@FreeBSD.ORG Thu Aug 21 19:17:39 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 2E04C1065676; Thu, 21 Aug 2008 19:17:39 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3FD7106566C for ; Thu, 21 Aug 2008 19:17:38 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CE80B8FC14 for ; Thu, 21 Aug 2008 19:17:38 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m7LJHcOt092115 for ; Thu, 21 Aug 2008 19:17:38 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m7LJHcwY092113 for perforce@freebsd.org; Thu, 21 Aug 2008 19:17:38 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Thu, 21 Aug 2008 19:17:38 GMT Message-Id: <200808211917.m7LJHcwY092113@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Cc: Subject: PERFORCE change 148029 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2008 19:17:39 -0000 http://perforce.freebsd.org/chv.cgi?CH=148029 Change 148029 by rwatson@rwatson_freebsd_capabilities on 2008/08/21 19:17:29 Fix and update description of CAP_LSEEK. Remove now-unnecessary description of CAP_GETDIRENTRIES. Affected files ... .. //depot/projects/trustedbsd/capabilities/src/lib/libc/sys/cap_new.2#2 edit Differences ... ==== //depot/projects/trustedbsd/capabilities/src/lib/libc/sys/cap_new.2#2 (text+ko) ==== @@ -126,7 +126,11 @@ is also required. .It Dv CAP_SEEK Permit operations that seek on the file descriptor, such as -.Pr lseek . +.Xr lseek 2 , +but also required for I/O system calls that modify the file offset, such as +.Xr read 2 +and +.Xr write 2 . .It Dv CAP_GETPEERNAME Permit .Xr getpeername 2 . @@ -182,14 +186,6 @@ Permit .Xr flock 2 and related calls. -.It Dv CAP_GETDIRENTRIES -Permit -.Xr getdents , -.Xr getdireentries , -and related calls. -Note that -.Dv CAP_READ -may also be relevant in controlling these rights. .It Dv CAP_FSTATFS Permit .Xr fstatfs 2 .