Searched refs:acl (Results 76 - 100 of 409) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.0.25b/source/utils/
H A Dprofiles.c61 SEC_ACL *acl; local
82 acl = sd->dacl;
83 verbose_output(" DACL: %d entries:\n", acl->num_aces);
84 for ( i=0; i<acl->num_aces; i++ ) {
86 sid_string_static(&acl->aces[i].trustee));
87 if ( sid_equal( &acl->aces[i].trustee, s1 ) ) {
88 sid_copy( &acl->aces[i].trustee, s2 );
91 sid_string_static(&acl->aces[i].trustee));
96 acl = sd->sacl;
97 verbose_output(" SACL: %d entries: \n", acl
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/source/modules/
H A Dnfs4_acls.c48 static SMB_ACL4_INT_T *get_validated_aclint(SMB4ACL_T *acl) argument
50 SMB_ACL4_INT_T *aclint = (SMB_ACL4_INT_T *)acl;
51 if (acl==NULL)
53 DEBUG(2, ("acl is NULL\n"));
87 SMB_ACL4_INT_T *acl = (SMB_ACL4_INT_T *)TALLOC_SIZE(mem_ctx, sizeof(SMB_ACL4_INT_T)); local
88 if (acl==NULL)
94 memset(acl, 0, sizeof(SMB_ACL4_INT_T));
95 acl->magic = SMB_ACL4_INT_MAGIC;
96 /* acl->first, last = NULL not needed */
97 return (SMB4ACL_T *)acl;
100 smb_add_ace4(SMB4ACL_T *acl, SMB_ACE4PROP_T *prop) argument
149 smb_first_ace4(SMB4ACL_T *acl) argument
158 smb_get_naces(SMB4ACL_T *acl) argument
190 smbacl4_nfs42win(SMB4ACL_T *acl, DOM_SID *psid_owner, DOM_SID *psid_group, SEC_ACE **ppnt_ace_list, int *pgood_aces ) argument
270 smb_get_nt_acl_nfs4(files_struct *fsp, uint32 security_info, SEC_DESC **ppdesc, SMB4ACL_T *acl) argument
374 smbacl4_dump_nfs4acl(int level, SMB4ACL_T *acl) argument
397 smbacl4_find_equal_special( SMB4ACL_T *acl, SMB_ACE4PROP_T *aceNew) argument
508 smbacl4_MergeIgnoreReject( enum smbacl4_acedup_enum acedup, SMB4ACL_T *acl, SMB_ACE4PROP_T *ace, BOOL *paddNewACE, int i ) argument
549 SMB4ACL_T *acl; local
586 SMB4ACL_T *acl = NULL; local
[all...]
H A Dgpfs.c31 static int (*gpfs_getacl_fn)(char *pathname, int flags, void *acl);
32 static int (*gpfs_putacl_fn)(char *pathname, int flags, void *acl);
101 int smbd_gpfs_getacl(char *pathname, int flags, void *acl) argument
108 return gpfs_getacl_fn(pathname, flags, acl);
111 int smbd_gpfs_putacl(char *pathname, int flags, void *acl) argument
118 return gpfs_putacl_fn(pathname, flags, acl);
219 int smbd_gpfs_getacl(char *pathname, int flags, void *acl) argument
225 int smbd_gpfs_putacl(char *pathname, int flags, void *acl) argument
H A Dvfs_aixacl2.c34 extern SMB_ACL_T aixacl_to_smbacl( struct acl *file_acl);
35 extern struct acl *aixacl_smb_to_aixacl(SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl);
42 static int32_t aixacl2_getlen(AIXJFS2_ACL_T *acl, acl_type_t *type) argument
47 len = acl->jfs2_acl[0].aclLength;
51 len = acl->aixc_acl[0].acl_len;
63 AIXJFS2_ACL_T *acl; local
71 acl = (AIXJFS2_ACL_T *)TALLOC_SIZE(mem_ctx, len);
72 if (acl == NULL) {
81 ret = aclx_get((char *)fname, ctl_flag, type, acl, &len, &mode);
83 len = aixacl2_getlen(acl, typ
199 AIXJFS2_ACL_T *acl; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.0.25b/source/modules/
H A Dnfs4_acls.c48 static SMB_ACL4_INT_T *get_validated_aclint(SMB4ACL_T *acl) argument
50 SMB_ACL4_INT_T *aclint = (SMB_ACL4_INT_T *)acl;
51 if (acl==NULL)
53 DEBUG(2, ("acl is NULL\n"));
87 SMB_ACL4_INT_T *acl = (SMB_ACL4_INT_T *)TALLOC_SIZE(mem_ctx, sizeof(SMB_ACL4_INT_T)); local
88 if (acl==NULL)
94 memset(acl, 0, sizeof(SMB_ACL4_INT_T));
95 acl->magic = SMB_ACL4_INT_MAGIC;
96 /* acl->first, last = NULL not needed */
97 return (SMB4ACL_T *)acl;
100 smb_add_ace4(SMB4ACL_T *acl, SMB_ACE4PROP_T *prop) argument
149 smb_first_ace4(SMB4ACL_T *acl) argument
158 smb_get_naces(SMB4ACL_T *acl) argument
190 smbacl4_nfs42win(SMB4ACL_T *acl, DOM_SID *psid_owner, DOM_SID *psid_group, SEC_ACE **ppnt_ace_list, int *pgood_aces ) argument
270 smb_get_nt_acl_nfs4(files_struct *fsp, uint32 security_info, SEC_DESC **ppdesc, SMB4ACL_T *acl) argument
374 smbacl4_dump_nfs4acl(int level, SMB4ACL_T *acl) argument
397 smbacl4_find_equal_special( SMB4ACL_T *acl, SMB_ACE4PROP_T *aceNew) argument
508 smbacl4_MergeIgnoreReject( enum smbacl4_acedup_enum acedup, SMB4ACL_T *acl, SMB_ACE4PROP_T *ace, BOOL *paddNewACE, int i ) argument
549 SMB4ACL_T *acl; local
586 SMB4ACL_T *acl = NULL; local
[all...]
H A Dgpfs.c31 static int (*gpfs_getacl_fn)(char *pathname, int flags, void *acl);
32 static int (*gpfs_putacl_fn)(char *pathname, int flags, void *acl);
101 int smbd_gpfs_getacl(char *pathname, int flags, void *acl) argument
108 return gpfs_getacl_fn(pathname, flags, acl);
111 int smbd_gpfs_putacl(char *pathname, int flags, void *acl) argument
118 return gpfs_putacl_fn(pathname, flags, acl);
219 int smbd_gpfs_getacl(char *pathname, int flags, void *acl) argument
225 int smbd_gpfs_putacl(char *pathname, int flags, void *acl) argument
H A Dvfs_aixacl2.c34 extern SMB_ACL_T aixacl_to_smbacl( struct acl *file_acl);
35 extern struct acl *aixacl_smb_to_aixacl(SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl);
42 static int32_t aixacl2_getlen(AIXJFS2_ACL_T *acl, acl_type_t *type) argument
47 len = acl->jfs2_acl[0].aclLength;
51 len = acl->aixc_acl[0].acl_len;
63 AIXJFS2_ACL_T *acl; local
71 acl = (AIXJFS2_ACL_T *)TALLOC_SIZE(mem_ctx, len);
72 if (acl == NULL) {
81 ret = aclx_get((char *)fname, ctl_flag, type, acl, &len, &mode);
83 len = aixacl2_getlen(acl, typ
199 AIXJFS2_ACL_T *acl; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.0.25b/source/modules/
H A Dnfs4_acls.c48 static SMB_ACL4_INT_T *get_validated_aclint(SMB4ACL_T *acl) argument
50 SMB_ACL4_INT_T *aclint = (SMB_ACL4_INT_T *)acl;
51 if (acl==NULL)
53 DEBUG(2, ("acl is NULL\n"));
87 SMB_ACL4_INT_T *acl = (SMB_ACL4_INT_T *)TALLOC_SIZE(mem_ctx, sizeof(SMB_ACL4_INT_T)); local
88 if (acl==NULL)
94 memset(acl, 0, sizeof(SMB_ACL4_INT_T));
95 acl->magic = SMB_ACL4_INT_MAGIC;
96 /* acl->first, last = NULL not needed */
97 return (SMB4ACL_T *)acl;
100 smb_add_ace4(SMB4ACL_T *acl, SMB_ACE4PROP_T *prop) argument
149 smb_first_ace4(SMB4ACL_T *acl) argument
158 smb_get_naces(SMB4ACL_T *acl) argument
190 smbacl4_nfs42win(SMB4ACL_T *acl, DOM_SID *psid_owner, DOM_SID *psid_group, SEC_ACE **ppnt_ace_list, int *pgood_aces ) argument
270 smb_get_nt_acl_nfs4(files_struct *fsp, uint32 security_info, SEC_DESC **ppdesc, SMB4ACL_T *acl) argument
374 smbacl4_dump_nfs4acl(int level, SMB4ACL_T *acl) argument
397 smbacl4_find_equal_special( SMB4ACL_T *acl, SMB_ACE4PROP_T *aceNew) argument
508 smbacl4_MergeIgnoreReject( enum smbacl4_acedup_enum acedup, SMB4ACL_T *acl, SMB_ACE4PROP_T *ace, BOOL *paddNewACE, int i ) argument
549 SMB4ACL_T *acl; local
586 SMB4ACL_T *acl = NULL; local
[all...]
H A Dgpfs.c31 static int (*gpfs_getacl_fn)(char *pathname, int flags, void *acl);
32 static int (*gpfs_putacl_fn)(char *pathname, int flags, void *acl);
101 int smbd_gpfs_getacl(char *pathname, int flags, void *acl) argument
108 return gpfs_getacl_fn(pathname, flags, acl);
111 int smbd_gpfs_putacl(char *pathname, int flags, void *acl) argument
118 return gpfs_putacl_fn(pathname, flags, acl);
219 int smbd_gpfs_getacl(char *pathname, int flags, void *acl) argument
225 int smbd_gpfs_putacl(char *pathname, int flags, void *acl) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/libcli/security/
H A Dcreate_descriptor.c86 static bool contains_inheritable_aces(struct security_acl *acl) argument
89 if (!acl)
92 for (i=0; i < acl->num_aces; i++) {
93 struct security_ace *ace = &acl->aces[i];
102 static struct security_acl *preprocess_creator_acl(TALLOC_CTX *mem, struct security_acl *acl) argument
106 if (!acl) {
112 for (i=0; i < acl->num_aces; i++) {
113 struct security_ace *ace = &acl->aces[i];
128 new_acl->revision = acl->revision;
136 static bool postprocess_acl(struct security_acl *acl, argument
171 calculate_inherited_from_parent(TALLOC_CTX *mem_ctx, struct security_acl *acl, bool is_container, struct GUID *object_list) argument
253 calculate_inherited_from_creator(TALLOC_CTX *mem_ctx, struct security_acl *acl, bool is_container, struct GUID *object_list) argument
[all...]
H A Dsddl.c295 struct security_acl *acl; local
300 acl = talloc_zero(sd, struct security_acl);
301 if (acl == NULL) return NULL;
302 acl->revision = SECURITY_ACL_REVISION_NT4;
306 return acl;
311 talloc_free(acl);
320 astr = talloc_strndup(acl, sddl+1, len);
322 talloc_free(acl);
325 acl->aces = talloc_realloc(acl, ac
543 sddl_encode_acl(TALLOC_CTX *mem_ctx, const struct security_acl *acl, uint32_t flags, const struct dom_sid *domain_sid) argument
600 char *acl = sddl_encode_acl(tmp_ctx, sd->dacl, sd->type, domain_sid); local
607 char *acl = sddl_encode_acl(tmp_ctx, sd->sacl, sd->type>>1, domain_sid); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/libcli/security/
H A Dcreate_descriptor.c86 static bool contains_inheritable_aces(struct security_acl *acl) argument
89 if (!acl)
92 for (i=0; i < acl->num_aces; i++) {
93 struct security_ace *ace = &acl->aces[i];
102 static struct security_acl *preprocess_creator_acl(TALLOC_CTX *mem, struct security_acl *acl) argument
106 if (!acl) {
112 for (i=0; i < acl->num_aces; i++) {
113 struct security_ace *ace = &acl->aces[i];
128 new_acl->revision = acl->revision;
136 static bool postprocess_acl(struct security_acl *acl, argument
171 calculate_inherited_from_parent(TALLOC_CTX *mem_ctx, struct security_acl *acl, bool is_container, struct GUID *object_list) argument
253 calculate_inherited_from_creator(TALLOC_CTX *mem_ctx, struct security_acl *acl, bool is_container, struct GUID *object_list) argument
[all...]
H A Dsddl.c295 struct security_acl *acl; local
300 acl = talloc_zero(sd, struct security_acl);
301 if (acl == NULL) return NULL;
302 acl->revision = SECURITY_ACL_REVISION_NT4;
306 return acl;
311 talloc_free(acl);
320 astr = talloc_strndup(acl, sddl+1, len);
322 talloc_free(acl);
325 acl->aces = talloc_realloc(acl, ac
543 sddl_encode_acl(TALLOC_CTX *mem_ctx, const struct security_acl *acl, uint32_t flags, const struct dom_sid *domain_sid) argument
600 char *acl = sddl_encode_acl(tmp_ctx, sd->dacl, sd->type, domain_sid); local
607 char *acl = sddl_encode_acl(tmp_ctx, sd->sacl, sd->type>>1, domain_sid); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/libcli/security/
H A Dcreate_descriptor.c86 static bool contains_inheritable_aces(struct security_acl *acl) argument
89 if (!acl)
92 for (i=0; i < acl->num_aces; i++) {
93 struct security_ace *ace = &acl->aces[i];
102 static struct security_acl *preprocess_creator_acl(TALLOC_CTX *mem, struct security_acl *acl) argument
106 if (!acl) {
112 for (i=0; i < acl->num_aces; i++) {
113 struct security_ace *ace = &acl->aces[i];
128 new_acl->revision = acl->revision;
136 static bool postprocess_acl(struct security_acl *acl, argument
171 calculate_inherited_from_parent(TALLOC_CTX *mem_ctx, struct security_acl *acl, bool is_container, struct GUID *object_list) argument
253 calculate_inherited_from_creator(TALLOC_CTX *mem_ctx, struct security_acl *acl, bool is_container, struct GUID *object_list) argument
[all...]
H A Dsddl.c295 struct security_acl *acl; local
300 acl = talloc_zero(sd, struct security_acl);
301 if (acl == NULL) return NULL;
302 acl->revision = SECURITY_ACL_REVISION_NT4;
306 return acl;
311 talloc_free(acl);
320 astr = talloc_strndup(acl, sddl+1, len);
322 talloc_free(acl);
325 acl->aces = talloc_realloc(acl, ac
543 sddl_encode_acl(TALLOC_CTX *mem_ctx, const struct security_acl *acl, uint32_t flags, const struct dom_sid *domain_sid) argument
600 char *acl = sddl_encode_acl(tmp_ctx, sd->dacl, sd->type, domain_sid); local
607 char *acl = sddl_encode_acl(tmp_ctx, sd->sacl, sd->type>>1, domain_sid); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/nfsd/
H A Dnfs3acl.c32 struct posix_acl *acl; local
45 acl = nfsd_get_posix_acl(fh, ACL_TYPE_ACCESS);
46 if (IS_ERR(acl)) {
47 int err = PTR_ERR(acl);
50 acl = NULL;
56 if (acl == NULL) {
60 acl = posix_acl_from_mode(inode->i_mode, GFP_KERNEL);
62 resp->acl_access = acl;
68 acl = nfsd_get_posix_acl(fh, ACL_TYPE_DEFAULT);
69 if (IS_ERR(acl)) {
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/nfsd/
H A Dnfs3acl.c32 struct posix_acl *acl; local
45 acl = nfsd_get_posix_acl(fh, ACL_TYPE_ACCESS);
46 if (IS_ERR(acl)) {
47 int err = PTR_ERR(acl);
50 acl = NULL;
56 if (acl == NULL) {
60 acl = posix_acl_from_mode(inode->i_mode, GFP_KERNEL);
62 resp->acl_access = acl;
68 acl = nfsd_get_posix_acl(fh, ACL_TYPE_DEFAULT);
69 if (IS_ERR(acl)) {
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/netatalk-3.0.5/include/atalk/
H A Dacl.h27 #include <sys/acl.h>
42 #include <sys/acl.h>
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/netatalk-3.0.5/include/atalk/
H A Dacl.h27 #include <sys/acl.h>
42 #include <sys/acl.h>
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/netatalk-3.0.5/include/atalk/
H A Dacl.h27 #include <sys/acl.h>
42 #include <sys/acl.h>
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/linux/
H A Dnfs4_acl.h49 int nfs4_acl_permission(struct nfs4_acl *acl, uid_t owner, gid_t group,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/linux/
H A Dnfs4_acl.h49 int nfs4_acl_permission(struct nfs4_acl *acl, uid_t owner, gid_t group,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/modules/
H A Dvfs_aixacl2.c28 extern SMB_ACL_T aixacl_to_smbacl( struct acl *file_acl);
29 extern struct acl *aixacl_smb_to_aixacl(SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl);
36 static int32_t aixacl2_getlen(AIXJFS2_ACL_T *acl, acl_type_t *type) argument
41 len = acl->jfs2_acl[0].aclLength;
45 len = acl->aixc_acl[0].acl_len;
57 AIXJFS2_ACL_T *acl; local
65 acl = (AIXJFS2_ACL_T *)TALLOC_SIZE(mem_ctx, len);
66 if (acl == NULL) {
75 ret = aclx_get((char *)fname, ctl_flag, type, acl, &len, &mode);
77 len = aixacl2_getlen(acl, typ
204 AIXJFS2_ACL_T *acl; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/modules/
H A Dvfs_aixacl2.c28 extern SMB_ACL_T aixacl_to_smbacl( struct acl *file_acl);
29 extern struct acl *aixacl_smb_to_aixacl(SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl);
36 static int32_t aixacl2_getlen(AIXJFS2_ACL_T *acl, acl_type_t *type) argument
41 len = acl->jfs2_acl[0].aclLength;
45 len = acl->aixc_acl[0].acl_len;
57 AIXJFS2_ACL_T *acl; local
65 acl = (AIXJFS2_ACL_T *)TALLOC_SIZE(mem_ctx, len);
66 if (acl == NULL) {
75 ret = aclx_get((char *)fname, ctl_flag, type, acl, &len, &mode);
77 len = aixacl2_getlen(acl, typ
204 AIXJFS2_ACL_T *acl; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/modules/
H A Dvfs_aixacl2.c28 extern SMB_ACL_T aixacl_to_smbacl( struct acl *file_acl);
29 extern struct acl *aixacl_smb_to_aixacl(SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl);
36 static int32_t aixacl2_getlen(AIXJFS2_ACL_T *acl, acl_type_t *type) argument
41 len = acl->jfs2_acl[0].aclLength;
45 len = acl->aixc_acl[0].acl_len;
57 AIXJFS2_ACL_T *acl; local
65 acl = (AIXJFS2_ACL_T *)TALLOC_SIZE(mem_ctx, len);
66 if (acl == NULL) {
75 ret = aclx_get((char *)fname, ctl_flag, type, acl, &len, &mode);
77 len = aixacl2_getlen(acl, typ
204 AIXJFS2_ACL_T *acl; local
[all...]

Completed in 307 milliseconds

1234567891011>>