Searched refs:rule_slots (Results 1 - 3 of 3) sorted by relevance

/freebsd-current/usr.sbin/ugidfw/
H A Dugidfw.c99 int error, i, rule_count, rule_slots; local
101 rule_slots = bsde_get_rule_slots(BUFSIZ, errstr);
102 if (rule_slots == -1) {
112 printf("%d slots, %d rules\n", rule_slots, rule_count);
114 for (i = 0; i < rule_slots; i++) {
/freebsd-current/sys/security/mac_bsdextended/
H A Dmac_bsdextended.c87 static int rule_slots = 0; variable
92 SYSCTL_INT(_security_mac_bsdextended, OID_AUTO, rule_slots, CTLFLAG_RD,
93 &rule_slots, 0, "Number of used rule slots\n");
162 if (index < 0 || index > rule_slots + 1) {
189 if (index + 1 > rule_slots)
190 rule_slots = index + 1;
436 for (i = 0; i < rule_slots; i++) {
/freebsd-current/lib/libugidfw/
H A Dugidfw.c1167 int rule_slots; local
1169 len = sizeof(rule_slots);
1170 error = sysctlbyname(MIB ".rule_slots", &rule_slots, &len, NULL, 0);
1175 if (len != sizeof(rule_slots)) {
1176 snprintf(errstr, buflen, "Data error in %s.rule_slots", MIB);
1180 return (rule_slots);
1297 int error, rule_slots; local
1310 rule_slots = bsde_get_rule_slots(BUFSIZ, charstr);
1311 if (rule_slots
[all...]

Completed in 122 milliseconds