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...

Gordon Bergling gbe at FreeBSD.org
Tue Jun 16 16:48:56 UTC 2020


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 at 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 at FreeBSD.org


More information about the svn-src-all mailing list