Skip to content

lnfs: linux-3.9 release

Steve Dickson linux-fsdevel linux-nfs selinux 1 version Applied

Status from this message: Applied to my tree.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 of 17 patches 21 repliesApplied

16 of 17 patches are in this archive. The cover letter announces 17.

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/17NFSv4.2: Added v4.2 error codesfs/nfsd/nfsd.h include/linux/nfs4.h+14 -00 replies
2/17NFSv4.2: Added NFS v4.2 support to the NFS clientfs/nfs/Kconfig fs/nfs/callback.c fs/nfs/nfs4client.c +3 more+40 -10 replies
4/17Security: Add hook to calculate context based on a negative dentry.include/linux/security.h security/capability.c security/security.c +1 more+80 -01 reply
5/17Security: Add Hook to test if the particular xattr is part of a MAC model.include/linux/security.h security/capability.c security/security.c +2 more+43 -01 reply
6/17LSM: Add flags field to security_sb_set_mnt_opts for in kernel mount data.fs/nfs/super.c include/linux/security.h security/capability.c +2 more+31 -91 reply
7/17SELinux: Add new labeling type native labelsinclude/linux/security.h security/selinux/hooks.c security/selinux/include/security.h +1 more+35 -101 reply
8/17NFSv4: Add label recommended attribute and NFSv4 flagsinclude/linux/nfs4.h include/linux/nfs_fs_sb.h include/linux/nfs_xdr.h+5 -10 replies
9/17NFSv4: Introduce new label structurefs/nfs/inode.c include/linux/nfs4.h include/linux/nfs_fs.h +2 more+75 -10 replies
10/17NFSv4: Extend fattr bitmaps to support all 3 wordsfs/nfs/nfs4_fs.h fs/nfs/nfs4proc.c fs/nfs/nfs4xdr.c +2 more+22 -170 replies
11/17NFS:Add labels to client function prototypesfs/nfs/client.c fs/nfs/dir.c fs/nfs/getroot.c +10 more+149 -1080 replies
12/17NFS: Add label lifecycle managementfs/nfs/dir.c fs/nfs/inode.c fs/nfs/nfs4proc.c+126 -100 replies
13/17NFS: Client implementation of Labeled-NFSfs/nfs/inode.c fs/nfs/nfs4proc.c fs/nfs/nfs4xdr.c +5 more+524 -622 replies
14/17NFS: Extend NFS xattr handlers to accept the security namespacefs/nfs/nfs4proc.c security/security.c+51 -01 reply
15/17Kconfig: Add Kconfig entry for Labeled NFS V4 clientfs/nfs/Kconfig+19 -00 replies
16/17NFSD: Server implementation of MAC Labelingfs/nfsd/nfs4proc.c fs/nfsd/nfs4xdr.c fs/nfsd/nfsd.h +3 more+203 -86 replies
17/17Kconfig: Add Kconfig entry for Labeled NFS V4 serverfs/nfsd/Kconfig+16 -00 replies

Reviews trailers per patch

6 of 16 patches have a Reviewed-by or Acked-by.

PatchJames Morris
1/17
2/17
4/17A-b
5/17A-b
6/17A-b
7/17A-b
8/17
9/17
10/17
11/17
12/17
13/17A-b
14/17A-b
15/17
16/17
17/17

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/17] lnfs: linux-3.9 release

From: Steve Dickson <[email protected]>

Here is an the next rlease of the label NFS patches ported to the linux-3.9 release

The following changes were made from the previous release. (Note, only the server patch changed in this release)

* Remove the buffer overflow in the allocation of labels.

* Removed needless char * casting

* Removed the -EMSGSIZE to nfs4err_badlabel errno mapping by changing the return value of nfsd4_label_alloc() to be a _be32 value.

David Quigley (12):
Security: Add hook to calculate context based on a negative dentry.
Security: Add Hook to test if the particular xattr is part of a MAC
model.
LSM: Add flags field to security_sb_set_mnt_opts for in kernel mount
data.
SELinux: Add new labeling type native labels
NFSv4: Add label recommended attribute and NFSv4 flags
NFSv4: Introduce new label structure
NFSv4: Extend fattr bitmaps to support all 3 words NFS:Add labels to client function prototypes
NFS: Add label lifecycle management
NFS: Client implementation of Labeled-NFS
NFS: Extend NFS xattr handlers to accept the security namespace
NFSD: Server implementation of MAC Labeling

Steve Dickson (5):
NFSv4.2: Added v4.2 error codes
NFSv4.2: Added NFS v4.2 support to the NFS client NFSDv4.2: Added NFS v4.2 support to the NFS server
Kconfig: Add Kconfig entry for Labeled NFS V4 client
Kconfig: Add Kconfig entry for Labeled NFS V4 server

 fs/nfs/Kconfig                      |  28 ++
 fs/nfs/callback.c                   |   1 +
 fs/nfs/client.c                     |   2 +-
 fs/nfs/dir.c                        |  46 ++-
 fs/nfs/getroot.c                    |   2 +-
 fs/nfs/inode.c                      | 133 ++++++--
 fs/nfs/namespace.c                  |   2 +-
 fs/nfs/nfs3acl.c                    |   4 +-
 fs/nfs/nfs3proc.c                   |  41 +--
 fs/nfs/nfs4_fs.h                    |   8 +-
 fs/nfs/nfs4client.c                 |   5 +
 fs/nfs/nfs4namespace.c              |   2 +-
 fs/nfs/nfs4proc.c                   | 596 ++++++++++++++++++++++++++++++++----
 fs/nfs/nfs4xdr.c                    | 188 +++++++++---
 fs/nfs/pnfs.c                       |   2 +-
 fs/nfs/proc.c                       |  15 +-
 fs/nfs/super.c                      |  24 +-
 fs/nfsd/Kconfig                     |  16 +
 fs/nfsd/nfs4proc.c                  |  41 +++
 fs/nfsd/nfs4xdr.c                   | 124 +++++++-
 fs/nfsd/nfsd.h                      |  22 +-
 fs/nfsd/vfs.c                       |  28 ++
 fs/nfsd/vfs.h                       |   2 +
 fs/nfsd/xdr4.h                      |   3 +
 include/linux/nfs4.h                |  20 ++
 include/linux/nfs_fs.h              |  40 ++-
 include/linux/nfs_fs_sb.h           |  10 +-
 include/linux/nfs_xdr.h             |  30 +-
 include/linux/security.h            |  57 +++-
 include/uapi/linux/nfs4.h           |   2 +-
 security/capability.c               |  19 +-
 security/security.c                 |  24 +-
 security/selinux/hooks.c            |  92 +++++-
 security/selinux/include/security.h |   2 +
 security/selinux/ss/policydb.c      |   5 +-
 security/smack/smack_lsm.c          |  11 +
 36 files changed, 1427 insertions(+), 220 deletions(-)
Signature · 1 line
1.8.1.4