Searched refs:acl (Results 1 - 25 of 195) sorted by relevance

12345678

/macosx-10.10.1/Heimdal-398.1.2/lib/krb5/
H A Dacl.c47 free_retv(struct acl_field *acl) argument
49 while(acl != NULL) {
50 if (acl->type == acl_retval) {
51 if (*acl->u.retv)
52 free(*acl->u.retv);
53 *acl->u.retv = NULL;
55 acl = acl->next;
60 acl_free_list(struct acl_field *acl, int retv) argument
64 free_retv(acl);
79 struct acl_field *acl = NULL, *tmp; local
135 acl_match_acl(krb5_context context, struct acl_field *acl, const char *string) argument
209 struct acl_field *acl; local
251 struct acl_field *acl; local
[all...]
/macosx-10.10.1/Libc-1044.1.2/sys/
H A Dumaskx_np.c24 #include <sys/acl.h>
34 acl_t acl = NULL; local
43 if (((filesec_get_property(fsec, FILESEC_ACL_RAW, &acl) != 0) ||
48 acl = NULL;
50 return __umask_extended(newmask, acl);
/macosx-10.10.1/Security-57031.1.35/Security/include/security_keychain/
H A DSecACL.cpp45 static void setApplications(ACL *acl, CFArrayRef applicationList);
67 SecPointer<ACL> acl = new ACL(*access, cfString(description), *promptSelector); local
70 acl->form(ACL::appListForm);
71 setApplications(acl, applicationList);
74 acl->form(ACL::allowAllForm);
76 access->add(acl.get());
77 Required(newAcl) = acl->handle();
117 SecPointer<ACL> acl = ACL::required(aclRef); local
118 switch (acl->form()) {
122 acl
138 SecACLCopyContents(SecACLRef acl, CFArrayRef *applicationList, CFStringRef *description, SecKeychainPromptSelector *promptSelector) argument
157 SecPointer<ACL> acl = ACL::required(aclRef); local
172 SecACLSetContents(SecACLRef acl, CFArrayRef applicationList, CFStringRef description, SecKeychainPromptSelector promptSelector) argument
186 setApplications(ACL *acl, CFArrayRef applicationList) argument
201 SecACLGetAuthorizations(SecACLRef acl, CSSM_ACL_AUTHORIZATION_TAG *tags, uint32 *tagCount) argument
215 SecACLCopyAuthorizations(SecACLRef acl) argument
264 SecPointer<ACL> acl = ACL::required(aclRef); local
274 SecACLUpdateAuthorizations(SecACLRef acl, CFArrayRef authorizations) argument
[all...]
H A DSecACL.h110 @param acl An access control list entry reference.
118 OSStatus SecACLCopySimpleContents(SecACLRef acl,
126 @param acl An access control list entry reference.
132 OSStatus SecACLCopyContents(SecACLRef acl,
140 @param acl A reference to the access control list entry to edit.
148 OSStatus SecACLSetSimpleContents(SecACLRef acl,
156 @param acl A reference to the access control list entry to edit.
162 OSStatus SecACLSetContents(SecACLRef acl,
171 @param acl An access control list entry reference.
178 OSStatus SecACLGetAuthorizations(SecACLRef acl,
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/Security/
H A DSecACL.cpp45 static void setApplications(ACL *acl, CFArrayRef applicationList);
67 SecPointer<ACL> acl = new ACL(*access, cfString(description), *promptSelector); local
70 acl->form(ACL::appListForm);
71 setApplications(acl, applicationList);
74 acl->form(ACL::allowAllForm);
76 access->add(acl.get());
77 Required(newAcl) = acl->handle();
117 SecPointer<ACL> acl = ACL::required(aclRef); local
118 switch (acl->form()) {
122 acl
138 SecACLCopyContents(SecACLRef acl, CFArrayRef *applicationList, CFStringRef *description, SecKeychainPromptSelector *promptSelector) argument
157 SecPointer<ACL> acl = ACL::required(aclRef); local
172 SecACLSetContents(SecACLRef acl, CFArrayRef applicationList, CFStringRef description, SecKeychainPromptSelector promptSelector) argument
186 setApplications(ACL *acl, CFArrayRef applicationList) argument
201 SecACLGetAuthorizations(SecACLRef acl, CSSM_ACL_AUTHORIZATION_TAG *tags, uint32 *tagCount) argument
215 SecACLCopyAuthorizations(SecACLRef acl) argument
264 SecPointer<ACL> acl = ACL::required(aclRef); local
274 SecACLUpdateAuthorizations(SecACLRef acl, CFArrayRef authorizations) argument
[all...]
H A DSecACL.h110 @param acl An access control list entry reference.
118 OSStatus SecACLCopySimpleContents(SecACLRef acl,
126 @param acl An access control list entry reference.
132 OSStatus SecACLCopyContents(SecACLRef acl,
140 @param acl A reference to the access control list entry to edit.
148 OSStatus SecACLSetSimpleContents(SecACLRef acl,
156 @param acl A reference to the access control list entry to edit.
162 OSStatus SecACLSetContents(SecACLRef acl,
171 @param acl An access control list entry reference.
178 OSStatus SecACLGetAuthorizations(SecACLRef acl,
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/lib/
H A DSecACL.cpp45 static void setApplications(ACL *acl, CFArrayRef applicationList);
67 SecPointer<ACL> acl = new ACL(*access, cfString(description), *promptSelector); local
70 acl->form(ACL::appListForm);
71 setApplications(acl, applicationList);
74 acl->form(ACL::allowAllForm);
76 access->add(acl.get());
77 Required(newAcl) = acl->handle();
117 SecPointer<ACL> acl = ACL::required(aclRef); local
118 switch (acl->form()) {
122 acl
138 SecACLCopyContents(SecACLRef acl, CFArrayRef *applicationList, CFStringRef *description, SecKeychainPromptSelector *promptSelector) argument
157 SecPointer<ACL> acl = ACL::required(aclRef); local
172 SecACLSetContents(SecACLRef acl, CFArrayRef applicationList, CFStringRef description, SecKeychainPromptSelector promptSelector) argument
186 setApplications(ACL *acl, CFArrayRef applicationList) argument
201 SecACLGetAuthorizations(SecACLRef acl, CSSM_ACL_AUTHORIZATION_TAG *tags, uint32 *tagCount) argument
215 SecACLCopyAuthorizations(SecACLRef acl) argument
264 SecPointer<ACL> acl = ACL::required(aclRef); local
274 SecACLUpdateAuthorizations(SecACLRef acl, CFArrayRef authorizations) argument
[all...]
H A DSecACL.h110 @param acl An access control list entry reference.
118 OSStatus SecACLCopySimpleContents(SecACLRef acl,
126 @param acl An access control list entry reference.
132 OSStatus SecACLCopyContents(SecACLRef acl,
140 @param acl A reference to the access control list entry to edit.
148 OSStatus SecACLSetSimpleContents(SecACLRef acl,
156 @param acl A reference to the access control list entry to edit.
162 OSStatus SecACLSetContents(SecACLRef acl,
171 @param acl An access control list entry reference.
178 OSStatus SecACLGetAuthorizations(SecACLRef acl,
[all...]
/macosx-10.10.1/postfix-255/postfix/src/global/
H A Dserver_acl.c113 char *acl; local
123 while ((acl = mystrtok(&bp, SERVER_ACL_SEPARATORS)) != 0) {
124 if (strchr(acl, ':') != 0) {
128 origin, acl);
132 if (dict_handle(acl) == 0)
133 dict_register(acl, dict_open(acl, O_RDONLY, DICT_FLAG_LOCK
137 argv_add(intern_acl, acl, (char *) 0);
157 const char *acl; local
161 for (cpp = intern_acl->argv; (acl
[all...]
H A Duser_acl.c9 /* const char *check_user_acl_byuid(acl, uid)
10 /* const char *acl;
23 /* .IP acl
62 const char *check_user_acl_byuid(char *acl, uid_t uid) argument
75 if (strncmp(acl, DICT_TYPE_STATIC ":", sizeof(DICT_TYPE_STATIC)) == 0)
104 list = string_list_init(MATCH_FLAG_NONE, acl);
/macosx-10.10.1/Libc-1044.1.2/posix1e/
H A Dacl.c26 #include <sys/acl.h>
35 acl_dup(acl_t acl) argument
39 if (!_ACL_VALID_ACL(acl)) {
45 bcopy(acl, ap, sizeof(*ap));
85 acl_valid(acl_t acl) argument
87 _ACL_VALIDATE_ACL(acl);
94 acl_valid_fd_np(int fd, acl_type_t type, acl_t acl) argument
101 acl_valid_file_np(const char *path, acl_type_t type, acl_t acl) argument
108 acl_valid_link(const char *path, acl_type_t type, acl_t acl) argument
H A Dacl_entry.c26 #include <sys/acl.h>
94 acl_delete_entry(acl_t acl, acl_entry_t entry) argument
98 _ACL_VALIDATE_ACL(acl);
100 _ACL_VALIDATE_ENTRY_CONTAINED(acl, entry);
103 acl->a_entries--;
104 for (i = entry - &acl->a_ace[0]; i < acl->a_entries; i++)
105 acl->a_ace[i] = acl->a_ace[i + 1];
106 acl
115 acl_get_entry(acl_t acl, int entry_id, acl_entry_t *entry_p) argument
[all...]
H A Dacl_file.c28 #include <sys/acl.h>
75 acl_t acl; local
85 acl = NULL;
87 filesec_get_property(fsec, FILESEC_ACL, &acl);
89 return(acl);
96 acl_t acl; local
106 acl = NULL;
108 filesec_get_property(fsec, FILESEC_ACL, &acl);
110 return(acl);
126 acl_set_fd_np(int fd, acl_t acl, acl_type_ argument
143 acl_set_fd(int fd, acl_t acl) argument
149 acl_set_file(const char *path, acl_type_t acl_type, acl_t acl) argument
166 acl_set_link_np(const char *path, acl_type_t acl_type, acl_t acl) argument
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/sec/Security/Regressions/secitem/
H A Dsi_77_SecAccessControl.c50 SecAccessControlRef acl = SecAccessControlCreateWithFlags(allocator, protection, 0, &error); local
51 ok(acl != NULL, "SecAccessControlCreateWithFlags: %@", error);
53 CFReleaseNull(acl);
56 acl = SecAccessControlCreateWithFlags(allocator, NULL, flags, &error);
57 ok(acl == NULL, "SecAccessControlCreateWithFlags");
59 CFReleaseNull(acl);
62 acl = SecAccessControlCreateWithFlags(allocator, protection, flags, &error);
63 ok(acl != NULL, "SecAccessControlCreateWithFlags: %@", error);
69 CFTypeRef aclProtection = SecAccessControlGetProtection(acl);
72 SecAccessConstraintRef aclConstraint = SecAccessControlGetConstraint(acl, kAKSKeyOpDecryp
[all...]
/macosx-10.10.1/bind9-45.101/bind9/bin/named/
H A Dlistenlist.c27 #include <dns/acl.h>
36 dns_acl_t *acl, ns_listenelt_t **target)
46 elt->acl = acl;
53 if (elt->acl != NULL)
54 dns_acl_detach(&elt->acl);
107 dns_acl_t *acl = NULL; local
113 result = dns_acl_any(mctx, &acl);
115 result = dns_acl_none(mctx, &acl);
119 result = ns_listenelt_create(mctx, port, acl,
35 ns_listenelt_create(isc_mem_t *mctx, in_port_t port, dns_acl_t *acl, ns_listenelt_t **target) argument
[all...]
/macosx-10.10.1/Security-57031.1.35/securityd/src/
H A Dtokenaccess.h59 void add(TokenAcl &acl) { mAcls.insert(&acl); } argument
60 void add(TokenAcl *acl) { if (acl) mAcls.insert(acl); } argument
61 void add(AclSource &src) { add(dynamic_cast<TokenAcl&>(src.acl())); }
H A Dacls.h102 : acl(baseAcl), database(db) { }
104 SecurityServerAcl &acl; member in class:SecurityServerEnvironment
132 virtual SecurityServerAcl &acl(); // defaults to "no ACL; throw exception"
141 { return acl().getOwner(owner); }
143 { return acl().getAcl(tag, count, acls); }
145 { return acl().changeAcl(edit, cred, relatedDatabase()); }
147 { return acl().changeOwner(newOwner, cred, relatedDatabase()); }
149 { acl().validate(auth, cred, relatedDatabase()); }
151 { acl().validate(auth, context, relatedDatabase()); }
/macosx-10.10.1/bind9-45.101/bind9/lib/dns/
H A Dacl.c29 #include <dns/acl.h>
40 dns_acl_t *acl; local
48 acl = isc_mem_get(mctx, sizeof(*acl));
49 if (acl == NULL)
51 acl->mctx = mctx;
52 acl->name = NULL;
54 result = isc_refcount_init(&acl->refcount, 1);
56 isc_mem_put(mctx, acl, sizeof(*acl));
101 dns_acl_t *acl = NULL; local
138 dns_acl_isanyornone(dns_acl_t *acl, isc_boolean_t pos) argument
165 dns_acl_isany(dns_acl_t *acl) argument
174 dns_acl_isnone(dns_acl_t *acl) argument
186 dns_acl_match(const isc_netaddr_t *reqaddr, const dns_name_t *reqsigner, const dns_acl_t *acl, const dns_aclenv_t *env, int *match, const dns_aclelement_t **matchelt) argument
475 dns_acl_t *acl = *aclp; local
[all...]
/macosx-10.10.1/remote_cmds-47/ypserv.tproj/
H A DMakefile4 HFILES = acl.h yp.h ypv1.h ypdb.h yplog.h ypdef.h
5 CFILES = acl.c ypdb.c yplog.c ypserv.c ypserv_db.c ypserv_proc.c\
7 MANPAGES = securenet.5 ypserv.acl.5 ypserv.8
/macosx-10.10.1/file_cmds-242/chmod/
H A Dchmod_acl.h38 #include <sys/acl.h>
78 extern unsigned is_canonical(acl_t acl);
79 extern int find_matching_entry (acl_t acl, acl_entry_t modifier, acl_entry_t *rentry, unsigned match_inherited);
80 extern unsigned find_canonical_position(acl_t acl, acl_entry_t modifier);
/macosx-10.10.1/Libc-1044.1.2/include/sys/
H A Dacl.h147 extern acl_t acl_dup(acl_t acl);
155 extern int acl_delete_entry(acl_t acl, acl_entry_t entry_d);
156 extern int acl_get_entry(acl_t acl, int entry_id, acl_entry_t *entry_p);
157 extern int acl_valid(acl_t acl);
158 extern int acl_valid_fd_np(int fd, acl_type_t type, acl_t acl);
159 extern int acl_valid_file_np(const char *path, acl_type_t type, acl_t acl);
160 extern int acl_valid_link_np(const char *path, acl_type_t type, acl_t acl);
196 extern int acl_set_fd(int fd, acl_t acl);
197 extern int acl_set_fd_np(int fd, acl_t acl, acl_type_t acl_type);
198 extern int acl_set_file(const char *path_p, acl_type_t type, acl_t acl);
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/include/security_utilities/
H A Dmuscle++.cpp193 static void aclForm(string &s, MSCUShort16 acl, int offset, char c) argument
197 switch (acl) {
200 default: if (acl & (MSC_AUT_PIN_0 << n)) p = c; break;
230 const ACL &Key::acl() const { return reinterpret_cast<const ACL &>(keyACL); } function in class:Security::Muscle::Key
231 ACL &Key::acl() { return reinterpret_cast<ACL &>(keyACL); } function in class:Security::Muscle::Key
239 keyNum, keyType, keySize, mode(), operations(), acl().form('u').c_str());
245 const ACL &Object::acl() const { return reinterpret_cast<const ACL &>(objectACL); } function in class:Security::Muscle::Object
246 ACL &Object::acl() { return reinterpret_cast<ACL &>(objectACL); } function in class:Security::Muscle::Object
251 objectID, objectSize, acl().form('e').c_str());
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_utilities/lib/
H A Dmuscle++.cpp193 static void aclForm(string &s, MSCUShort16 acl, int offset, char c) argument
197 switch (acl) {
200 default: if (acl & (MSC_AUT_PIN_0 << n)) p = c; break;
230 const ACL &Key::acl() const { return reinterpret_cast<const ACL &>(keyACL); } function in class:Security::Muscle::Key
231 ACL &Key::acl() { return reinterpret_cast<ACL &>(keyACL); } function in class:Security::Muscle::Key
239 keyNum, keyType, keySize, mode(), operations(), acl().form('u').c_str());
245 const ACL &Object::acl() const { return reinterpret_cast<const ACL &>(objectACL); } function in class:Security::Muscle::Object
246 ACL &Object::acl() { return reinterpret_cast<ACL &>(objectACL); } function in class:Security::Muscle::Object
251 objectID, objectSize, acl().form('e').c_str());
/macosx-10.10.1/cups-408/cups/scheduler/
H A Dcert.c22 # include <sys/acl.h>
86 acl_t acl; /* ACL information */ local
122 acl = acl_init(NumSystemGroups - 1);
137 acl_create_entry(&acl, &entry);
152 acl = acl_init(NumSystemGroups + 3);
155 acl_create_entry(&acl, &entry);
162 acl_create_entry(&acl, &entry);
169 acl_create_entry(&acl, &entry);
176 acl_create_entry(&acl, &entry);
195 acl_create_entry(&acl,
[all...]
/macosx-10.10.1/libarchive-30/libarchive/libarchive/test/
H A Dtest_acl_freebsd.c29 #include <sys/acl.h>
131 compare_acls(acl_t acl, struct myacl_t *myacls) argument
147 * Iterate over acls in system acl object, try to match each
150 while (1 == acl_get_entry(acl, entry_id, &acl_entry)) {
169 /* Dump entries in the myacls array that weren't in the system acl. */
199 acl_t acl;
206 acl = acl_from_text("u::rwx,u:1:rw,g::rwx,g:15:rx,o::rwx,m::rwx");
207 assert((void *)acl != NULL);
212 acl_free(acl);
216 n = acl_set_fd(fd, acl);
[all...]

Completed in 208 milliseconds

12345678