Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ksmbd/
Dsmbacl.c376 struct posix_acl_state acl_state, default_acl_state; in parse_dacl() local
411 ret = init_acl_state(&default_acl_state, num_aces); in parse_dacl()
504 default_acl_state.owner.allow = ((acl_mode & 0700) >> 6) | 0004; in parse_dacl()
505 default_acl_state.users->aces[default_acl_state.users->n].uid = in parse_dacl()
507 default_acl_state.users->aces[default_acl_state.users->n++].perms.allow = in parse_dacl()
519 default_acl_state.owner.allow = ((mode & 0700) >> 6) | 0004; in parse_dacl()
520 default_acl_state.users->aces[default_acl_state.users->n].uid = in parse_dacl()
522 default_acl_state.users->aces[default_acl_state.users->n++].perms.allow = in parse_dacl()
532 default_acl_state.group.allow = (mode & 0070) >> 3; in parse_dacl()
533 default_acl_state.groups->aces[default_acl_state.groups->n].gid = in parse_dacl()
[all …]
/linux-6.1.9/fs/nfsd/
Dnfs4acl.c696 struct posix_acl_state effective_acl_state, default_acl_state; in nfs4_acl_nfsv4_to_posix() local
703 ret = init_state(&default_acl_state, acl->naces); in nfs4_acl_nfsv4_to_posix()
724 process_one_v4_ace(&default_acl_state, ace); in nfs4_acl_nfsv4_to_posix()
735 *dpacl = posix_state_to_acl(&default_acl_state, in nfs4_acl_nfsv4_to_posix()
748 free_state(&default_acl_state); in nfs4_acl_nfsv4_to_posix()