Home
last modified time | relevance | path

Searched hist:d6a97d3f589a3a46a16183e03f3774daee251317 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/nfsd/
H A Dvfs.hdiff d6a97d3f589a3a46a16183e03f3774daee251317 Tue Jul 26 01:45:30 CDT 2022 NeilBrown <neilb@suse.de> NFSD: add security label to struct nfsd_attrs

nfsd_setattr() now sets a security label if provided, and nfsv4 provides
it in the 'open' and 'create' paths and the 'setattr' path.
If setting the label failed (including because the kernel doesn't
support labels), an error field in 'struct nfsd_attrs' is set, and the
caller can respond. The open/create callers clear
FATTR4_WORD2_SECURITY_LABEL in the returned attr set in this case.
The setattr caller returns the error.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
H A Dnfs4proc.cdiff d6a97d3f589a3a46a16183e03f3774daee251317 Tue Jul 26 01:45:30 CDT 2022 NeilBrown <neilb@suse.de> NFSD: add security label to struct nfsd_attrs

nfsd_setattr() now sets a security label if provided, and nfsv4 provides
it in the 'open' and 'create' paths and the 'setattr' path.
If setting the label failed (including because the kernel doesn't
support labels), an error field in 'struct nfsd_attrs' is set, and the
caller can respond. The open/create callers clear
FATTR4_WORD2_SECURITY_LABEL in the returned attr set in this case.
The setattr caller returns the error.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
H A Dvfs.cdiff d6a97d3f589a3a46a16183e03f3774daee251317 Tue Jul 26 01:45:30 CDT 2022 NeilBrown <neilb@suse.de> NFSD: add security label to struct nfsd_attrs

nfsd_setattr() now sets a security label if provided, and nfsv4 provides
it in the 'open' and 'create' paths and the 'setattr' path.
If setting the label failed (including because the kernel doesn't
support labels), an error field in 'struct nfsd_attrs' is set, and the
caller can respond. The open/create callers clear
FATTR4_WORD2_SECURITY_LABEL in the returned attr set in this case.
The setattr caller returns the error.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>