summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2020-06-16 16:48:52 +0000
committerGordon Bergling <gbe@FreeBSD.org>2020-06-16 16:48:52 +0000
commit421f325efc94e8729baf61b5145262026e919f82 (patch)
tree8351ec5ae99ef1e189d8f5b6c67bf62c88775737
parent022ebaf5432d5a8112c7d75ab9d406176b3dfd39 (diff)
Notes
-rw-r--r--lib/libc/capability/cap_rights_init.314
-rw-r--r--lib/libc/gen/cap_rights_get.36
-rw-r--r--lib/libc/gen/cap_sandboxed.37
-rw-r--r--lib/libc/sys/cap_enter.26
-rw-r--r--lib/libc/sys/cap_fcntls_limit.28
-rw-r--r--lib/libc/sys/cap_ioctls_limit.28
-rw-r--r--lib/libc/sys/cap_rights_limit.26
-rw-r--r--lib/libcasper/libcasper/libcasper.37
-rw-r--r--lib/libcasper/libcasper/libcasper_service.37
-rw-r--r--lib/libcasper/services/cap_dns/cap_dns.37
-rw-r--r--lib/libcasper/services/cap_fileargs/cap_fileargs.37
-rw-r--r--lib/libcasper/services/cap_grp/cap_grp.37
-rw-r--r--lib/libcasper/services/cap_pwd/cap_pwd.37
-rw-r--r--lib/libcasper/services/cap_sysctl/cap_sysctl.37
-rw-r--r--lib/libcasper/services/cap_syslog/cap_syslog.37
15 files changed, 96 insertions, 15 deletions
diff --git a/lib/libc/capability/cap_rights_init.3 b/lib/libc/capability/cap_rights_init.3
index 5615de1a6804..95c62dc1636c 100644
--- a/lib/libc/capability/cap_rights_init.3
+++ b/lib/libc/capability/cap_rights_init.3
@@ -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 != ENOSYS)
.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.
diff --git a/lib/libc/gen/cap_rights_get.3 b/lib/libc/gen/cap_rights_get.3
index a665465e5339..521f3cde25c5 100644
--- a/lib/libc/gen/cap_rights_get.3
+++ b/lib/libc/gen/cap_rights_get.3
@@ -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.
diff --git a/lib/libc/gen/cap_sandboxed.3 b/lib/libc/gen/cap_sandboxed.3
index 5882ff002789..5dc5c8be6570 100644
--- a/lib/libc/gen/cap_sandboxed.3
+++ b/lib/libc/gen/cap_sandboxed.3
@@ -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
diff --git a/lib/libc/sys/cap_enter.2 b/lib/libc/sys/cap_enter.2
index 43e21100f909..7051a96266b9 100644
--- a/lib/libc/sys/cap_enter.2
+++ b/lib/libc/sys/cap_enter.2
@@ -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.
diff --git a/lib/libc/sys/cap_fcntls_limit.2 b/lib/libc/sys/cap_fcntls_limit.2
index 193d97da37eb..b09aebbe78f0 100644
--- a/lib/libc/sys/cap_fcntls_limit.2
+++ b/lib/libc/sys/cap_fcntls_limit.2
@@ -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.
diff --git a/lib/libc/sys/cap_ioctls_limit.2 b/lib/libc/sys/cap_ioctls_limit.2
index 39f117f03087..0cf5ea8ca038 100644
--- a/lib/libc/sys/cap_ioctls_limit.2
+++ b/lib/libc/sys/cap_ioctls_limit.2
@@ -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.
diff --git a/lib/libc/sys/cap_rights_limit.2 b/lib/libc/sys/cap_rights_limit.2
index 4663951e5029..37f311143a28 100644
--- a/lib/libc/sys/cap_rights_limit.2
+++ b/lib/libc/sys/cap_rights_limit.2
@@ -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 expanded.
.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.
diff --git a/lib/libcasper/libcasper/libcasper.3 b/lib/libcasper/libcasper/libcasper.3
index f386877647a0..4341579b6d25 100644
--- a/lib/libcasper/libcasper/libcasper.3
+++ b/lib/libcasper/libcasper/libcasper.3
@@ -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
diff --git a/lib/libcasper/libcasper/libcasper_service.3 b/lib/libcasper/libcasper/libcasper_service.3
index 81067ef8ed74..23efda7804da 100644
--- a/lib/libcasper/libcasper/libcasper_service.3
+++ b/lib/libcasper/libcasper/libcasper_service.3
@@ -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
diff --git a/lib/libcasper/services/cap_dns/cap_dns.3 b/lib/libcasper/services/cap_dns/cap_dns.3
index 61fd14863b2c..e36a7a90950d 100644
--- a/lib/libcasper/services/cap_dns/cap_dns.3
+++ b/lib/libcasper/services/cap_dns/cap_dns.3
@@ -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, hname);
.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
diff --git a/lib/libcasper/services/cap_fileargs/cap_fileargs.3 b/lib/libcasper/services/cap_fileargs/cap_fileargs.3
index 131b7558b1ee..b59d30b2d595 100644
--- a/lib/libcasper/services/cap_fileargs/cap_fileargs.3
+++ b/lib/libcasper/services/cap_fileargs/cap_fileargs.3
@@ -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
diff --git a/lib/libcasper/services/cap_grp/cap_grp.3 b/lib/libcasper/services/cap_grp/cap_grp.3
index 30aa621ca44e..8310500a76c5 100644
--- a/lib/libcasper/services/cap_grp/cap_grp.3
+++ b/lib/libcasper/services/cap_grp/cap_grp.3
@@ -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
diff --git a/lib/libcasper/services/cap_pwd/cap_pwd.3 b/lib/libcasper/services/cap_pwd/cap_pwd.3
index 110fa58ecdda..1b21f63e435b 100644
--- a/lib/libcasper/services/cap_pwd/cap_pwd.3
+++ b/lib/libcasper/services/cap_pwd/cap_pwd.3
@@ -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
diff --git a/lib/libcasper/services/cap_sysctl/cap_sysctl.3 b/lib/libcasper/services/cap_sysctl/cap_sysctl.3
index 55e603fc53b5..5d840796515e 100644
--- a/lib/libcasper/services/cap_sysctl/cap_sysctl.3
+++ b/lib/libcasper/services/cap_sysctl/cap_sysctl.3
@@ -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
diff --git a/lib/libcasper/services/cap_syslog/cap_syslog.3 b/lib/libcasper/services/cap_syslog/cap_syslog.3
index d29d094574aa..33ca6527204e 100644
--- a/lib/libcasper/services/cap_syslog/cap_syslog.3
+++ b/lib/libcasper/services/cap_syslog/cap_syslog.3
@@ -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 capability mode.");
.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