You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because sequences to up and down privileges are DIFFERENT (reversed order of functions call).
To down privileges (this logic is hard-coded in Python now):
# have to find username by uid or....# we definitely have to drop supplementary groups. either to empty list or new user's groupsinitgroups(username, gid)
setresgid(gid, gid, gid)
setresuid(uid, uid, uid)
for the last subprocess,
strace
of child process:Python 3.10.7
The text was updated successfully, but these errors were encountered: