aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-04-20 23:54:41 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-04-22 19:43:12 -0300
commit30c15348344b9fc6b33eac154611474ed7a41273 (patch)
tree9cf9bc25fe6a89a9ca03b8a0ac655048550616cb /src/include
parentbuild(deps): bump actions/checkout from 3.0.0 to 3.0.1 (diff)
downloadfirejail-30c15348344b9fc6b33eac154611474ed7a41273.tar.gz
firejail-30c15348344b9fc6b33eac154611474ed7a41273.tar.zst
firejail-30c15348344b9fc6b33eac154611474ed7a41273.zip
Stop warning on safe supplementary group clean
When nogroups is used, the following warning may be issued (potentially multiple times, as drop_privs may be called more than once): Warning: cleaning all supplementary groups But the warning is being shown even when it seems that all supplementary groups can be safely dropped (and are thus dropped), which is likely a common scenario. This commit prevents the warning from being printed in that case, making it so that it is only shown in the non-happy paths (as was the case on firejail 0.9.66). Misc: The added code was copied from drop_privs. This amends commit 7abce0b4c ("Fix keeping certain groups with nogroups", 2021-11-30) / PR #4732. Kind of relates to #4930.
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions