Lines Matching full:limit
45 .Fn cap_sysctl_limit_name "cap_sysctl_limit_t *limit" "const char *name" "int flags"
47 .Fn cap_sysctl_limit_mib "cap_sysctl_limit_t *limit" "const int *mibp" "u_int miblen" "int flags"
49 .Fn cap_sysctl_limit "cap_sysctl_limit_t *limit"
88 returns an opaque limit handle used to store a list of permitted sysctls
103 to the limit list, and
107 to the limit list.
119 It consumes the limit handle.
127 will succeed so long as the named sysctl variable is present in the limit set,
129 When a sysctl variable name is added to a limit set, its MIB identifier is
142 void *limit;
163 /* Create limit for one MIB with read access only. */
164 limit = cap_sysctl_limit_init(capsysctl);
165 (void)cap_sysctl_limit_name(limit, name, CAP_SYSCTL_READ);
167 /* Limit system.sysctl. */
168 if (cap_sysctl_limit(limit) < 0)
182 will return a new limit handle on success or
189 will return the modified limit handle on success or
193 After failure, the caller must not access the limit handle again.