Commit 80c8b6c
committed
Drop check for setcaps
Before bwrap was installed setuid (when user namespaces are not
supported), it used setcap/file capabilities to acquire the privileges
to create the bwrap environment. This was dropped 9 years ago in
aedd613 ("Completely drop setcaps codepaths in favour of setuid").
and the check was added instead.
Given that it has been 9 years, it is exceedingly unlikely that someone
still has misconfigured bwrap in that particular way, so remove the
check.1 parent d6180f2 commit 80c8b6c
1 file changed
Lines changed: 0 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
739 | 739 | | |
740 | 740 | | |
741 | 741 | | |
742 | | - | |
743 | | - | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | | - | |
753 | | - | |
754 | 742 | | |
755 | 743 | | |
756 | 744 | | |
| |||
876 | 864 | | |
877 | 865 | | |
878 | 866 | | |
879 | | - | |
880 | | - | |
881 | | - | |
882 | | - | |
883 | | - | |
884 | | - | |
885 | | - | |
886 | 867 | | |
887 | 868 | | |
888 | 869 | | |
| |||
0 commit comments