lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 23 May 2018 13:16:41 +0100
From:   David Howells <dhowells@...hat.com>
To:     viro@...iv.linux.org.uk
Cc:     dhowells@...hat.com, linux-fsdevel@...r.kernel.org,
        linux-afs@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/8] afs: Network-namespacing


Hi Al,

Can you pull these patches on top of Christoph's procfs changes?  The patches
do:

 (*) Rearrange fs/afs/proc.c to get rid of the forward declarations and
     simplify the commenting.

 (*) Supply functions that allow writable net proc files to be created
     (this could be extended to provide writing on non-net proc files).

 (*) Implement network namespacing in AFS and simplify the proc usage,
     using the new convenience functions provided.

I've included another couple of small patches also:

 (*) afs_net::ws_cell should be annotated and accessed for RCU.  This patch
     would conflict with the other patches if separate.

 (*) Fix a sparse warning where sparse can't manage to follow the locking
     in a function.

Note that these patches don't quite complete network namespacing; the last
bit requires the mount API patches to allow propagation of the network
namespace across automounts.

The patches are tagged here:

	git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
	afs-namespace-20180523

The patches can be found here also:

	http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=afs-namespace

David
---
David Howells (8):
      afs: Move /proc management functions to the end of the file
      afs: Rearrange fs/afs/proc.c by moving fops and open functions down
      afs: Rearrange fs/afs/proc.c to move the show routines up
      afs: Rearrange fs/afs/proc.c to remove remaining predeclarations.
      proc: Add a way to make network proc files writable
      afs: Fix a Sparse warning in xdr_decode_AFSFetchStatus()
      afs: Mark afs_net::ws_cell as __rcu and set using rcu functions
      afs: Implement network namespacing


 fs/afs/cell.c           |   12 -
 fs/afs/cmservice.c      |    2 
 fs/afs/fsclient.c       |   97 +++---
 fs/afs/internal.h       |   45 +--
 fs/afs/main.c           |   33 ++
 fs/afs/netdevices.c     |    6 
 fs/afs/proc.c           |  787 +++++++++++++++++------------------------------
 fs/afs/rxrpc.c          |    2 
 fs/afs/super.c          |   20 +
 fs/proc/generic.c       |   24 +
 fs/proc/internal.h      |    2 
 fs/proc/proc_net.c      |   92 +++++
 include/linux/proc_fs.h |   12 +
 13 files changed, 552 insertions(+), 582 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ