File: bubblewrap.bug-script

package info (click to toggle)
bubblewrap 0.8.0-2%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,352 kB
  • sloc: ansic: 4,156; sh: 2,574; python: 555; xml: 519; perl: 100; makefile: 100
file content (16 lines) | stat: -rwxr-xr-x 319 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
set -eu
exec >&3 2>&3

echo "Permissions of /usr/bin/bwrap:"
ls -l /usr/bin/bwrap || :

for f in \
    /etc/sysctl.d/*-bubblewrap.conf \
    /usr/lib/sysctl.d/*-bubblewrap.conf \
    /proc/sys/kernel/unprivileged_userns_clone \
    /proc/sys/user/max_*_namespaces \
; do
    echo "$f:"
    cat "$f" || :
done