summaryrefslogtreecommitdiff
path: root/net/strparser
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2022-07-26 09:45:30 +0300
committerChuck Lever <chuck.lever@oracle.com>2022-07-30 03:17:00 +0300
commitd6a97d3f589a3a46a16183e03f3774daee251317 (patch)
treef8aff91be21250a2dac3ef53603dc6c52ca5fdb9 /net/strparser
parent93adc1e391a761441d783828b93979b38093d011 (diff)
downloadlinux-d6a97d3f589a3a46a16183e03f3774daee251317.tar.xz
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>
Diffstat (limited to 'net/strparser')
0 files changed, 0 insertions, 0 deletions