Home
last modified time | relevance | path

Searched refs:acl_state (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/fs/smb/server/
Dsmbacl.c376 struct posix_acl_state acl_state, default_acl_state; in parse_dacl() local
404 ret = init_acl_state(&acl_state, num_aces); in parse_dacl()
409 free_acl_state(&acl_state); in parse_dacl()
416 free_acl_state(&acl_state); in parse_dacl()
502 acl_state.owner.allow = ((acl_mode & 0700) >> 6) | 0004; in parse_dacl()
503 acl_state.users->aces[acl_state.users->n].uid = in parse_dacl()
505 acl_state.users->aces[acl_state.users->n++].perms.allow = in parse_dacl()
518 acl_state.owner.allow = ((mode & 0700) >> 6) | 0004; in parse_dacl()
519 acl_state.users->aces[acl_state.users->n].uid = fattr->cf_uid; in parse_dacl()
520 acl_state.users->aces[acl_state.users->n++].perms.allow = in parse_dacl()
[all …]
Dvfs.c1845 struct posix_acl_state acl_state; in ksmbd_vfs_set_init_posix_acl() local
1855 rc = init_acl_state(&acl_state, 1); in ksmbd_vfs_set_init_posix_acl()
1860 acl_state.owner.allow = (inode->i_mode & 0700) >> 6; in ksmbd_vfs_set_init_posix_acl()
1861 acl_state.group.allow = (inode->i_mode & 0070) >> 3; in ksmbd_vfs_set_init_posix_acl()
1862 acl_state.other.allow = inode->i_mode & 0007; in ksmbd_vfs_set_init_posix_acl()
1863 acl_state.users->aces[acl_state.users->n].uid = inode->i_uid; in ksmbd_vfs_set_init_posix_acl()
1864 acl_state.users->aces[acl_state.users->n++].perms.allow = in ksmbd_vfs_set_init_posix_acl()
1865 acl_state.owner.allow; in ksmbd_vfs_set_init_posix_acl()
1866 acl_state.groups->aces[acl_state.groups->n].gid = inode->i_gid; in ksmbd_vfs_set_init_posix_acl()
1867 acl_state.groups->aces[acl_state.groups->n++].perms.allow = in ksmbd_vfs_set_init_posix_acl()
[all …]