1. 13 11月, 2012 1 次提交
    • J
      nfsd: add a usermodehelper upcall for NFSv4 client ID tracking · 2873d214
      Jeff Layton 提交于
      Add a new client tracker upcall type that uses call_usermodehelper to
      call out to a program. This seems to be the preferred method of
      calling out to usermode these days for seldom-called upcalls. It's
      simple and doesn't require a running daemon, so it should "just work"
      as long as the binary is installed.
      
      The client tracking exit operation is also changed to check for a
      NULL pointer before running. The UMH upcall doesn't need to do anything
      at module teardown time.
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
      2873d214
  2. 11 11月, 2012 2 次提交
  3. 08 11月, 2012 13 次提交
  4. 02 10月, 2012 12 次提交
  5. 27 9月, 2012 1 次提交
  6. 26 9月, 2012 1 次提交
  7. 18 9月, 2012 1 次提交
    • E
      userns: Pass a userns parameter into posix_acl_to_xattr and posix_acl_from_xattr · 5f3a4a28
      Eric W. Biederman 提交于
       - Pass the user namespace the uid and gid values in the xattr are stored
         in into posix_acl_from_xattr.
      
       - Pass the user namespace kuid and kgid values should be converted into
         when storing uid and gid values in an xattr in posix_acl_to_xattr.
      
      - Modify all callers of posix_acl_from_xattr and posix_acl_to_xattr to
        pass in &init_user_ns.
      
      In the short term this change is not strictly needed but it makes the
      code clearer.  In the longer term this change is necessary to be able to
      mount filesystems outside of the initial user namespace that natively
      store posix acls in the linux xattr format.
      
      Cc: Theodore Tso <tytso@mit.edu>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Andreas Dilger <adilger.kernel@dilger.ca>
      Cc: Jan Kara <jack@suse.cz>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: N"Eric W. Biederman" <ebiederm@xmission.com>
      5f3a4a28
  8. 11 9月, 2012 5 次提交
  9. 10 9月, 2012 2 次提交
  10. 22 8月, 2012 2 次提交