cap_net: fix typos

This commit is contained in:
Mariusz Zaborski
2026-05-13 21:56:09 +02:00
parent 4569c022db
commit efc1f50ec4
+3 -3
View File
@@ -21,7 +21,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd December 6, 2023
.Dd May 13, 2026
.Dt CAP_NET 3
.Os
.Sh NAME
@@ -217,7 +217,7 @@ Multiple calls to
.Fn cap_net_limit_connect ,
and
.Fn cap_net_limit_bind
is supported, each call is extending preview capabilities.
is supported, each call is extending previous capabilities.
.Sh EXAMPLES
The following example first opens a capability to casper and then uses this
capability to create the
@@ -250,7 +250,7 @@ if (capnet == NULL)
/* Close Casper capability. */
cap_close(capcas);
/* Limit system.net to reserve IPv4 addresses, to host example.com . */
/* Limit system.net to resolve IPv4 addresses, to host example.com . */
limit = cap_net_limit_init(capnet, CAPNET_NAME2ADDR | CAPNET_CONNECTDNS);
if (limit == NULL)
err(1, "Unable to create limits.");