file_acl 396 source3/modules/vfs_afsacl.c struct afs_acl *file_acl) file_acl 401 source3/modules/vfs_afsacl.c init_afs_acl(file_acl); file_acl 405 source3/modules/vfs_afsacl.c add_afs_ace(file_acl, ace->positive, ace->name, file_acl 424 source3/modules/vfs_afsacl.c struct afs_acl *file_acl, file_acl 435 source3/modules/vfs_afsacl.c for (file_ace = file_acl->acelist; file_acl 451 source3/modules/vfs_afsacl.c for (ace = file_acl->acelist; ace != NULL; ace = ace->next) { file_acl 897 source3/modules/vfs_afsacl.c struct afs_acl dir_acl, file_acl; file_acl 912 source3/modules/vfs_afsacl.c ZERO_STRUCT(file_acl); file_acl 938 source3/modules/vfs_afsacl.c split_afs_acl(&old_afs_acl, &dir_acl, &file_acl); file_acl 946 source3/modules/vfs_afsacl.c free_afs_acl(&file_acl); file_acl 964 source3/modules/vfs_afsacl.c free_afs_acl(&file_acl); file_acl 966 source3/modules/vfs_afsacl.c nt_to_afs_file_rights, &file_acl)) file_acl 970 source3/modules/vfs_afsacl.c merge_afs_acls(&dir_acl, &file_acl, &new_afs_acl); file_acl 991 source3/modules/vfs_afsacl.c free_afs_acl(&file_acl); file_acl 22 source3/modules/vfs_aixacl.c extern SMB_ACL_T aixacl_to_smbacl( struct acl *file_acl); file_acl 29 source3/modules/vfs_aixacl.c struct acl *file_acl = (struct acl *)NULL; file_acl 44 source3/modules/vfs_aixacl.c file_acl = (struct acl *)SMB_MALLOC(BUFSIZ); file_acl 46 source3/modules/vfs_aixacl.c if(file_acl == NULL) { file_acl 52 source3/modules/vfs_aixacl.c memset(file_acl,0,BUFSIZ); file_acl 54 source3/modules/vfs_aixacl.c rc = statacl((char *)path_p,0,file_acl,BUFSIZ); file_acl 56 source3/modules/vfs_aixacl.c struct acl *new_acl = SMB_MALLOC(file_acl->acl_len + sizeof(struct acl)); file_acl 58 source3/modules/vfs_aixacl.c SAFE_FREE(file_acl); file_acl 62 source3/modules/vfs_aixacl.c file_acl = new_acl; file_acl 63 source3/modules/vfs_aixacl.c rc = statacl((char *)path_p,0,file_acl,file_acl->acl_len+sizeof(struct acl)); file_acl 66 source3/modules/vfs_aixacl.c SAFE_FREE(file_acl); file_acl 74 source3/modules/vfs_aixacl.c result = aixacl_to_smbacl(file_acl); file_acl 75 source3/modules/vfs_aixacl.c SAFE_FREE(file_acl); file_acl 86 source3/modules/vfs_aixacl.c struct acl *file_acl = (struct acl *)NULL; file_acl 96 source3/modules/vfs_aixacl.c file_acl = (struct acl *)SMB_MALLOC(BUFSIZ); file_acl 98 source3/modules/vfs_aixacl.c if(file_acl == NULL) { file_acl 104 source3/modules/vfs_aixacl.c memset(file_acl,0,BUFSIZ); file_acl 106 source3/modules/vfs_aixacl.c rc = fstatacl(fsp->fh->fd,0,file_acl,BUFSIZ); file_acl 108 source3/modules/vfs_aixacl.c struct acl *new_acl = SMB_MALLOC(file_acl->acl_len + sizeof(struct acl)); file_acl 110 source3/modules/vfs_aixacl.c SAFE_FREE(file_acl); file_acl 114 source3/modules/vfs_aixacl.c file_acl = new_acl; file_acl 115 source3/modules/vfs_aixacl.c rc = fstatacl(fsp->fh->fd,0,file_acl,file_acl->acl_len + sizeof(struct acl)); file_acl 118 source3/modules/vfs_aixacl.c SAFE_FREE(file_acl); file_acl 125 source3/modules/vfs_aixacl.c result = aixacl_to_smbacl(file_acl); file_acl 126 source3/modules/vfs_aixacl.c SAFE_FREE(file_acl); file_acl 138 source3/modules/vfs_aixacl.c struct acl *file_acl = NULL; file_acl 141 source3/modules/vfs_aixacl.c file_acl = aixacl_smb_to_aixacl(type, theacl); file_acl 142 source3/modules/vfs_aixacl.c if (!file_acl) file_acl 145 source3/modules/vfs_aixacl.c rc = chacl((char *)name,file_acl,file_acl->acl_len); file_acl 148 source3/modules/vfs_aixacl.c SAFE_FREE(file_acl); file_acl 158 source3/modules/vfs_aixacl.c struct acl *file_acl = NULL; file_acl 161 source3/modules/vfs_aixacl.c file_acl = aixacl_smb_to_aixacl(SMB_ACL_TYPE_ACCESS, theacl); file_acl 162 source3/modules/vfs_aixacl.c if (!file_acl) file_acl 165 source3/modules/vfs_aixacl.c rc = fchacl(fsp->fh->fd,file_acl,file_acl->acl_len); file_acl 168 source3/modules/vfs_aixacl.c SAFE_FREE(file_acl); file_acl 28 source3/modules/vfs_aixacl2.c extern SMB_ACL_T aixacl_to_smbacl( struct acl *file_acl); file_acl 22 source3/modules/vfs_aixacl_util.c SMB_ACL_T aixacl_to_smbacl(struct acl *file_acl) file_acl 37 source3/modules/vfs_aixacl_util.c acl_entry = file_acl->acl_ext; file_acl 42 source3/modules/vfs_aixacl_util.c DEBUG(10,("acl_last(file_acl) id %d\n",acl_last(file_acl))); file_acl 49 source3/modules/vfs_aixacl_util.c if(file_acl->acl_mode & S_IXACL){ file_acl 51 source3/modules/vfs_aixacl_util.c while(acl_entry < acl_last(file_acl)) { file_acl 159 source3/modules/vfs_aixacl_util.c ace->a_perm = file_acl->g_access << 6; file_acl 164 source3/modules/vfs_aixacl_util.c ace->a_perm = file_acl->o_access << 6; file_acl 169 source3/modules/vfs_aixacl_util.c ace->a_perm = file_acl->u_access << 6; file_acl 208 source3/modules/vfs_aixacl_util.c struct acl *file_acl = NULL; file_acl 223 source3/modules/vfs_aixacl_util.c file_acl = (struct acl *)SMB_MALLOC(BUFSIZ); file_acl 224 source3/modules/vfs_aixacl_util.c if(file_acl == NULL) { file_acl 230 source3/modules/vfs_aixacl_util.c memset(file_acl,0,BUFSIZ); file_acl 232 source3/modules/vfs_aixacl_util.c file_acl->acl_len = ACL_SIZ; file_acl 233 source3/modules/vfs_aixacl_util.c file_acl->acl_mode = S_IXACL; file_acl 242 source3/modules/vfs_aixacl_util.c file_acl->u_access = aixacl_smb_to_aixperm(smb_entry->a_perm); file_acl 245 source3/modules/vfs_aixacl_util.c file_acl->g_access = aixacl_smb_to_aixperm(smb_entry->a_perm); file_acl 248 source3/modules/vfs_aixacl_util.c file_acl->o_access = aixacl_smb_to_aixperm(smb_entry->a_perm); file_acl 261 source3/modules/vfs_aixacl_util.c if((file_acl->acl_len + sizeof(struct acl_entry)) > acl_length) { file_acl 265 source3/modules/vfs_aixacl_util.c SAFE_FREE(file_acl); file_acl 271 source3/modules/vfs_aixacl_util.c memcpy(file_acl_temp,file_acl,file_acl->acl_len); file_acl 272 source3/modules/vfs_aixacl_util.c SAFE_FREE(file_acl); file_acl 273 source3/modules/vfs_aixacl_util.c file_acl = file_acl_temp; file_acl 276 source3/modules/vfs_aixacl_util.c acl_entry = (struct acl_entry *)((char *)file_acl + file_acl->acl_len); file_acl 277 source3/modules/vfs_aixacl_util.c file_acl->acl_len += sizeof(struct acl_entry); file_acl 295 source3/modules/vfs_aixacl_util.c return file_acl; file_acl 4359 source3/smbd/posix_acls.c SMB_ACL_T file_acl = NULL; file_acl 4410 source3/smbd/posix_acls.c file_acl = SMB_VFS_SYS_ACL_GET_FD(fsp); file_acl 4412 source3/smbd/posix_acls.c file_acl = SMB_VFS_SYS_ACL_GET_FILE( conn, fname, SMB_ACL_TYPE_ACCESS); file_acl 4415 source3/smbd/posix_acls.c if (file_acl == NULL) { file_acl 4423 source3/smbd/posix_acls.c while ( SMB_VFS_SYS_ACL_GET_ENTRY(conn, file_acl, entry_id, &entry) == 1) { file_acl 4478 source3/smbd/posix_acls.c if (file_acl) { file_acl 4479 source3/smbd/posix_acls.c SMB_VFS_SYS_ACL_FREE_ACL(conn, file_acl); file_acl 4495 source3/smbd/posix_acls.c SMB_ACL_T file_acl = NULL; file_acl 4502 source3/smbd/posix_acls.c if ((file_acl = create_posix_acl_from_wire(conn, num_acls, pdata)) == NULL) { file_acl 4508 source3/smbd/posix_acls.c if (SMB_VFS_SYS_ACL_SET_FD(fsp, file_acl) == -1) { file_acl 4511 source3/smbd/posix_acls.c SMB_VFS_SYS_ACL_FREE_ACL(conn, file_acl); file_acl 4515 source3/smbd/posix_acls.c if (SMB_VFS_SYS_ACL_SET_FILE(conn, fname, SMB_ACL_TYPE_ACCESS, file_acl) == -1) { file_acl 4518 source3/smbd/posix_acls.c SMB_VFS_SYS_ACL_FREE_ACL(conn, file_acl); file_acl 4524 source3/smbd/posix_acls.c SMB_VFS_SYS_ACL_FREE_ACL(conn, file_acl); file_acl 4638 source3/smbd/trans2.c SMB_ACL_T file_acl = NULL; file_acl 4644 source3/smbd/trans2.c file_acl = SMB_VFS_SYS_ACL_GET_FD(fsp); file_acl 4646 source3/smbd/trans2.c file_acl = SMB_VFS_SYS_ACL_GET_FILE(conn, fname, SMB_ACL_TYPE_ACCESS); file_acl 4649 source3/smbd/trans2.c if (file_acl == NULL && no_acl_syscall_error(errno)) { file_acl 4667 source3/smbd/trans2.c num_file_acls = count_acl_entries(conn, file_acl); file_acl 4675 source3/smbd/trans2.c if (file_acl) { file_acl 4676 source3/smbd/trans2.c SMB_VFS_SYS_ACL_FREE_ACL(conn, file_acl); file_acl 4690 source3/smbd/trans2.c if (!marshall_posix_acl(conn, pdata + SMB_POSIX_ACL_HEADER_SIZE, &sbuf, file_acl)) { file_acl 4691 source3/smbd/trans2.c if (file_acl) { file_acl 4692 source3/smbd/trans2.c SMB_VFS_SYS_ACL_FREE_ACL(conn, file_acl); file_acl 4702 source3/smbd/trans2.c if (file_acl) { file_acl 4703 source3/smbd/trans2.c SMB_VFS_SYS_ACL_FREE_ACL(conn, file_acl); file_acl 4714 source3/smbd/trans2.c if (file_acl) { file_acl 4715 source3/smbd/trans2.c SMB_VFS_SYS_ACL_FREE_ACL(conn, file_acl);