Searched refs:acls (Results 1 - 25 of 54) sorted by relevance

123

/macosx-10.9.5/libarchive-29/libarchive/libarchive/test/
H A Dtest_acl_basic.c80 set_acls(struct archive_entry *ae, struct acl_t *acls, int n) argument
87 acls[i].type, acls[i].permset, acls[i].tag, acls[i].qual,
88 acls[i].name);
121 compare_acls(struct archive_entry *ae, struct acl_t *acls, int n, int mode) argument
137 if (acl_match(&acls[marker[i]], type, permset,
176 acls[marker[0]].type, acls[marke
[all...]
H A Dtest_acl_pax.c306 set_acls(struct archive_entry *ae, struct acl_t *acls, int n) argument
313 acls[i].type, acls[i].permset, acls[i].tag, acls[i].qual,
314 acls[i].name);
343 compare_acls(struct archive_entry *ae, struct acl_t *acls, int n, int mode) argument
359 if (acl_match(&acls[marker[i]], type, permset,
398 acls[marker[0]].type, acls[marke
[all...]
H A Dtest_acl_freebsd.c60 set_acls(struct archive_entry *ae, struct myacl_t *acls) argument
65 for (i = 0; acls[i].name != NULL; i++) {
67 acls[i].type, acls[i].permset, acls[i].tag, acls[i].qual,
68 acls[i].name);
147 * Iterate over acls in system acl object, try to match each
/macosx-10.9.5/Security-55471.14.18/include/security_keychain/
H A DAccess.cpp130 AutoAclEntryInfoList acls; local
131 source.getAcl(acls);
132 compile(*owner, acls.count(), acls.entries());
140 uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls) : mMutex(Mutex::recursive)
142 compile(owner, aclCount, acls);
225 vector<ACL *> acls; local
226 findAclsForRight(right, acls);
227 if (acls.size() != 1)
229 (*acls
139 Access(const CSSM_ACL_OWNER_PROTOTYPE &owner, uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls) argument
245 CssmAutoPtr<AclEntryInfo> acls = new(alloc) AclEntryInfo[count]; local
324 compile(const CSSM_ACL_OWNER_PROTOTYPE &owner, uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls) argument
[all...]
H A DAccess.h89 uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls);
116 uint32 &aclCount, CSSM_ACL_ENTRY_INFO * &acls);
123 uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls);
H A DSecAccess.h133 @param acls A pointer to the access control list.
138 OSStatus SecAccessCreateFromOwnerAndACL(const CSSM_ACL_OWNER_PROTOTYPE *owner, uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls, SecAccessRef *accessRef)
147 @param acls A CFArrayRef of the ACLs to associate with this SecAccessRef
151 SecAccessRef SecAccessCreateWithOwnerAndACL(uid_t userId, gid_t groupId, SecAccessOwnerType ownerType, CFArrayRef acls, CFErrorRef *error)
160 @param acls On return, a pointer to the access control list.
164 OSStatus SecAccessGetOwnerAndACL(SecAccessRef accessRef, CSSM_ACL_OWNER_PROTOTYPE_PTR *owner, uint32 *aclCount, CSSM_ACL_ENTRY_INFO_PTR *acls)
H A DSecAccess.cpp273 uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls,
278 SecPointer<Access> access = new Access(Required(owner), aclCount, &Required(acls));
283 SecAccessRef SecAccessCreateWithOwnerAndACL(uid_t userId, gid_t groupId, SecAccessOwnerType ownerType, CFArrayRef acls, CFErrorRef *error) argument
305 if (NULL != acls)
307 numAcls = CFArrayGetCount(acls);
312 CFSTR("SecAccessCreateWithOwnerAndACL: processing %d acls"), (int)numAcls);
322 CFStringRef aclStr = (CFStringRef)CFArrayGetValueAtIndex(acls, iCnt);
326 CFSTR("SecAccessCreateWithOwnerAndACL: acls[%d] = %@"), (int)iCnt, aclStr);
403 uint32 *aclCount, CSSM_ACL_ENTRY_INFO_PTR *acls)
407 Required(owner), Required(aclCount), Required(acls));
272 SecAccessCreateFromOwnerAndACL(const CSSM_ACL_OWNER_PROTOTYPE *owner, uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls, SecAccessRef *accessRef) argument
401 SecAccessGetOwnerAndACL(SecAccessRef accessRef, CSSM_ACL_OWNER_PROTOTYPE_PTR *owner, uint32 *aclCount, CSSM_ACL_ENTRY_INFO_PTR *acls) argument
414 CSSM_ACL_ENTRY_INFO_PTR acls = NULL; local
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/Security/
H A DAccess.cpp130 AutoAclEntryInfoList acls; local
131 source.getAcl(acls);
132 compile(*owner, acls.count(), acls.entries());
140 uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls) : mMutex(Mutex::recursive)
142 compile(owner, aclCount, acls);
225 vector<ACL *> acls; local
226 findAclsForRight(right, acls);
227 if (acls.size() != 1)
229 (*acls
139 Access(const CSSM_ACL_OWNER_PROTOTYPE &owner, uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls) argument
245 CssmAutoPtr<AclEntryInfo> acls = new(alloc) AclEntryInfo[count]; local
324 compile(const CSSM_ACL_OWNER_PROTOTYPE &owner, uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls) argument
[all...]
H A DAccess.h89 uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls);
116 uint32 &aclCount, CSSM_ACL_ENTRY_INFO * &acls);
123 uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls);
H A DSecAccess.h133 @param acls A pointer to the access control list.
138 OSStatus SecAccessCreateFromOwnerAndACL(const CSSM_ACL_OWNER_PROTOTYPE *owner, uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls, SecAccessRef *accessRef)
147 @param acls A CFArrayRef of the ACLs to associate with this SecAccessRef
151 SecAccessRef SecAccessCreateWithOwnerAndACL(uid_t userId, gid_t groupId, SecAccessOwnerType ownerType, CFArrayRef acls, CFErrorRef *error)
160 @param acls On return, a pointer to the access control list.
164 OSStatus SecAccessGetOwnerAndACL(SecAccessRef accessRef, CSSM_ACL_OWNER_PROTOTYPE_PTR *owner, uint32 *aclCount, CSSM_ACL_ENTRY_INFO_PTR *acls)
H A DSecAccess.cpp273 uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls,
278 SecPointer<Access> access = new Access(Required(owner), aclCount, &Required(acls));
283 SecAccessRef SecAccessCreateWithOwnerAndACL(uid_t userId, gid_t groupId, SecAccessOwnerType ownerType, CFArrayRef acls, CFErrorRef *error) argument
305 if (NULL != acls)
307 numAcls = CFArrayGetCount(acls);
312 CFSTR("SecAccessCreateWithOwnerAndACL: processing %d acls"), (int)numAcls);
322 CFStringRef aclStr = (CFStringRef)CFArrayGetValueAtIndex(acls, iCnt);
326 CFSTR("SecAccessCreateWithOwnerAndACL: acls[%d] = %@"), (int)iCnt, aclStr);
403 uint32 *aclCount, CSSM_ACL_ENTRY_INFO_PTR *acls)
407 Required(owner), Required(aclCount), Required(acls));
272 SecAccessCreateFromOwnerAndACL(const CSSM_ACL_OWNER_PROTOTYPE *owner, uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls, SecAccessRef *accessRef) argument
401 SecAccessGetOwnerAndACL(SecAccessRef accessRef, CSSM_ACL_OWNER_PROTOTYPE_PTR *owner, uint32 *aclCount, CSSM_ACL_ENTRY_INFO_PTR *acls) argument
414 CSSM_ACL_ENTRY_INFO_PTR acls = NULL; local
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/lib/
H A DAccess.cpp130 AutoAclEntryInfoList acls; local
131 source.getAcl(acls);
132 compile(*owner, acls.count(), acls.entries());
140 uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls) : mMutex(Mutex::recursive)
142 compile(owner, aclCount, acls);
225 vector<ACL *> acls; local
226 findAclsForRight(right, acls);
227 if (acls.size() != 1)
229 (*acls
139 Access(const CSSM_ACL_OWNER_PROTOTYPE &owner, uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls) argument
245 CssmAutoPtr<AclEntryInfo> acls = new(alloc) AclEntryInfo[count]; local
324 compile(const CSSM_ACL_OWNER_PROTOTYPE &owner, uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls) argument
[all...]
H A DAccess.h89 uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls);
116 uint32 &aclCount, CSSM_ACL_ENTRY_INFO * &acls);
123 uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls);
H A DSecAccess.h133 @param acls A pointer to the access control list.
138 OSStatus SecAccessCreateFromOwnerAndACL(const CSSM_ACL_OWNER_PROTOTYPE *owner, uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls, SecAccessRef *accessRef)
147 @param acls A CFArrayRef of the ACLs to associate with this SecAccessRef
151 SecAccessRef SecAccessCreateWithOwnerAndACL(uid_t userId, gid_t groupId, SecAccessOwnerType ownerType, CFArrayRef acls, CFErrorRef *error)
160 @param acls On return, a pointer to the access control list.
164 OSStatus SecAccessGetOwnerAndACL(SecAccessRef accessRef, CSSM_ACL_OWNER_PROTOTYPE_PTR *owner, uint32 *aclCount, CSSM_ACL_ENTRY_INFO_PTR *acls)
H A DSecAccess.cpp273 uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls,
278 SecPointer<Access> access = new Access(Required(owner), aclCount, &Required(acls));
283 SecAccessRef SecAccessCreateWithOwnerAndACL(uid_t userId, gid_t groupId, SecAccessOwnerType ownerType, CFArrayRef acls, CFErrorRef *error) argument
305 if (NULL != acls)
307 numAcls = CFArrayGetCount(acls);
312 CFSTR("SecAccessCreateWithOwnerAndACL: processing %d acls"), (int)numAcls);
322 CFStringRef aclStr = (CFStringRef)CFArrayGetValueAtIndex(acls, iCnt);
326 CFSTR("SecAccessCreateWithOwnerAndACL: acls[%d] = %@"), (int)iCnt, aclStr);
403 uint32 *aclCount, CSSM_ACL_ENTRY_INFO_PTR *acls)
407 Required(owner), Required(aclCount), Required(acls));
272 SecAccessCreateFromOwnerAndACL(const CSSM_ACL_OWNER_PROTOTYPE *owner, uint32 aclCount, const CSSM_ACL_ENTRY_INFO *acls, SecAccessRef *accessRef) argument
401 SecAccessGetOwnerAndACL(SecAccessRef accessRef, CSSM_ACL_OWNER_PROTOTYPE_PTR *owner, uint32 *aclCount, CSSM_ACL_ENTRY_INFO_PTR *acls) argument
414 CSSM_ACL_ENTRY_INFO_PTR acls = NULL; local
[all...]
/macosx-10.9.5/screen-22/screen/
H A DMakefile.in57 kmapdef.c acls.c braille.c braille_tsi.c logfile.c layer.c \
62 kmapdef.o acls.o braille.o braille_tsi.o logfile.o layer.o \
176 ln acls.h ansi.h display.h extern.h logfile.h mark.h os.h \
269 screen.o: screen.c config.h screen.h os.h osdef.h ansi.h acls.h \
272 ansi.o: ansi.c config.h screen.h os.h osdef.h ansi.h acls.h \
275 fileio.o: fileio.c config.h screen.h os.h osdef.h ansi.h acls.h \
277 mark.o: mark.c config.h screen.h os.h osdef.h ansi.h acls.h \
279 misc.o: misc.c config.h screen.h os.h osdef.h ansi.h acls.h \
281 resize.o: resize.c config.h screen.h os.h osdef.h ansi.h acls.h \
283 socket.o: socket.c config.h screen.h os.h osdef.h ansi.h acls
[all...]
/macosx-10.9.5/securityd-55199.3/tests/
H A Dtestclient.h57 void acls();
H A Dtestacls.cpp38 void acls() function
61 AclEntryInfo *acls; local
62 ss.getKeyAcl(tester.keyRef, NULL/*tag*/, count, acls);
64 const AclEntryInfo &acl1 = acls[0];
216 AclEntryInfo *acls; local
217 ss.getKeyAcl(tester.keyRef, NULL/*tag*/, count, acls);
219 const AclEntryInfo &acl1 = acls[0];
266 AclEntryInfo *acls; local
267 ss.getKeyAcl(tester.keyRef, NULL/*tag*/, count, acls);
269 const AclEntryInfo &acl1 = acls[
324 AclEntryInfo *acls; local
[all...]
/macosx-10.9.5/securityd-55199.3/src/
H A Dtokenacl.h30 #include "acls.h"
49 void getAcl(const char *tag, uint32 &count, AclEntryInfo *&acls);
H A Dacls.h26 // acls - securityd ACL implementation
71 virtual void getAcl(const char *tag, uint32 &count, AclEntryInfo *&acls);
142 virtual void getAcl(const char *tag, uint32 &count, AclEntryInfo *&acls) argument
143 { return acl().getAcl(tag, count, acls); }
H A Dtoken.cpp134 void Token::getAcl(const char *tag, uint32 &count, AclEntryInfo *&acls) argument
140 acls = Allocator::standard().alloc<AclEntryInfo>(count * sizeof(AclEntryInfo));
141 memcpy(acls, racls, count * sizeof(AclEntryInfo));
144 walk(copy, acls[n]);
148 TokenAcl::cssmGetAcl(tag, count, acls);
H A Dacls.cpp26 // acls - securityd ACL implementation
28 #include "acls.h"
63 void SecurityServerAcl::getAcl(const char *tag, uint32 &count, AclEntryInfo *&acls) argument
66 ObjectAcl::cssmGetAcl(tag, count, acls);
H A Dtokenacl.cpp94 void TokenAcl::getAcl(const char *tag, uint32 &count, AclEntryInfo *&acls) argument
96 ObjectAcl::cssmGetAcl(tag, count, acls);
H A Dtoken.h74 void getAcl(const char *tag, uint32 &count, AclEntryInfo *&acls);
/macosx-10.9.5/Security-55471.14.18/libsecurity_sd_cspdl/lib/
H A DSDDLSession.cpp445 AutoAclEntryInfoList acls /* (mClientSession.allocator()) */; local
448 *static_cast<uint32 *>(acls),
449 *static_cast<CSSM_ACL_ENTRY_INFO **>(acls));
450 if (acls.size() == 0)
453 const AclEntryInfo &slot = acls.at(0);
454 if (acls.size() > 1)
457 slot.handle(), acls.size());

Completed in 115 milliseconds

123