diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-12-31 01:42:34 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-12-31 01:42:34 +0100 |
commit | 3f254bfbc8efa77dbad6952da12a45b0e4783a18 (patch) | |
tree | 1bd170a7da0a85b96e423581c346e1dff3fa78b8 /Kernel/build-root-filesystem.sh | |
parent | 5c918d0e71f6199201a7a9f02d4bf3bee384072d (diff) | |
download | serenity-3f254bfbc8efa77dbad6952da12a45b0e4783a18.zip |
Kernel+ping: Only allow superuser to create SOCK_RAW sockets
/bin/ping is now setuid-root, and will drop privileges immediately
after opening a raw socket.
Diffstat (limited to 'Kernel/build-root-filesystem.sh')
-rwxr-xr-x | Kernel/build-root-filesystem.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/build-root-filesystem.sh b/Kernel/build-root-filesystem.sh index a4f561fa1e..428bae1d1d 100755 --- a/Kernel/build-root-filesystem.sh +++ b/Kernel/build-root-filesystem.sh @@ -82,6 +82,7 @@ else find ../Userland/ -type f -perm +111 -exec cp {} mnt/bin/ \; fi chmod 4755 mnt/bin/su +chmod 4755 mnt/bin/ping echo "done" printf "installing applications... " |