/osnet-11/usr/src/lib/libc/common/sys/ |
H A D | acl.s | 30 .file "acl.s" 32 /* C library -- acl */ 33 /* int acl(const char *path, int cmd, int cnt, struct aclent *buf) */ 37 SYSCALL_RVAL1(acl) 39 SET_SIZE(acl)
|
/osnet-11/usr/src/lib/libsec/ |
H A D | inc.flg | 29 find_files "s.*" usr/src/common/acl
|
H A D | Makefile.com | 28 YFLAGS = -d -v -b acl 31 GENERATED_SRCS = acl.tab.o acl_lex.o 34 CLEANFILES += acl_lex.c acl.tab.c acl.tab.h 45 CPPFLAGS += -I$(SRCDIR) -I. -I../../../common/acl 52 $(OBJS_SHARED:%.o=$(SRC)/common/acl/%.c) 62 pics/%.o: ../../../common/acl/%.c 66 acl.tab.c acl.tab.h: $(SRCDIR)/acl [all...] |
H A D | Makefile | 43 common/acl.y
|
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_acl.c | 61 smb_acl_t *acl; local 65 if ((acl = malloc(size)) == NULL) 68 acl->sl_revision = revision; 69 acl->sl_bsize = bsize; 70 acl->sl_acecnt = acecnt; 71 acl->sl_aces = (smb_ace_t *)(acl + 1); 73 list_create(&acl->sl_sorted, sizeof (smb_ace_t), 75 return (acl); 79 smb_acl_free(smb_acl_t *acl) argument 105 smb_acl_len(smb_acl_t *acl) argument 112 smb_acl_isvalid(smb_acl_t *acl, int which_acl) argument 165 smb_acl_sort(smb_acl_t *acl) argument 242 smb_acl_t *acl; local 299 smb_acl_to_zfs(smb_acl_t *acl, uint32_t flags, int which_acl, acl_t **fs_acl) argument 482 smb_fsacl_null_empty(smb_acl_t *acl) argument 511 acl_t *acl; local 527 smb_fsacl_free(acl_t *acl) argument [all...] |
H A D | smb_sd.c | 152 * Get ZFS acl from the share via sa_share_get_acl(). 192 * Reads ZFS acl from filesystem using acl_get() method. Convert the ZFS acl to 222 * Apply ZFS acl to the share path via acl_set() method. 252 * ZFS acl and applies the acl to the share via sa_share_set_acl(). 376 smb_acl_t *acl = NULL; local 414 acl = smb_acl_from_zfs(fs_sd->sd_zdacl); 415 if (acl == NULL) { 425 smb_acl_sort(acl); 453 smb_sd_set_dacl(smb_sd_t *sd, smb_acl_t *acl, boolean_t present, int flags) argument 471 smb_sd_set_sacl(smb_sd_t *sd, smb_acl_t *acl, boolean_t present, int flags) argument [all...] |
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_acl.c | 36 #include <sys/acl.h> 202 * ZFS-style ACL (libsec acl, type=ACE_T) 209 acl_t *acl = NULL; local 245 acl = acl_alloc(ACE_T); 246 if (acl == NULL) { 251 error = smbfs_acl_sd2zfs(sd, acl, uidp, gidp); 257 *aclp = acl; 258 acl = NULL; 262 if (acl) 263 acl_free(acl); 274 smbfs_acl_set(int fd, acl_t *acl, uid_t uid, gid_t gid) argument 363 smbfs_fprint_ntacl(FILE *fp, i_ntacl_t *acl) argument [all...] |
H A D | libsmbfs.h | 38 #include <sys/acl.h> 174 * Get a ZFS-style acl from an FD opened in smbfs. 183 * Set a ZFS-style acl onto an FD opened in smbfs.
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | kdb_ext.c | 92 krb5_principal acl; local 97 if (krb5_parse_name(context, (char *)tlp->tl_data_contents, &acl) != 0) 100 if (krb5_principal_compare(context, req->proxy, acl)) { 102 krb5_free_principal(context, acl); 105 krb5_free_principal(context, acl);
|
/osnet-11/usr/src/lib/libsec/common/ |
H A D | llib-lsec | 39 #include <sys/acl.h>
|
H A D | aclutils.c | 75 aclcnt = acl(filename, cntcmd, 0, NULL); 81 if (acl(filename, ACE_GETACL, 120 * if acl's aren't supported then 141 acl_info->acl_cnt = acl(fname, cntcmd, 0, NULL); 171 error = acl(fname, getcmd, acl_info->acl_cnt, 220 * return -1 on failure, otherwise the number of acl 243 * Set an ACL, translates acl to ace_t when appropriate. 270 * In the case of 0 we will then fail in either acl(2) or 286 error = acl(acl_inp->file, 365 * Take an acl arra 368 acl_to_aclp(enum acl_type type, void *acl, int count) argument 480 acl_removeentries(acl_t *acl, acl_t *removeacl, int start_slot, int flag) argument [all...] |
H A D | acl.y | 39 acl_t *acl; 52 %type <acl> acl_entry 61 acl: acl_entry NL label 73 | acl_entry COMMA acl
|
H A D | aclmode.c | 35 #include <sys/acl.h>
|
H A D | aclutils.h | 30 #include <sys/acl.h>
|
H A D | aclsort.c | 42 #include <sys/acl.h>
|
H A D | aclcheck.c | 44 #include <sys/acl.h>
|
/osnet-11/usr/src/cmd/ntfsprogs/ |
H A D | sd.c | 27 ACL *acl; local 50 acl = (ACL*)((char*)sd + le32_to_cpu(sd->dacl)); 51 acl->revision = 2; 52 acl->alignment1 = 0; 53 acl->size = const_cpu_to_le16(0x34); 54 acl->ace_count = const_cpu_to_le16(2); 55 acl->alignment2 = const_cpu_to_le16(0); 60 aa_ace = (ACCESS_ALLOWED_ACE*)((char*)acl + sizeof(ACL)); 172 ACL *acl; local 190 //acl 402 ACL *acl; local [all...] |
H A D | ntfsinfo.c | 857 * given an acl, print it in a beautiful & lovely way. 859 static void ntfs_dump_acl(const char *prefix, ACL *acl) argument 865 printf("%sRevision\t %u\n", prefix, acl->revision); 871 ace_count = le16_to_cpu(acl->ace_count); 874 ace = (ACCESS_ALLOWED_ACE *)((char *)acl + 8);
|
/osnet-11/usr/src/lib/libntsvcs/common/ |
H A D | srvsvc_sd.c | 159 acl_t *acl; local 162 if (acl_fromtext(SMB_NTSVCS_OWNER_ALLOW_ALL_ACL, &acl) != 0) 168 fs_sd.sd_zdacl = acl; 215 srvsvc_acl_set_relative(uint8_t *sdbuf, smb_acl_t *acl) argument 224 m_acl->revision = acl->sl_revision; 226 m_acl->size = LE_IN16(&acl->sl_bsize); 228 m_acl->ace_count = LE_IN16(&acl->sl_acecnt); 390 smb_acl_t *acl; local 401 acl = smb_acl_alloc(rev, sz, ace_cnt); 403 return (acl); [all...] |
H A D | winreg_svc.c | 766 acl_t *acl; local 769 if (acl_fromtext(SMB_NTSVCS_OWNER_ALLOW_ALL_ACL, &acl) != 0) 775 fs_sd.sd_zdacl = acl;
|
/osnet-11/usr/src/lib/libshare/common/ |
H A D | libshare.h | 39 #include <sys/acl.h>
|
H A D | libshare_fs.c | 414 const char *sh_path, acl_t *acl) 426 return (ops->saf_share_set_acl(shdl, sh_name, sh_path, acl)); 413 safs_share_set_acl(libshare_handle_t *shdl, const char *sh_name, const char *sh_path, acl_t *acl) argument
|
/osnet-11/usr/src/lib/libntfs/common/libntfs/ |
H A D | dir.c | 1101 ACL *acl; local 1183 acl = (ACL*)((u8*)sid + sizeof(SID) + 4); 1184 sd->dacl = cpu_to_le32((u8*)acl - (u8*)sd); 1185 acl->revision = 2; 1186 acl->size = cpu_to_le16(sizeof(ACL) + sizeof(ACCESS_ALLOWED_ACE)); 1187 acl->ace_count = cpu_to_le16(1); 1188 ace = (ACCESS_ALLOWED_ACE*)((u8*)acl + sizeof(ACL));
|
/osnet-11/usr/src/cmd/ldap/ns_ldap/ |
H A D | idsconfig.sh | 1566 aci: (targetattr="userPassword")(version 3.0; acl self-read-pwd; allow (read,search) userdn="ldap:///self" and authmethod="sasl GSSAPI";) 1569 aci: (targetattr="userPassword")(version 3.0; acl host-read-pwd; allow (read,search) userdn="ldap:///cn=*+ipHostNumber=*,ou=Hosts,${LDAP_BASEDN}" and authmethod="sasl GSSAPI";) 2552 (version 3.0; acl ${ADMIN_ACI_NAME}; allow (${PERMS}) 2606 aci: (target="ldap:///${LDAP_BASEDN}")(targetattr="shadowLastChange||shadowMin||shadowMax||shadowWarning||shadowInactive||shadowExpire||shadowFlag||userPassword||loginShell||homeDirectory||gecos")(version 3.0; acl ${HOST_ACI_NAME}; allow (write,compare,read,search) authmethod="sasl GSSAPI" and userdn = "ldap:///cn=*+ipHostNumber=*,ou=Hosts,${LDAP_BASEDN}";) 3257 acl "Anonymous access"; 3267 acl "Allow self entry modification except for some attributes"; 3273 acl "Configuration Administrator"; 3280 acl "Configuration Administrators Group"; 4068 aci: (target="ldap:///${_jEXT}")(targetattr="*")(version 3.0; acl "Config";allow(read,search,compare)userdn="ldap:///anyone";) 4455 aci: (targetattr = "cn||uid||uidNumber||gidNumber||homeDirectory||shadowLastChange||shadowMin||shadowMax||shadowWarning||shadowInactive||shadowExpire||shadowFlag||memberUid||SolarisAttrKeyValue||SolarisAttrReserved1||SolarisAttrReserved2||SolarisUserQualifier")(version 3.0; acl [all...] |
/osnet-11/usr/src/lib/libshare_plugins/zfs/ |
H A D | libshare_zfs.c | 406 const char *sh_path, acl_t *acl) 430 rc = acl_set(sh_fname, acl); 405 sa_zfs_share_set_acl(libshare_handle_t *shdl, const char *sh_name, const char *sh_path, acl_t *acl) argument
|