/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/ |
H A D | file-has-acl.c | 22 #include "acl.h" 24 #include "acl-internal.h" 44 int n = acl (name, GETACLCNT, 0, NULL); 56 acl_t acl = acl_get_file (name, ACL_TYPE_ACCESS); 57 if (acl) 59 ret = (3 < acl_entries (acl)); 60 acl_free (acl); 63 acl = acl_get_file (name, ACL_TYPE_DEFAULT); 64 if (acl) 66 ret = (0 < acl_entries (acl)); [all...] |
H A D | acl.c | 0 /* acl.c - access control lists 22 #include "acl.h" 24 #include "acl-internal.h" 58 acl_t acl; local 60 acl = acl_get_fd (source_desc); 62 acl = acl_get_file (src_name, ACL_TYPE_ACCESS); 63 if (acl == NULL) 75 ret = acl_set_fd (dest_desc, acl); 77 ret = acl_set_file (dst_name, ACL_TYPE_ACCESS, acl); 84 int n = acl_entries (acl); 181 acl_t acl; local [all...] |
H A D | acl_entries.c | 22 #include "acl-internal.h" 27 acl_entries (acl_t acl) argument 31 char *text = acl_to_text (acl, NULL);
|
H A D | acl.h | 0 /* acl.c - access control lists 23 # include <sys/acl.h>
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ |
H A D | generic_acl.c | 21 struct posix_acl *acl; local 25 acl = ops->getacl(inode, type); 26 if (!acl) 28 posix_acl_release(acl); 56 struct posix_acl *acl; local 59 acl = ops->getacl(inode, type); 60 if (!acl) 62 error = posix_acl_to_xattr(acl, buffer, size); 63 posix_acl_release(acl); 76 struct posix_acl *acl local 133 struct posix_acl *acl = NULL; local 180 struct posix_acl *acl, *clone; local [all...] |
H A D | xattr_acl.c | 4 * Almost all from linux/fs/ext2/acl.c: 23 struct posix_acl *acl; local 39 acl = posix_acl_alloc(count, GFP_KERNEL); 40 if (!acl) 42 acl_e = acl->a_entries; 65 return acl; 68 posix_acl_release(acl); 77 posix_acl_to_xattr(const struct posix_acl *acl, void *buffer, size_t size) argument 83 real_size = posix_acl_xattr_size(acl->a_count); 91 for (n=0; n < acl [all...] |
H A D | posix_acl.c | 42 struct posix_acl *acl = kmalloc(size, flags); local 43 if (acl) { 44 atomic_set(&acl->a_refcount, 1); 45 acl->a_count = count; 47 return acl; 54 posix_acl_clone(const struct posix_acl *acl, gfp_t flags) argument 58 if (acl) { 59 int size = sizeof(struct posix_acl) + acl->a_count * 61 clone = kmemdup(acl, size, flags); 69 * Check if an acl i 72 posix_acl_valid(const struct posix_acl *acl) argument 147 posix_acl_equiv_mode(const struct posix_acl *acl, mode_t *mode_p) argument 188 struct posix_acl *acl = posix_acl_alloc(3, flags); local 211 posix_acl_permission(struct inode *inode, const struct posix_acl *acl, int want) argument 278 posix_acl_create_masq(struct posix_acl *acl, mode_t *mode_p) argument 336 posix_acl_chmod_masq(struct posix_acl *acl, mode_t mode) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jffs2/ |
H A D | acl.c | 58 struct posix_acl *acl; local 79 acl = posix_acl_alloc(count, GFP_KERNEL); 80 if (!acl) 87 acl->a_entries[i].e_tag = je16_to_cpu(entry->e_tag); 88 acl->a_entries[i].e_perm = je16_to_cpu(entry->e_perm); 89 switch (acl->a_entries[i].e_tag) { 95 acl->a_entries[i].e_id = ACL_UNDEFINED_ID; 103 acl->a_entries[i].e_id = je32_to_cpu(entry->e_id); 112 return acl; 114 posix_acl_release(acl); 118 jffs2_acl_to_medium(const struct posix_acl *acl, size_t *size) argument 161 struct posix_acl *acl = JFFS2_ACL_NOT_CACHED; local 170 jffs2_iset_acl(struct inode *inode, struct posix_acl **i_acl, struct posix_acl *acl) argument 182 struct posix_acl *acl; local 231 jffs2_set_acl(struct inode *inode, int type, struct posix_acl *acl) argument 291 struct posix_acl *acl; local 313 struct posix_acl *acl = NULL, *clone; local 364 struct posix_acl *acl, *clone; local 405 struct posix_acl *acl; local 435 struct posix_acl *acl; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext2/ |
H A D | acl.c | 2 * linux/fs/ext2/acl.c 14 #include "acl.h" 24 struct posix_acl *acl; local 39 acl = posix_acl_alloc(count, GFP_KERNEL); 40 if (!acl) 47 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); 48 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); 49 switch(acl->a_entries[n].e_tag) { 56 acl->a_entries[n].e_id = ACL_UNDEFINED_ID; 64 acl 85 ext2_acl_to_disk(const struct posix_acl *acl, size_t *size) argument 131 struct posix_acl *acl = EXT2_ACL_NOT_CACHED; local 142 ext2_iset_acl(struct inode *inode, struct posix_acl **i_acl, struct posix_acl *acl) argument 161 struct posix_acl *acl; local 218 ext2_set_acl(struct inode *inode, int type, struct posix_acl *acl) argument 283 struct posix_acl *acl = ext2_get_acl(inode, ACL_TYPE_ACCESS); local 311 struct posix_acl *acl = NULL; local 370 struct posix_acl *acl, *clone; local 423 struct posix_acl *acl; local 462 struct posix_acl *acl; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext3/ |
H A D | acl.c | 2 * linux/fs/ext3/acl.c 15 #include "acl.h" 25 struct posix_acl *acl; local 40 acl = posix_acl_alloc(count, GFP_KERNEL); 41 if (!acl) 48 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); 49 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); 50 switch(acl->a_entries[n].e_tag) { 57 acl->a_entries[n].e_id = ACL_UNDEFINED_ID; 65 acl 86 ext3_acl_to_disk(const struct posix_acl *acl, size_t *size) argument 132 struct posix_acl *acl = EXT3_ACL_NOT_CACHED; local 143 ext3_iset_acl(struct inode *inode, struct posix_acl **i_acl, struct posix_acl *acl) argument 164 struct posix_acl *acl; local 223 ext3_set_acl(handle_t *handle, struct inode *inode, int type, struct posix_acl *acl) argument 288 struct posix_acl *acl = ext3_get_acl(inode, ACL_TYPE_ACCESS); local 316 struct posix_acl *acl = NULL; local 377 struct posix_acl *acl, *clone; local 447 struct posix_acl *acl; local 487 struct posix_acl *acl; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext4/ |
H A D | acl.c | 2 * linux/fs/ext4/acl.c 15 #include "acl.h" 25 struct posix_acl *acl; local 40 acl = posix_acl_alloc(count, GFP_KERNEL); 41 if (!acl) 48 acl->a_entries[n].e_tag = le16_to_cpu(entry->e_tag); 49 acl->a_entries[n].e_perm = le16_to_cpu(entry->e_perm); 50 switch(acl->a_entries[n].e_tag) { 57 acl->a_entries[n].e_id = ACL_UNDEFINED_ID; 65 acl 86 ext4_acl_to_disk(const struct posix_acl *acl, size_t *size) argument 132 struct posix_acl *acl = EXT4_ACL_NOT_CACHED; local 143 ext4_iset_acl(struct inode *inode, struct posix_acl **i_acl, struct posix_acl *acl) argument 164 struct posix_acl *acl; local 223 ext4_set_acl(handle_t *handle, struct inode *inode, int type, struct posix_acl *acl) argument 288 struct posix_acl *acl = ext4_get_acl(inode, ACL_TYPE_ACCESS); local 316 struct posix_acl *acl = NULL; local 377 struct posix_acl *acl, *clone; local 447 struct posix_acl *acl; local 487 struct posix_acl *acl; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/reiserfs/ |
H A D | xattr_acl.c | 14 struct posix_acl *acl); 19 struct posix_acl *acl; local 28 acl = posix_acl_from_xattr(value, size); 29 if (IS_ERR(acl)) { 30 return PTR_ERR(acl); 31 } else if (acl) { 32 error = posix_acl_valid(acl); 37 acl = NULL; 39 error = reiserfs_set_acl(inode, type, acl); 42 posix_acl_release(acl); 49 struct posix_acl *acl; local 73 struct posix_acl *acl; local 131 posix_acl_to_disk(const struct posix_acl *acl, size_t * size) argument 184 struct posix_acl *acl, **p_acl; local 246 reiserfs_set_acl(struct inode *inode, int type, struct posix_acl *acl) argument 323 struct posix_acl *acl; local 405 struct posix_acl *acl; local 421 struct posix_acl *acl, *clone; local 483 struct posix_acl **acl = &reiserfs_i->i_acl_access; local 536 struct posix_acl **acl = &reiserfs_i->i_acl_default; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/ |
H A D | posix_acl.h | 46 #define FOREACH_ACL_ENTRY(pa, acl, pe) \ 47 for(pa=(acl)->a_entries, pe=pa+(acl)->a_count; pa<pe; pa++) 54 posix_acl_dup(struct posix_acl *acl) argument 56 if (acl) 57 atomic_inc(&acl->a_refcount); 58 return acl; 65 posix_acl_release(struct posix_acl *acl) argument 67 if (acl && atomic_dec_and_test(&acl [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfs/ |
H A D | nfs3acl.c | 13 struct posix_acl *acl; local 24 acl = nfs3_proc_getacl(inode, ACL_TYPE_ACCESS); 25 if (IS_ERR(acl)) 26 return PTR_ERR(acl); 27 if (acl) { 29 posix_acl_release(acl); 33 acl = nfs3_proc_getacl(inode, ACL_TYPE_DEFAULT); 34 if (IS_ERR(acl)) 35 return PTR_ERR(acl); 36 if (acl) { 53 struct posix_acl *acl; local 82 struct posix_acl *acl; local 140 struct posix_acl *acl = ERR_PTR(-EINVAL); local 166 nfs3_cache_acls(struct inode *inode, struct posix_acl *acl, struct posix_acl *dfacl) argument 199 struct posix_acl *acl; local 285 nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl, struct posix_acl *dfacl) argument 350 nfs3_proc_setacl(struct inode *inode, int type, struct posix_acl *acl) argument 394 struct posix_acl *dfacl, *acl; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/ |
H A D | acl.c | 22 #include "acl.h" 38 struct posix_acl *acl; local 48 acl = posix_acl_from_xattr(er->er_data, er->er_data_len); 49 if (IS_ERR(acl)) 50 return PTR_ERR(acl); 51 if (!acl) { 56 error = posix_acl_valid(acl); 61 error = posix_acl_equiv_mode(acl, mode); 69 posix_acl_release(acl); 87 static int acl_get(struct gfs2_inode *ip, int access, struct posix_acl **acl, argument 157 struct posix_acl *acl = NULL; local 201 struct posix_acl *acl = NULL, *clone; local 263 struct posix_acl *acl = NULL, *clone; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/vfs/ |
H A D | acl.c | 31 #include <atalk/acl.h> 69 if ( (acl(name, ACE_SETACL, trivial_aces, new_aces)) == 0) 72 LOG(log_error, logtype_afpd, "set_acl: error setting acl: %s", strerror(errno)); 104 acl_t acl = NULL; local 113 EC_NULL_LOG_ERR(acl = acl_init(0), AFPERR_MISC); 114 EC_ZERO_LOG_ERR(acl_set_file(name, ACL_TYPE_DEFAULT, acl), AFPERR_MISC); 115 EC_ZERO_LOG_ERR(acl_free(acl), AFPERR_MISC); 116 acl = NULL; 120 EC_NULL_LOG_ERR(acl = acl_get_file(name, ACL_TYPE_ACCESS), AFPERR_MISC); 121 for ( ; acl_get_entry(acl, entry_i [all...] |
H A D | Makefile.am | 8 libvfs_la_SOURCES += acl.c
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jfs/ |
H A D | acl.c | 32 struct posix_acl *acl; local 67 acl = NULL; 69 acl = ERR_PTR(size); 71 acl = posix_acl_from_xattr(value, size); 72 if (!IS_ERR(acl)) 73 *p_acl = posix_acl_dup(acl); 76 return acl; 80 struct posix_acl *acl) 101 return acl ? -EACCES : 0; 106 if (acl) { 79 jfs_set_acl(tid_t tid, struct inode *inode, int type, struct posix_acl *acl) argument 132 struct posix_acl *acl = jfs_get_acl(inode, ACL_TYPE_ACCESS); local 150 struct posix_acl *acl = NULL; local 195 struct posix_acl *acl, *clone; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/vfs/ |
H A D | acl.c | 31 #include <atalk/acl.h> 69 if ( (acl(name, ACE_SETACL, trivial_aces, new_aces)) == 0) 72 LOG(log_error, logtype_afpd, "set_acl: error setting acl: %s", strerror(errno)); 104 acl_t acl = NULL; local 113 EC_NULL_LOG_ERR(acl = acl_init(0), AFPERR_MISC); 114 EC_ZERO_LOG_ERR(acl_set_file(name, ACL_TYPE_DEFAULT, acl), AFPERR_MISC); 115 EC_ZERO_LOG_ERR(acl_free(acl), AFPERR_MISC); 116 acl = NULL; 122 EC_NULL_LOG_ERR(acl = acl_get_file(name, ACL_TYPE_ACCESS), AFPERR_MISC); 123 for ( ; acl_get_entry(acl, entry_i [all...] |
H A D | Makefile.am | 8 libvfs_la_SOURCES += acl.c
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfs_common/ |
H A D | nfsacl.c | 38 struct posix_acl *acl; member in struct:nfsacl_encode_desc 52 &nfsacl_desc->acl->a_entries[nfsacl_desc->count++]; 76 struct posix_acl *acl, int encode_entries, int typeflag) 78 int entries = (acl && acl->a_count) ? max_t(int, acl->a_count, 4) : 0; 85 .acl = acl, 96 if (encode_entries && acl && acl 75 nfsacl_encode(struct xdr_buf *buf, unsigned int base, struct inode *inode, struct posix_acl *acl, int encode_entries, int typeflag) argument 122 struct posix_acl *acl; member in struct:nfsacl_decode_desc 186 posix_acl_from_nfsacl(struct posix_acl *acl) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/python/examples/spoolss/ |
H A D | psec.py | 31 for acl in secdesc["dacl"]["ace_list"]: 32 print "%d %d 0x%08x %s" % (acl["type"], acl["flags"], 33 acl["mask"], acl["trustee"]) 68 for acl in lines[2:]: 69 match = re.match("(\d+) (\d+) (0[xX][\dA-Fa-f]+) (\S+)", acl)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/include/atalk/ |
H A D | acl.h | 25 #include <sys/acl.h> 30 #include <sys/acl.h>
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/mm/ |
H A D | shmem_acl.c | 20 struct posix_acl *acl = NULL; local 25 acl = posix_acl_dup(SHMEM_I(inode)->i_acl); 29 acl = posix_acl_dup(SHMEM_I(inode)->i_default_acl); 34 return acl; 41 shmem_set_acl(struct inode *inode, int type, struct posix_acl *acl) argument 49 SHMEM_I(inode)->i_acl = posix_acl_dup(acl); 54 SHMEM_I(inode)->i_default_acl = posix_acl_dup(acl); 69 * system.posix_acl_access xattr using the generic acl functions. 110 * system.posix_acl_default xattr using the generic acl functions. 149 * shmem_acl_init - Inizialize the acl( 180 struct posix_acl *acl = shmem_get_acl(inode, ACL_TYPE_ACCESS); local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/python/ |
H A D | py_ntsec.c | 117 BOOL py_from_ACL(PyObject **dict, SEC_ACL *acl) argument 122 if (!acl) { 128 ace_list = PyList_New(acl->num_aces); 130 for (i = 0; i < acl->num_aces; i++) { 133 if (py_from_ACE(&obj, &acl->ace[i])) 137 *dict = Py_BuildValue("{sisN}", "revision", acl->revision, 143 BOOL py_to_ACL(SEC_ACL *acl, PyObject *dict, TALLOC_CTX *mem_ctx) argument 152 acl->revision = PyInt_AsLong(obj); 158 acl->num_aces = PyList_Size(obj); 160 acl [all...] |