Searched refs:file_acl (Results 1 - 6 of 6) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/modules/ |
H A D | vfs_aixacl.c | 23 extern SMB_ACL_T aixacl_to_smbacl( struct acl *file_acl); 30 struct acl *file_acl = (struct acl *)NULL; local 45 file_acl = (struct acl *)SMB_MALLOC(BUFSIZ); 47 if(file_acl == NULL) { 53 memset(file_acl,0,BUFSIZ); 55 rc = statacl((char *)path_p,0,file_acl,BUFSIZ); 57 struct acl *new_acl = SMB_MALLOC(file_acl->acl_len + sizeof(struct acl)); 59 SAFE_FREE(file_acl); 63 file_acl = new_acl; 64 rc = statacl((char *)path_p,0,file_acl,file_ac 88 struct acl *file_acl = (struct acl *)NULL; local 140 struct acl *file_acl = NULL; local 160 struct acl *file_acl = NULL; local [all...] |
H A D | vfs_aixacl_util.c | 23 SMB_ACL_T aixacl_to_smbacl(struct acl *file_acl) argument 38 acl_entry = file_acl->acl_ext; 43 DEBUG(10,("acl_last(file_acl) id %d\n",acl_last(file_acl))); 50 if(file_acl->acl_mode & S_IXACL){ 52 while(acl_entry < acl_last(file_acl)) { 160 ace->a_perm = file_acl->g_access << 6; 165 ace->a_perm = file_acl->o_access << 6; 170 ace->a_perm = file_acl->u_access << 6; 209 struct acl *file_acl local [all...] |
H A D | vfs_afsacl.c | 397 struct afs_acl *file_acl) 402 init_afs_acl(file_acl); 406 add_afs_ace(file_acl, ace->positive, ace->name, 425 struct afs_acl *file_acl, 436 for (file_ace = file_acl->acelist; 452 for (ace = file_acl->acelist; ace != NULL; ace = ace->next) { 891 struct afs_acl dir_acl, file_acl; local 906 ZERO_STRUCT(file_acl); 926 split_afs_acl(&old_afs_acl, &dir_acl, &file_acl); 934 free_afs_acl(&file_acl); 395 split_afs_acl(struct afs_acl *acl, struct afs_acl *dir_acl, struct afs_acl *file_acl) argument 424 merge_afs_acls(struct afs_acl *dir_acl, struct afs_acl *file_acl, struct afs_acl *target) argument [all...] |
H A D | vfs_aixacl2.c | 34 extern SMB_ACL_T aixacl_to_smbacl( struct acl *file_acl);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/smbd/ |
H A D | posix_acls.c | 3749 SMB_ACL_T file_acl = NULL; local 3800 file_acl = SMB_VFS_SYS_ACL_GET_FD(fsp, fsp->fh->fd); 3802 file_acl = SMB_VFS_SYS_ACL_GET_FILE( conn, fname, SMB_ACL_TYPE_ACCESS); 3805 if (file_acl == NULL) { 3813 while ( SMB_VFS_SYS_ACL_GET_ENTRY(conn, file_acl, entry_id, &entry) == 1) { 3870 if (file_acl) { 3871 SMB_VFS_SYS_ACL_FREE_ACL(conn, file_acl); 3887 SMB_ACL_T file_acl = NULL; local 3894 if ((file_acl = create_posix_acl_from_wire(conn, num_acls, pdata)) == NULL) { 3900 if (SMB_VFS_SYS_ACL_SET_FD(fsp, fsp->fh->fd, file_acl) [all...] |
H A D | trans2.c | 3956 SMB_ACL_T file_acl = NULL; local 3962 file_acl = SMB_VFS_SYS_ACL_GET_FD(fsp, fsp->fh->fd); 3964 file_acl = SMB_VFS_SYS_ACL_GET_FILE(conn, fname, SMB_ACL_TYPE_ACCESS); 3967 if (file_acl == NULL && no_acl_syscall_error(errno)) { 3982 num_file_acls = count_acl_entries(conn, file_acl); 3990 if (file_acl) { 3991 SMB_VFS_SYS_ACL_FREE_ACL(conn, file_acl); 4002 if (!marshall_posix_acl(conn, pdata + SMB_POSIX_ACL_HEADER_SIZE, &sbuf, file_acl)) { 4003 if (file_acl) { 4004 SMB_VFS_SYS_ACL_FREE_ACL(conn, file_acl); [all...] |
Completed in 183 milliseconds