diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2011-11-17 19:23:55 +0100 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2012-04-08 02:11:01 +0200 |
commit | 5673a94c14574d7c6495c320c6b0e480673d54bd (patch) | |
tree | bb715a6551732475aaa6870f08da8d49529ee82d /fs | |
parent | userns: Add kuid_t and kgid_t and associated infrastructure in uidgid.h (diff) | |
download | linux-5673a94c14574d7c6495c320c6b0e480673d54bd.tar.xz linux-5673a94c14574d7c6495c320c6b0e480673d54bd.zip |
userns: Add a Kconfig option to enforce strict kuid and kgid type checks
Make it possible to easily switch between strong mandatory
type checks and relaxed type checks so that the code can
easily be tested with the type checks and then built
with the strong type checks disabled so the resulting
code can be used.
Require strong mandatory type checks when enabling the user namespace.
It is very simple to make a typo and use the wrong type allowing
conversions to/from userspace values to be bypassed by accident,
the strong type checks prevent this.
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions