Searched refs:acl (Results 1 - 25 of 195) sorted by last modified time

12345678

/macosx-10.10.1/cups-408/cups/
H A Dconfigure1521 --enable-acl build with POSIX ACL support
5498 # Check whether --enable-acl was given.
5528 for ac_lib in '' acl; do
/macosx-10.10.1/copyfile-118.1.2/
H A Dcopyfile.c27 #include <sys/acl.h>
43 #include <sys/acl.h>
331 add_uberace(acl_t *acl) argument
348 if (acl_create_entry_np(acl, &entry, ACL_FIRST_ENTRY) == -1)
412 // Need to create a temporary acl, so I can get the uberace template.
447 acl_t acl = NULL; local
462 if (filesec_get_property(fsec, FILESEC_ACL, &acl) != 0) {
466 if (acl_get_entry(acl, ACL_FIRST_ENTRY, &entry) == 0) {
471 if (acl_delete_entry(acl, entry) != 0 ||
472 filesec_set_property(fsec, FILESEC_ACL, &acl) !
1368 acl_t acl = NULL; local
1700 acl_t acl = NULL; local
2050 acl_t acl = NULL; local
3223 acl_t acl; local
3577 acl_t acl = NULL; local
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/include/security_cdsa_utilities/
H A Daclsubject.cpp43 void AclValidationContext::init(ObjectAcl *acl, AclSubject *subject) argument
45 mAcl = acl;
H A Daclsubject.h100 ObjectAcl *acl() const { return mAcl; } function in class:Security::AclValidationContext
114 void init(ObjectAcl *acl, AclSubject *subject);
/macosx-10.10.1/Security-57031.1.35/Security/include/security_keychain/
H A DAccess.cpp153 convert(const SecPointer<ACL> &acl) argument
155 return *acl;
246 AclEntryInfo *aclp = acls; // -> next unfilled acl element
248 SecPointer<ACL> acl = it->second; local
249 if (acl->isOwner()) {
250 acl->copyAclOwner(owner, alloc);
252 aclp->handle() = acl->entryHandle();
253 acl->copyAclEntry(*aclp, alloc);
274 ACL *acl = it->second; local
275 switch (acl
332 const AclEntryInfo *acl = AclEntryInfo::overlay(acls); local
[all...]
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/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());
H A Dmuscle++.h112 virtual const ACL &acl() const = 0;
113 virtual ACL &acl() = 0;
131 const ACL &acl() const;
132 ACL &acl();
147 const ACL &acl() const;
148 ACL &acl();
/macosx-10.10.1/Security-57031.1.35/Security/include/securityd_client/
H A Dtransition.cpp674 const AccessCredentials *cred, const AclEntryInput *acl,
681 CopyIn proto(acl ? &acl->proto() : NULL, reinterpret_cast<xdrproc_t>(xdr_CSSM_ACL_ENTRY_PROTOTYPE));
671 unwrapKey(DbHandle db, const Context &context, KeyHandle key, KeyHandle publicKey, const CssmWrappedKey &wrappedKey, uint32 usage, uint32 attr, const AccessCredentials *cred, const AclEntryInput *acl, CssmData &descriptiveData, KeyHandle &newKey, CssmKey::Header &newHeader, Allocator &alloc) argument
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_cdsa_utilities/lib/
H A Daclsubject.cpp43 void AclValidationContext::init(ObjectAcl *acl, AclSubject *subject) argument
45 mAcl = acl;
H A Daclsubject.h100 ObjectAcl *acl() const { return mAcl; } function in class:Security::AclValidationContext
114 void init(ObjectAcl *acl, AclSubject *subject);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/Security/
H A DAccess.cpp153 convert(const SecPointer<ACL> &acl) argument
155 return *acl;
246 AclEntryInfo *aclp = acls; // -> next unfilled acl element
248 SecPointer<ACL> acl = it->second; local
249 if (acl->isOwner()) {
250 acl->copyAclOwner(owner, alloc);
252 aclp->handle() = acl->entryHandle();
253 acl->copyAclEntry(*aclp, alloc);
274 ACL *acl = it->second; local
275 switch (acl
332 const AclEntryInfo *acl = AclEntryInfo::overlay(acls); local
[all...]
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 DAccess.cpp153 convert(const SecPointer<ACL> &acl) argument
155 return *acl;
246 AclEntryInfo *aclp = acls; // -> next unfilled acl element
248 SecPointer<ACL> acl = it->second; local
249 if (acl->isOwner()) {
250 acl->copyAclOwner(owner, alloc);
252 aclp->handle() = acl->entryHandle();
253 acl->copyAclEntry(*aclp, alloc);
274 ACL *acl = it->second; local
275 switch (acl
332 const AclEntryInfo *acl = AclEntryInfo::overlay(acls); local
[all...]
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_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());
H A Dmuscle++.h112 virtual const ACL &acl() const = 0;
113 virtual ACL &acl() = 0;
131 const ACL &acl() const;
132 ACL &acl();
147 const ACL &acl() const;
148 ACL &acl();
/macosx-10.10.1/Security-57031.1.35/Security/libsecurityd/lib/
H A Dtransition.cpp674 const AccessCredentials *cred, const AclEntryInput *acl,
681 CopyIn proto(acl ? &acl->proto() : NULL, reinterpret_cast<xdrproc_t>(xdr_CSSM_ACL_ENTRY_PROTOTYPE));
671 unwrapKey(DbHandle db, const Context &context, KeyHandle key, KeyHandle publicKey, const CssmWrappedKey &wrappedKey, uint32 usage, uint32 attr, const AccessCredentials *cred, const AclEntryInput *acl, CssmData &descriptiveData, KeyHandle &newKey, CssmKey::Header &newHeader, Allocator &alloc) argument
/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/Security-57031.1.35/Security/sec/securityd/
H A DSecDbKeychainItem.c53 // From SecItemServer, should be a acl-check block
64 static void kc_dict_from_auth_data(const SecDbClass *class, const uint8_t *der, const uint8_t *der_end, CFMutableDictionaryRef *authenticated_attributes, CFMutableDictionaryRef *acl);
419 CFMutableDictionaryRef acl = NULL; local
420 kc_dict_from_auth_data(db_class, cursor, cursor + wrapped_key_size, &authenticated_attributes, &acl);
421 SecAccessControlSetConstraints(access_control, acl);
422 CFReleaseSafe(acl);
652 static void kc_dict_from_auth_data(const SecDbClass *class, const uint8_t *der, const uint8_t *der_end, CFMutableDictionaryRef *authenticated_attributes, CFMutableDictionaryRef *acl) argument
659 *acl = CFDictionaryCreateMutableCopy(NULL, 0, authenticated_data);
661 CFDictionaryRemoveValue(*acl, attr_desc->name);
H A DSecKeybagSupport.c168 CFDataRef acl, CFDataRef acm_context, CFDataRef caller_access_groups, CFErrorRef *error) {
175 aks_operation_optional_params(0, 0, CFDataGetBytePtr(acl), CFDataGetLength(acl), 0, 0, (void**)&params, &params_len);
166 ks_crypt_acl(uint32_t operation, keybag_handle_t keybag, keyclass_t keyclass, uint32_t textLength, const uint8_t *source, CFMutableDataRef dest, CFDataRef acl, CFDataRef acm_context, CFDataRef caller_access_groups, CFErrorRef *error) argument
H A DSecKeybagSupport.h89 CFMutableDataRef dest, CFDataRef acl, CFDataRef acm_context, CFDataRef caller_access_groups,

Completed in 187 milliseconds

12345678