mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
userns: userns: Remove UIDGID_STRICT_TYPE_CHECKS
Removing UIDGID_STRICT_TYPE_CHECKS simplifies the code and always generates a compile error if the uids and kuids or gids and kgids are mixed by accident. Now that the appropriate conversions have been placed throughout the kernel there is no longer a need for a mode where we don't detect them as compile errors. Acked-by: Serge Hallyn <serge.hallyn@canonical.com> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
This commit is contained in:
parent
41301ae78a
commit
261000a56b
4 changed files with 0 additions and 51 deletions
|
@ -39,9 +39,6 @@ struct posix_acl_entry {
|
|||
union {
|
||||
kuid_t e_uid;
|
||||
kgid_t e_gid;
|
||||
#ifndef CONFIG_UIDGID_STRICT_TYPE_CHECKS
|
||||
unsigned int e_id;
|
||||
#endif
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue