Index: lib/libc/sys/rctl_add_rule.2 =================================================================== --- lib/libc/sys/rctl_add_rule.2 +++ lib/libc/sys/rctl_add_rule.2 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd September 12, 2016 +.Dd September 14, 2016 .Dt RCTL_ADD_RULE 2 .Os .Sh NAME @@ -39,15 +39,25 @@ .Sh SYNOPSIS .In sys/rctl.h .Ft int -.Fn rctl_add_rule "const char *inbufp" "size_t inbuflen" "char *outbufp" "size_t outbuflen" +.Fo rctl_add_rule +.Fa "const char *inbufp" "size_t inbuflen" "char *outbufp" "size_t outbuflen" +.Fc .Ft int -.Fn rctl_get_limits "const char *inbufp" "size_t inbuflen" "char *outbufp" "size_t outbuflen" +.Fo rctl_get_limits +.Fa "const char *inbufp" "size_t inbuflen" "char *outbufp" "size_t outbuflen" +.Fc .Ft int -.Fn rctl_get_racct "const char *inbufp" "size_t inbuflen" "char *outbufp" "size_t outbuflen" +.Fo rctl_get_racct +.Fa "const char *inbufp" "size_t inbuflen" "char *outbufp" "size_t outbuflen" +.Fc .Ft int -.Fn rctl_get_rules "const char *inbufp" "size_t inbuflen" "char *outbufp" "size_t outbuflen" +.Fo rctl_get_rules +.Fa "const char *inbufp" "size_t inbuflen" "char *outbufp" "size_t outbuflen" +.Fc .Ft int -.Fn rctl_remove_rule "const char *inbufp" "size_t inbuflen" "char *outbufp" "size_t outbuflen" +.Fo rctl_remove_rule +.Fa "const char *inbufp" "size_t inbuflen" "char *outbufp" "size_t outbuflen" +.Fc .Sh DESCRIPTION These system calls are used to manipulate and query the resource limits database. For all functions, @@ -71,7 +81,7 @@ arguments are unused. Rule format is as described in .Xr rctl 8 , -excepting differences noted in the +with exceptions noted in the .Sx RULES AND FILTERS section. .Pp @@ -79,7 +89,7 @@ .Fn rctl_get_limits function returns in .Fa outbufp -a comma separated list of rules that apply to the process that +a comma-separated list of rules that apply to the process that matches the filter specified in .Fa inbufp . This includes rules with a subject of the process itself as well as rules @@ -93,10 +103,10 @@ .Fa inbufp . Filter syntax is as described in .Xr rctl 8 , -excepting differences noted in the +with exceptions noted in the .Sx RULES AND FILTERS section. -A comma separated list of resources and the amount used of each by the +A comma-separated list of resources and the amount used of each by the specified subject is returned in .Fa outbufp . The resource and amount is formatted as @@ -106,12 +116,12 @@ .Fn rctl_get_rules function returns in .Fa outbufp -a comma separated list of rules from the resource limits database that +a comma-separated list of rules from the resource limits database that match the filter passed in .Fa inbufp . Filter syntax is as described in .Xr rctl 8 , -excepting differences noted in the +with exceptions noted in the .Sx RULES AND FILTERS section. A filter of @@ -125,7 +135,7 @@ from the resource limits database. Filter syntax is as described in .Xr rctl 8 , -excepting differences noted in the +with exceptions noted in the .Sx RULES AND FILTERS section. .Fa outbufp