• E
    nfsd: Modify nfsd4_cb_sec to use kuids and kgids · 03bc6d1c
    Eric W. Biederman 提交于
    Change uid and gid in struct nfsd4_cb_sec to be of type kuid_t and
    kgid_t.
    
    In nfsd4_decode_cb_sec when reading uids and gids off the wire convert
    them to kuids and kgids, and if they don't convert to valid kuids or
    valid kuids ignore RPC_AUTH_UNIX and don't fill in any of the fields.
    
    Cc: "J. Bruce Fields" <bfields@fieldses.org>
    Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
    Signed-off-by: N"Eric W. Biederman" <ebiederm@xmission.com>
    03bc6d1c
state.h 16.7 KB