Home
last modified time | relevance | path

Searched hist:"0 c9850f4d4c5d645125869fe0fa206fb662bd98b" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/udf/
H A Dudfdecl.hdiff 0c9850f4d4c5d645125869fe0fa206fb662bd98b Thu Feb 22 03:28:52 CST 2018 Jan Kara <jack@suse.cz> udf: Clean up handling of invalid uid/gid

Current code relies on the fact that invalid uid/gid as defined by UDF
2.60 3.3.3.1 and 3.3.3.2 coincides with invalid uid/gid as used by the
user namespaces implementation. Since this is only lucky coincidence,
clean this up to avoid future surprises in case user namespaces
implementation changes. Also this is more robust in presence of valid
(from UDF point of view) uids / gids which do not map into current user
namespace.

Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
H A Dinode.cdiff 0c9850f4d4c5d645125869fe0fa206fb662bd98b Thu Feb 22 03:28:52 CST 2018 Jan Kara <jack@suse.cz> udf: Clean up handling of invalid uid/gid

Current code relies on the fact that invalid uid/gid as defined by UDF
2.60 3.3.3.1 and 3.3.3.2 coincides with invalid uid/gid as used by the
user namespaces implementation. Since this is only lucky coincidence,
clean this up to avoid future surprises in case user namespaces
implementation changes. Also this is more robust in presence of valid
(from UDF point of view) uids / gids which do not map into current user
namespace.

Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>