From owner-svn-src-all@freebsd.org Tue Jun 16 16:48:56 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 56B0D3438E9; Tue, 16 Jun 2020 16:48:56 +0000 (UTC) (envelope-from gbe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49mZ0S1fl1z4LxF; Tue, 16 Jun 2020 16:48:56 +0000 (UTC) (envelope-from gbe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 340C612588; Tue, 16 Jun 2020 16:48:56 +0000 (UTC) (envelope-from gbe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 05GGmufd016358; Tue, 16 Jun 2020 16:48:56 GMT (envelope-from gbe@FreeBSD.org) Received: (from gbe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 05GGmrsR016342; Tue, 16 Jun 2020 16:48:53 GMT (envelope-from gbe@FreeBSD.org) Message-Id: <202006161648.05GGmrsR016342@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gbe set sender to gbe@FreeBSD.org using -f From: Gordon Bergling Date: Tue, 16 Jun 2020 16:48:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r362230 - in head/lib: libc/capability libc/gen libc/sys libcasper/libcasper libcasper/services/cap_dns libcasper/services/cap_fileargs libcasper/services/cap_grp libcasper/services/cap... X-SVN-Group: head X-SVN-Commit-Author: gbe X-SVN-Commit-Paths: in head/lib: libc/capability libc/gen libc/sys libcasper/libcasper libcasper/services/cap_dns libcasper/services/cap_fileargs libcasper/services/cap_grp libcasper/services/cap_pwd libcasper/services/c... X-SVN-Commit-Revision: 362230 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 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: Tue, 16 Jun 2020 16:48:56 -0000 Author: gbe (doc committer) Date: Tue Jun 16 16:48:52 2020 New Revision: 362230 URL: https://svnweb.freebsd.org/changeset/base/362230 Log: libcasper(3): Document HISTORY within the manpages Reviewed by: bcr (mentor) Approved by: bcr (mentor) MFC after: 7 days Differential Revision: https://reviews.freebsd.org/D24695 Modified: head/lib/libc/capability/cap_rights_init.3 head/lib/libc/gen/cap_rights_get.3 head/lib/libc/gen/cap_sandboxed.3 head/lib/libc/sys/cap_enter.2 head/lib/libc/sys/cap_fcntls_limit.2 head/lib/libc/sys/cap_ioctls_limit.2 head/lib/libc/sys/cap_rights_limit.2 head/lib/libcasper/libcasper/libcasper.3 head/lib/libcasper/libcasper/libcasper_service.3 head/lib/libcasper/services/cap_dns/cap_dns.3 head/lib/libcasper/services/cap_fileargs/cap_fileargs.3 head/lib/libcasper/services/cap_grp/cap_grp.3 head/lib/libcasper/services/cap_pwd/cap_pwd.3 head/lib/libcasper/services/cap_sysctl/cap_sysctl.3 head/lib/libcasper/services/cap_syslog/cap_syslog.3 Modified: head/lib/libc/capability/cap_rights_init.3 ============================================================================== --- head/lib/libc/capability/cap_rights_init.3 Tue Jun 16 15:54:59 2020 (r362229) +++ head/lib/libc/capability/cap_rights_init.3 Tue Jun 16 16:48:52 2020 (r362230) @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 27, 2014 +.Dd May 5, 2020 .Dt CAP_RIGHTS_INIT 3 .Os .Sh NAME @@ -232,6 +232,18 @@ if (cap_rights_limit(fd, &rights) < 0 && errno != ENOS .Xr capsicum 4 , .Xr rights 4 .Sh HISTORY +The functions +.Fn cap_rights_init , +.Fn cap_rights_set , +.Fn cap_rights_clear , +.Fn cap_rights_is_set , +.Fn cap_rights_is_valid , +.Fn cap_rights_merge , +.Fn cap_rights_remove +and +.Fn cap_rights_contains +first appeared in +.Fx 8.3 . Support for capabilities and capabilities mode was developed as part of the .Tn TrustedBSD Project. Modified: head/lib/libc/gen/cap_rights_get.3 ============================================================================== --- head/lib/libc/gen/cap_rights_get.3 Tue Jun 16 15:54:59 2020 (r362229) +++ head/lib/libc/gen/cap_rights_get.3 Tue Jun 16 16:48:52 2020 (r362230) @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 27, 2014 +.Dd May 5, 2020 .Dt CAP_RIGHTS_GET 3 .Os .Sh NAME @@ -110,6 +110,10 @@ argument points at an invalid address. .Xr capsicum 4 , .Xr rights 4 .Sh HISTORY +The +.Fn cap_rights_get +function first appeared in +.Fx 9.2 . Support for capabilities and capabilities mode was developed as part of the .Tn TrustedBSD Project. Modified: head/lib/libc/gen/cap_sandboxed.3 ============================================================================== --- head/lib/libc/gen/cap_sandboxed.3 Tue Jun 16 15:54:59 2020 (r362229) +++ head/lib/libc/gen/cap_sandboxed.3 Tue Jun 16 16:48:52 2020 (r362230) @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 27, 2014 +.Dd May 5, 2020 .Dt CAP_SANDBOXED 3 .Os .Sh NAME @@ -65,6 +65,11 @@ or .Sh SEE ALSO .Xr cap_enter 2 , .Xr capsicum 4 +.Sh HISTORY +The +.Fn cap_sandboxed +function first appeared in +.Fx 9.2 . .Sh AUTHORS This function was implemented and manual page was written by .An Pawel Jakub Dawidek Aq Mt pawel@dawidek.net Modified: head/lib/libc/sys/cap_enter.2 ============================================================================== --- head/lib/libc/sys/cap_enter.2 Tue Jun 16 15:54:59 2020 (r362229) +++ head/lib/libc/sys/cap_enter.2 Tue Jun 16 16:48:52 2020 (r362230) @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 23, 2017 +.Dd May 5, 2020 .Dt CAP_ENTER 2 .Os .Sh NAME @@ -150,6 +150,10 @@ points outside the process's allocated address space. .Xr capsicum 4 , .Xr sysctl 9 .Sh HISTORY +The +.Fn cap_getmode +system call first appeared in +.Fx 8.3 . Support for capabilities and capabilities mode was developed as part of the .Tn TrustedBSD Project. Modified: head/lib/libc/sys/cap_fcntls_limit.2 ============================================================================== --- head/lib/libc/sys/cap_fcntls_limit.2 Tue Jun 16 15:54:59 2020 (r362229) +++ head/lib/libc/sys/cap_fcntls_limit.2 Tue Jun 16 16:48:52 2020 (r362230) @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 27, 2014 +.Dd May 5, 2020 .Dt CAP_FCNTLS_LIMIT 2 .Os .Sh NAME @@ -117,6 +117,12 @@ argument points at an invalid address. .Xr cap_rights_limit 2 , .Xr fcntl 2 .Sh HISTORY +The +.Fn cap_fcntls_get +and +.Fn cap_fcntls_limit +system calls first appeared in +.Fx 8.3 . Support for capabilities and capabilities mode was developed as part of the .Tn TrustedBSD Project. Modified: head/lib/libc/sys/cap_ioctls_limit.2 ============================================================================== --- head/lib/libc/sys/cap_ioctls_limit.2 Tue Jun 16 15:54:59 2020 (r362229) +++ head/lib/libc/sys/cap_ioctls_limit.2 Tue Jun 16 16:48:52 2020 (r362230) @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 6, 2015 +.Dd May 5, 2020 .Dt CAP_IOCTLS_LIMIT 2 .Os .Sh NAME @@ -150,6 +150,12 @@ argument points at invalid address. .Xr cap_rights_limit 2 , .Xr ioctl 2 .Sh HISTORY +The +.Fn cap_ioctls_get +and +.Fn cap_ioctls_limit +system calls first appeared in +.Fx 8.3 . Support for capabilities and capabilities mode was developed as part of the .Tn TrustedBSD Project. Modified: head/lib/libc/sys/cap_rights_limit.2 ============================================================================== --- head/lib/libc/sys/cap_rights_limit.2 Tue Jun 16 15:54:59 2020 (r362229) +++ head/lib/libc/sys/cap_rights_limit.2 Tue Jun 16 16:48:52 2020 (r362230) @@ -32,7 +32,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 27, 2014 +.Dd May 5, 2020 .Dt CAP_RIGHTS_LIMIT 2 .Os .Sh NAME @@ -148,6 +148,10 @@ Capability rights list can only be reduced, never expa .Xr capsicum 4 , .Xr rights 4 .Sh HISTORY +The +.Fn cap_rights_limit +function first appeared in +.Fx 8.3 . Support for capabilities and capabilities mode was developed as part of the .Tn TrustedBSD Project. Modified: head/lib/libcasper/libcasper/libcasper.3 ============================================================================== --- head/lib/libcasper/libcasper/libcasper.3 Tue Jun 16 15:54:59 2020 (r362229) +++ head/lib/libcasper/libcasper/libcasper.3 Tue Jun 16 16:48:52 2020 (r362230) @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 29, 2019 +.Dd May 5, 2020 .Dt LIBCASPER 3 .Os .Sh NAME @@ -267,6 +267,11 @@ functions always succeed. .Xr capsicum 4 , .Xr unix 4 , .Xr nv 9 +.Sh HISTORY +The +.Nm libcasper +library first appeared in +.Fx 10.3 . .Sh AUTHORS The .Nm libcasper Modified: head/lib/libcasper/libcasper/libcasper_service.3 ============================================================================== --- head/lib/libcasper/libcasper/libcasper_service.3 Tue Jun 16 15:54:59 2020 (r362229) +++ head/lib/libcasper/libcasper/libcasper_service.3 Tue Jun 16 16:48:52 2020 (r362230) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 23, 2018 +.Dd May 5, 2020 .Dt LIBCASPER 3 .Os .Sh NAME @@ -103,6 +103,11 @@ flag. .Xr libcasper 3 , .Xr capsicum 4 , .Xr nv 9 +.Sh HISTORY +The +.Nm libcasper +library first appeared in +.Fx 10.3 . .Sh AUTHORS The .Nm libcasper Modified: head/lib/libcasper/services/cap_dns/cap_dns.3 ============================================================================== --- head/lib/libcasper/services/cap_dns/cap_dns.3 Tue Jun 16 15:54:59 2020 (r362229) +++ head/lib/libcasper/services/cap_dns/cap_dns.3 Tue Jun 16 16:48:52 2020 (r362230) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 18, 2020 +.Dd May 5, 2020 .Dt CAP_DNS 3 .Os .Sh NAME @@ -223,6 +223,11 @@ printf("Name associated with %s is %s.\\n", ipstr, hna .Xr getnameinfo 3 , .Xr capsicum 4 , .Xr nv 9 +.Sh HISTORY +The +.Nm cap_dns +service first appeared in +.Fx 10.3 . .Sh AUTHORS The .Nm cap_dns Modified: head/lib/libcasper/services/cap_fileargs/cap_fileargs.3 ============================================================================== --- head/lib/libcasper/services/cap_fileargs/cap_fileargs.3 Tue Jun 16 15:54:59 2020 (r362229) +++ head/lib/libcasper/services/cap_fileargs/cap_fileargs.3 Tue Jun 16 16:48:52 2020 (r362230) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 17, 2019 +.Dd May 5, 2020 .Dt CAP_FILEARGS 3 .Os .Sh NAME @@ -263,6 +263,11 @@ fileargs_free(fa); .Xr getopt 3 , .Xr capsicum 4 , .Xr nv 9 +.Sh HISTORY +The +.Nm cap_fileargs +service first appeared in +.Fx 10.3 . .Sh BUGS The .Lb cap_fileargs Modified: head/lib/libcasper/services/cap_grp/cap_grp.3 ============================================================================== --- head/lib/libcasper/services/cap_grp/cap_grp.3 Tue Jun 16 15:54:59 2020 (r362229) +++ head/lib/libcasper/services/cap_grp/cap_grp.3 Tue Jun 16 16:48:52 2020 (r362230) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 18, 2018 +.Dd May 5, 2020 .Dt CAP_GRP 3 .Os .Sh NAME @@ -217,6 +217,11 @@ cap_close(capgrp); .Xr setgroupent 3 , .Xr capsicum 4 , .Xr nv 9 +.Sh HISTORY +The +.Nm cap_grp +service first appeared in +.Fx 10.3 . .Sh AUTHORS The .Nm cap_grp Modified: head/lib/libcasper/services/cap_pwd/cap_pwd.3 ============================================================================== --- head/lib/libcasper/services/cap_pwd/cap_pwd.3 Tue Jun 16 15:54:59 2020 (r362229) +++ head/lib/libcasper/services/cap_pwd/cap_pwd.3 Tue Jun 16 16:48:52 2020 (r362230) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 20, 2018 +.Dd May 5, 2020 .Dt CAP_PWD 3 .Os .Sh NAME @@ -223,6 +223,11 @@ cap_close(cappwd); .Xr setpwent 3 , .Xr capsicum 4 , .Xr nv 9 +.Sh HISTORY +The +.Nm cap_pwd +service first appeared in +.Fx 10.3 . .Sh AUTHORS The .Nm cap_pwd Modified: head/lib/libcasper/services/cap_sysctl/cap_sysctl.3 ============================================================================== --- head/lib/libcasper/services/cap_sysctl/cap_sysctl.3 Tue Jun 16 15:54:59 2020 (r362229) +++ head/lib/libcasper/services/cap_sysctl/cap_sysctl.3 Tue Jun 16 16:48:52 2020 (r362230) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 6, 2020 +.Dd May 5, 2020 .Dt CAP_SYSCTL 3 .Os .Sh NAME @@ -175,6 +175,11 @@ cap_close(capsysctl); .Xr sysctlnametomib 3 , .Xr capsicum 4 , .Xr nv 9 +.Sh HISTORY +The +.Nm cap_sysctl +service first appeared in +.Fx 10.3 . .Sh AUTHORS The .Nm cap_sysctl Modified: head/lib/libcasper/services/cap_syslog/cap_syslog.3 ============================================================================== --- head/lib/libcasper/services/cap_syslog/cap_syslog.3 Tue Jun 16 15:54:59 2020 (r362229) +++ head/lib/libcasper/services/cap_syslog/cap_syslog.3 Tue Jun 16 16:48:52 2020 (r362230) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 27, 2018 +.Dd May 5, 2020 .Dt CAP_SYSLOG 3 .Os .Sh NAME @@ -103,5 +103,10 @@ cap_syslog(capsyslog, LOG_NOTICE, "System logs from ca .Xr vsyslog 3 , .Xr capsicum 4 , .Xr nv 9 +.Sh HISTORY +The +.Nm cap_syslog +service first appeared in +.Fx 10.3 . .Sh AUTHORS .An Mariusz Zaborski Aq Mt oshogbo@FreeBSD.org