/src/bin/setfacl/ |
mask.c | 37 #include <sys/acl.h> 47 /* set the appropriate mask the given ACL's */ 52 acl_t acl; local in function:set_acl_mask 60 * entry in the resulting ACL shall be set to the permissions in the 61 * specified ACL mask entry. 66 acl = acl_dup(*prev_acl); 67 if (acl == NULL) 73 * specified, then the permissions of the resulting ACL mask 76 * class in the resulting ACL 78 if (acl_calc_mask(&acl)) { [all...] |
mask.c | 37 #include <sys/acl.h> 47 /* set the appropriate mask the given ACL's */ 52 acl_t acl; local in function:set_acl_mask 60 * entry in the resulting ACL shall be set to the permissions in the 61 * specified ACL mask entry. 66 acl = acl_dup(*prev_acl); 67 if (acl == NULL) 73 * specified, then the permissions of the resulting ACL mask 76 * class in the resulting ACL 78 if (acl_calc_mask(&acl)) { [all...] |
mask.c | 37 #include <sys/acl.h> 47 /* set the appropriate mask the given ACL's */ 52 acl_t acl; local in function:set_acl_mask 60 * entry in the resulting ACL shall be set to the permissions in the 61 * specified ACL mask entry. 66 acl = acl_dup(*prev_acl); 67 if (acl == NULL) 73 * specified, then the permissions of the resulting ACL mask 76 * class in the resulting ACL 78 if (acl_calc_mask(&acl)) { [all...] |
mask.c | 37 #include <sys/acl.h> 47 /* set the appropriate mask the given ACL's */ 52 acl_t acl; local in function:set_acl_mask 60 * entry in the resulting ACL shall be set to the permissions in the 61 * specified ACL mask entry. 66 acl = acl_dup(*prev_acl); 67 if (acl == NULL) 73 * specified, then the permissions of the resulting ACL mask 76 * class in the resulting ACL 78 if (acl_calc_mask(&acl)) { [all...] |
/src/lib/libc/posix1e/ |
acl_init.c | 29 * acl_init -- return a fresh acl structure 30 * acl_dup -- duplicate an acl and return the new copy 42 #include <sys/acl.h> 56 acl_t acl; local in function:acl_init 67 error = posix_memalign((void *)&acl, 1 << _ACL_T_ALIGNMENT_BITS, 74 bzero(acl, sizeof(struct acl_t_struct)); 75 acl->ats_brand = ACL_BRAND_UNKNOWN; 76 acl->ats_acl.acl_maxcnt = ACL_MAX_ENTRIES; 78 return (acl); 82 acl_dup(acl_t acl) [all...] |
acl_init.c | 29 * acl_init -- return a fresh acl structure 30 * acl_dup -- duplicate an acl and return the new copy 42 #include <sys/acl.h> 56 acl_t acl; local in function:acl_init 67 error = posix_memalign((void *)&acl, 1 << _ACL_T_ALIGNMENT_BITS, 74 bzero(acl, sizeof(struct acl_t_struct)); 75 acl->ats_brand = ACL_BRAND_UNKNOWN; 76 acl->ats_acl.acl_maxcnt = ACL_MAX_ENTRIES; 78 return (acl); 82 acl_dup(acl_t acl) [all...] |
acl_init.c | 29 * acl_init -- return a fresh acl structure 30 * acl_dup -- duplicate an acl and return the new copy 42 #include <sys/acl.h> 56 acl_t acl; local in function:acl_init 67 error = posix_memalign((void *)&acl, 1 << _ACL_T_ALIGNMENT_BITS, 74 bzero(acl, sizeof(struct acl_t_struct)); 75 acl->ats_brand = ACL_BRAND_UNKNOWN; 76 acl->ats_acl.acl_maxcnt = ACL_MAX_ENTRIES; 78 return (acl); 82 acl_dup(acl_t acl) [all...] |
acl_init.c | 29 * acl_init -- return a fresh acl structure 30 * acl_dup -- duplicate an acl and return the new copy 42 #include <sys/acl.h> 56 acl_t acl; local in function:acl_init 67 error = posix_memalign((void *)&acl, 1 << _ACL_T_ALIGNMENT_BITS, 74 bzero(acl, sizeof(struct acl_t_struct)); 75 acl->ats_brand = ACL_BRAND_UNKNOWN; 76 acl->ats_acl.acl_maxcnt = ACL_MAX_ENTRIES; 78 return (acl); 82 acl_dup(acl_t acl) [all...] |
acl_from_text.c | 29 * acl_from_text: Convert a text-form ACL from a string to an acl_t. 41 #include <sys/acl.h> 189 * acl_from_text -- Convert a string into an ACL. 196 acl_t acl; local in function:acl_from_text 205 acl = acl_init(3); /* XXX: WTF, 3? */ 206 if (acl == NULL) { 225 if (_acl_brand(acl) == ACL_BRAND_UNKNOWN) { 227 _acl_brand_as(acl, ACL_BRAND_NFS4); 229 _acl_brand_as(acl, ACL_BRAND_POSIX); 232 switch (_acl_brand(acl)) { [all...] |
acl_from_text.c | 29 * acl_from_text: Convert a text-form ACL from a string to an acl_t. 41 #include <sys/acl.h> 189 * acl_from_text -- Convert a string into an ACL. 196 acl_t acl; local in function:acl_from_text 205 acl = acl_init(3); /* XXX: WTF, 3? */ 206 if (acl == NULL) { 225 if (_acl_brand(acl) == ACL_BRAND_UNKNOWN) { 227 _acl_brand_as(acl, ACL_BRAND_NFS4); 229 _acl_brand_as(acl, ACL_BRAND_POSIX); 232 switch (_acl_brand(acl)) { [all...] |
acl_from_text.c | 29 * acl_from_text: Convert a text-form ACL from a string to an acl_t. 41 #include <sys/acl.h> 189 * acl_from_text -- Convert a string into an ACL. 196 acl_t acl; local in function:acl_from_text 205 acl = acl_init(3); /* XXX: WTF, 3? */ 206 if (acl == NULL) { 225 if (_acl_brand(acl) == ACL_BRAND_UNKNOWN) { 227 _acl_brand_as(acl, ACL_BRAND_NFS4); 229 _acl_brand_as(acl, ACL_BRAND_POSIX); 232 switch (_acl_brand(acl)) { [all...] |
acl_from_text.c | 29 * acl_from_text: Convert a text-form ACL from a string to an acl_t. 41 #include <sys/acl.h> 189 * acl_from_text -- Convert a string into an ACL. 196 acl_t acl; local in function:acl_from_text 205 acl = acl_init(3); /* XXX: WTF, 3? */ 206 if (acl == NULL) { 225 if (_acl_brand(acl) == ACL_BRAND_UNKNOWN) { 227 _acl_brand_as(acl, ACL_BRAND_NFS4); 229 _acl_brand_as(acl, ACL_BRAND_POSIX); 232 switch (_acl_brand(acl)) { [all...] |
/src/sys/netbt/ |
sco_upper.c | 126 struct hci_link *acl, *sco; local in function:sco_connect_pcb 148 * We must have an already open ACL connection before we open the SCO 153 acl = hci_link_lookup_bdaddr(unit, &pcb->sp_raddr, HCI_LINK_ACL); 154 if (acl == NULL || acl->hl_state != HCI_LINK_OPEN) 162 KASSERT(sco->hl_link == acl); 164 cp.con_handle = htole16(acl->hl_handle);
|
sco_upper.c | 126 struct hci_link *acl, *sco; local in function:sco_connect_pcb 148 * We must have an already open ACL connection before we open the SCO 153 acl = hci_link_lookup_bdaddr(unit, &pcb->sp_raddr, HCI_LINK_ACL); 154 if (acl == NULL || acl->hl_state != HCI_LINK_OPEN) 162 KASSERT(sco->hl_link == acl); 164 cp.con_handle = htole16(acl->hl_handle);
|
sco_upper.c | 126 struct hci_link *acl, *sco; local in function:sco_connect_pcb 148 * We must have an already open ACL connection before we open the SCO 153 acl = hci_link_lookup_bdaddr(unit, &pcb->sp_raddr, HCI_LINK_ACL); 154 if (acl == NULL || acl->hl_state != HCI_LINK_OPEN) 162 KASSERT(sco->hl_link == acl); 164 cp.con_handle = htole16(acl->hl_handle);
|
sco_upper.c | 126 struct hci_link *acl, *sco; local in function:sco_connect_pcb 148 * We must have an already open ACL connection before we open the SCO 153 acl = hci_link_lookup_bdaddr(unit, &pcb->sp_raddr, HCI_LINK_ACL); 154 if (acl == NULL || acl->hl_state != HCI_LINK_OPEN) 162 KASSERT(sco->hl_link == acl); 164 cp.con_handle = htole16(acl->hl_handle);
|
hci_unit.c | 216 int acl; local in function:hci_disable 239 * they may depend on ACL links. 241 for (acl = 0 ; acl < 2 ; acl++) { 245 if (acl || link->hl_type != HCI_LINK_ACL) 400 DPRINTFN(10, "(%s) recv ACL, len = %d\n", 477 DPRINTF("(%s) dropped ACL packet.\n", device_xname(unit->hci_dev));
|
hci_unit.c | 216 int acl; local in function:hci_disable 239 * they may depend on ACL links. 241 for (acl = 0 ; acl < 2 ; acl++) { 245 if (acl || link->hl_type != HCI_LINK_ACL) 400 DPRINTFN(10, "(%s) recv ACL, len = %d\n", 477 DPRINTF("(%s) dropped ACL packet.\n", device_xname(unit->hci_dev));
|
hci_unit.c | 216 int acl; local in function:hci_disable 239 * they may depend on ACL links. 241 for (acl = 0 ; acl < 2 ; acl++) { 245 if (acl || link->hl_type != HCI_LINK_ACL) 400 DPRINTFN(10, "(%s) recv ACL, len = %d\n", 477 DPRINTF("(%s) dropped ACL packet.\n", device_xname(unit->hci_dev));
|
/src/bin/getfacl/ |
getfacl.c | 45 #include <sys/acl.h> 94 * return an ACL corresponding to the permissions 100 acl_t acl; local in function:acl_from_stat 104 /* create the ACL */ 105 acl = acl_init(3); 106 if (!acl) 110 if (acl_create_entry(&acl, &entry) == -1) 134 if (acl_create_entry(&acl, &entry) == -1) 158 if (acl_create_entry(&acl, &entry) == -1) 181 return(acl); 189 acl_t acl; local in function:print_acl [all...] |
getfacl.c | 45 #include <sys/acl.h> 94 * return an ACL corresponding to the permissions 100 acl_t acl; local in function:acl_from_stat 104 /* create the ACL */ 105 acl = acl_init(3); 106 if (!acl) 110 if (acl_create_entry(&acl, &entry) == -1) 134 if (acl_create_entry(&acl, &entry) == -1) 158 if (acl_create_entry(&acl, &entry) == -1) 181 return(acl); 189 acl_t acl; local in function:print_acl [all...] |
getfacl.c | 45 #include <sys/acl.h> 94 * return an ACL corresponding to the permissions 100 acl_t acl; local in function:acl_from_stat 104 /* create the ACL */ 105 acl = acl_init(3); 106 if (!acl) 110 if (acl_create_entry(&acl, &entry) == -1) 134 if (acl_create_entry(&acl, &entry) == -1) 158 if (acl_create_entry(&acl, &entry) == -1) 181 return(acl); 189 acl_t acl; local in function:print_acl [all...] |
/src/sys/net80211/ |
ieee80211_acl.c | 41 * IEEE 802.11 MAC ACL support. 67 ACL_POLICY_OPEN = 0, /* open, don't check ACL's */ 74 struct acl { struct 75 TAILQ_ENTRY(acl) acl_list; 76 LIST_ENTRY(acl) acl_hash; 83 TAILQ_HEAD(, acl) as_list; /* list of all ACL's */ 84 LIST_HEAD(, acl) as_hash[ACL_HASHSIZE]; 92 MALLOC_DEFINE(M_80211_ACL, "acl", "802.11 station acl"); 125 struct acl *acl; local in function:_find_acl 167 struct acl *acl, *new; local in function:acl_add 199 struct acl *acl; local in function:acl_remove 218 struct acl *acl; local in function:acl_free_all 274 struct acl *acl; local in function:acl_getioctl [all...] |
ieee80211_acl.c | 41 * IEEE 802.11 MAC ACL support. 67 ACL_POLICY_OPEN = 0, /* open, don't check ACL's */ 74 struct acl { struct 75 TAILQ_ENTRY(acl) acl_list; 76 LIST_ENTRY(acl) acl_hash; 83 TAILQ_HEAD(, acl) as_list; /* list of all ACL's */ 84 LIST_HEAD(, acl) as_hash[ACL_HASHSIZE]; 92 MALLOC_DEFINE(M_80211_ACL, "acl", "802.11 station acl"); 125 struct acl *acl; local in function:_find_acl 167 struct acl *acl, *new; local in function:acl_add 199 struct acl *acl; local in function:acl_remove 218 struct acl *acl; local in function:acl_free_all 274 struct acl *acl; local in function:acl_getioctl [all...] |
ieee80211_acl.c | 41 * IEEE 802.11 MAC ACL support. 67 ACL_POLICY_OPEN = 0, /* open, don't check ACL's */ 74 struct acl { struct 75 TAILQ_ENTRY(acl) acl_list; 76 LIST_ENTRY(acl) acl_hash; 83 TAILQ_HEAD(, acl) as_list; /* list of all ACL's */ 84 LIST_HEAD(, acl) as_hash[ACL_HASHSIZE]; 92 MALLOC_DEFINE(M_80211_ACL, "acl", "802.11 station acl"); 125 struct acl *acl; local in function:_find_acl 167 struct acl *acl, *new; local in function:acl_add 199 struct acl *acl; local in function:acl_remove 218 struct acl *acl; local in function:acl_free_all 274 struct acl *acl; local in function:acl_getioctl [all...] |