]> rtime.felk.cvut.cz Git - linux-imx.git/commit
NFS: Client implementation of Labeled-NFS
authorDavid Quigley <dpquigl@davequigley.com>
Wed, 22 May 2013 16:50:44 +0000 (12:50 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 8 Jun 2013 20:20:16 +0000 (16:20 -0400)
commitaa9c2669626ca7e5e5bab28e6caeb583fd40099b
tree632e008011b5a8b75edf5a2f4c3c0daf464f0cc4
parent14c43f767818c42f91ec7ffa586ee975845f68c8
NFS: Client implementation of Labeled-NFS

This patch implements the client transport and handling support for labeled
NFS. The patch adds two functions to encode and decode the security label
recommended attribute which makes use of the LSM hooks added earlier. It also
adds code to grab the label from the file attribute structures and encode the
label to be sent back to the server.

Acked-by: James Morris <james.l.morris@oracle.com>
Signed-off-by: Matthew N. Dodd <Matthew.Dodd@sparta.com>
Signed-off-by: Miguel Rodel Felipe <Rodel_FM@dsi.a-star.edu.sg>
Signed-off-by: Phua Eu Gene <PHUA_Eu_Gene@dsi.a-star.edu.sg>
Signed-off-by: Khin Mi Mi Aung <Mi_Mi_AUNG@dsi.a-star.edu.sg>
Signed-off-by: Steve Dickson <steved@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c
fs/nfs/inode.c
fs/nfs/nfs4proc.c
fs/nfs/nfs4xdr.c
fs/nfs/super.c
include/linux/nfs_fs.h
include/linux/nfs_fs_sb.h
security/selinux/hooks.c