mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 00:00:14 +01:00
core: fix nm_utils_get_nm_gid()
Fixes:31dbcb81fe('core: make nm_utils_get_nm_[ug]id() thread safe') (cherry picked from commitb58a37acfe)
This commit is contained in:
parent
12e033368f
commit
e56bc740d0
1 changed files with 1 additions and 1 deletions
|
|
@ -5417,7 +5417,7 @@ again:
|
|||
if ((g = g_atomic_int_get(&g_static)) == -1) {
|
||||
gid_t g2;
|
||||
|
||||
g2 = geteuid();
|
||||
g2 = getegid();
|
||||
g = g2;
|
||||
nm_assert(g == g2);
|
||||
nm_assert(g >= 0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue