Page MenuHomeFreeBSD

D42919.id.diff
No OneTemporary

D42919.id.diff

diff --git a/lib/libcasper/services/cap_net/cap_net.3 b/lib/libcasper/services/cap_net/cap_net.3
--- a/lib/libcasper/services/cap_net/cap_net.3
+++ b/lib/libcasper/services/cap_net/cap_net.3
@@ -21,7 +21,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd November 15, 2021
+.Dd December 5, 2023
.Dt CAP_NET 3
.Os
.Sh NAME
@@ -188,17 +188,14 @@
.Fn cap_connect
function.
.Pp
+The
.Fn cap_net_limit
-applies a set of sysctl limits to the capability, denying access to sysctl
-variables not belonging to the set.
+will consume and apply the limits.
.Pp
Once a set of limits is applied, subsequent calls to
.Fn cap_net_limit
will fail unless the new set is a subset of the current set.
.Pp
-The
-.Fn cap_net_limit
-will consume the limits.
If the
.Fn cap_net_limit
was not called the rights may be freed using

File Metadata

Mime Type
text/plain
Expires
Mon, Apr 27, 9:01 PM (9 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32239560
Default Alt Text
D42919.id.diff (880 B)

Event Timeline