On Wed, Jan 2, 2019 at 10:10 PM Trond Myklebust <trondmy@xxxxxxxxxxxxxxx> wrote: > > The values being compared are in cred_fscmp() are all of type kuid_t or > kgid_t so that means they have already been mapped from the user > namespace into the kernel uid/gid space. Ok, "everything happens in init_ns" is I guess a very valid argument. It might be good to perhaps show that in the name (and maybe even a comment), but as long as it's only really used for nfs I guess it isn't a big deal. Thanks, Linus