Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setcap-setuid.sh: Add cap_net_admin for ping
Although since Linux kernel 5.17 it can be achieved also by cap_net_raw, it's still too new kernel to rely on that. But we should delete it in the future (there might be some distros, which still prefer to use raw socket and thus use capabilities, e.g. Debian [1] due supporting non-systemd init systems). [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008281#71 Link: iputils#515 Reported-by: Jingzi Meng <mengjingzi18@foxmail.com> Reviewed-by: Matthias Gerstner <matthias.gerstner@suse.com> Reviewed-by: Paul Donohue <git@PaulSD.com> Signed-off-by: Petr Vorel <pvorel@suse.cz>
- Loading branch information