diff options
author | jwbee <10429433+jwbee@users.noreply.github.com> | 2019-09-18 10:03:50 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2019-09-21 12:58:26 -0700 |
commit | f2096a5a092c15180b3392534c74757c93624602 (patch) | |
tree | c9ca86ef2ec537d39c36938b29f46026ee747406 /items.c | |
parent | 37b7692e233e4bb14d2435e48ed6be9ce3e70ed3 (diff) | |
download | memcached-f2096a5a092c15180b3392534c74757c93624602.tar.gz |
Make memcached setgroups failure non-fatal
A call to setgroups can fail on Linux if the user lacks cap_setgid or if setgroups has been disallowed in a user namespace. The latter happens when the namespace has no GID map or if /proc/pid/setgroups has been changed to "deny". Treating this failure as fatal means that memcached cannot start in a bazel fakeroot. Ignoring failure seems harmless.
Diffstat (limited to 'items.c')
0 files changed, 0 insertions, 0 deletions