mirror of https://github.com/cutefishos/appmotor
[booster] Drop privileged SGID for non-privileged apps. Fixes JB#48847
Under Linux, setgid() is implemented like the POSIX version with the _POSIX_SAVED_IDS feature. That means that after "setgid(nemo)" SGID will be set to "privileged" instead of "nemo". So using "setresuid()" instead. Signed-off-by: Igor Zhbanov <i.zhbanov@omprussia.ru>pull/1/head
parent
6912348d5a
commit
b62ef0d2d4
Loading…
Reference in New Issue