mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-08-04 02:15:58 -04:00
main: fix lookup for overflow uid
we were mistakenly using the overflow GID also for UIDs lookups. Not a big issue as they usually have the same value. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
0d985794d9
commit
1d8f4b529d
2
main.c
2
main.c
@ -666,7 +666,7 @@ find_mapping (unsigned int id, struct ovl_mapping *mapping, bool direct, bool ui
|
|||||||
static uid_t
|
static uid_t
|
||||||
get_uid (struct ovl_data *data, uid_t id)
|
get_uid (struct ovl_data *data, uid_t id)
|
||||||
{
|
{
|
||||||
return find_mapping (id, data->uid_mappings, false, false);
|
return find_mapping (id, data->uid_mappings, false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
static uid_t
|
static uid_t
|
||||||
|
Loading…
x
Reference in New Issue
Block a user