Home
last modified time | relevance | path

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

/linux-6.12.1/fs/smb/server/
Dsmbacl.c376 struct posix_acl_state acl_state, default_acl_state; in parse_dacl() local
407 ret = init_acl_state(&default_acl_state, num_aces); in parse_dacl()
415 free_acl_state(&default_acl_state); in parse_dacl()
507 default_acl_state.owner.allow = ((acl_mode & 0700) >> 6) | 0004; in parse_dacl()
508 default_acl_state.users->aces[default_acl_state.users->n].uid = in parse_dacl()
510 default_acl_state.users->aces[default_acl_state.users->n++].perms.allow = in parse_dacl()
522 default_acl_state.owner.allow = ((mode & 0700) >> 6) | 0004; in parse_dacl()
523 default_acl_state.users->aces[default_acl_state.users->n].uid = in parse_dacl()
525 default_acl_state.users->aces[default_acl_state.users->n++].perms.allow = in parse_dacl()
535 default_acl_state.group.allow = (mode & 0070) >> 3; in parse_dacl()
[all …]
/linux-6.12.1/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()
744 if (default_acl_state.valid) { in nfs4_acl_nfsv4_to_posix()
745 if (!(default_acl_state.valid & ACL_USER_OBJ)) in nfs4_acl_nfsv4_to_posix()
746 default_acl_state.owner = effective_acl_state.owner; in nfs4_acl_nfsv4_to_posix()
747 if (!(default_acl_state.valid & ACL_GROUP_OBJ)) in nfs4_acl_nfsv4_to_posix()
748 default_acl_state.group = effective_acl_state.group; in nfs4_acl_nfsv4_to_posix()
749 if (!(default_acl_state.valid & ACL_OTHER)) in nfs4_acl_nfsv4_to_posix()
750 default_acl_state.other = effective_acl_state.other; in nfs4_acl_nfsv4_to_posix()
[all …]