Quantcast
Channel: lkml.org : Ganesh Sittampalam
Viewing all articles
Browse latest Browse all 627

Re: [RFC] call_with_creds()

$
0
0
Linus Torvalds writes: (Summary) Of course, you may well have reasons why you actually want to cache the key itself (and hide it in private_data or similar rather than look it up, but if looking it up by uid is ok, then file->f_cred is ok.
ok.
And if you check permissions at IO time (again using file->f_cred), that's ok from a kernel perspective, but it's not really POSIX-compliant. But obviously a lot of netrwork filesystems aren't posix-compliant anyway.
posix-compliant anyway.
Linus
Linus
Linus

Viewing all articles
Browse latest Browse all 627

Trending Articles