gid 31 permission for /proc access
This commit is contained in:
1 parent
0cad3bb21e
commit
968235544d
2 files changed
+3
-2
No files matched your search
@@ -33,7 +33,7 @@ prepare(){
|
||||
patch -Np1 -i ../non-debian.patch
|
||||
patch -Np1 -i ../no-dracut.patch
|
||||
# hidepid=2 default
|
||||
sed -i "s/ proc \/proc/,hidepid=2&/g" init
|
||||
sed -i "s/ proc \/proc/,hidepid=2,gid=31&/g" init
|
||||
# replace linux-version command
|
||||
sed -i "s/linux-version/false/g" hook-functions
|
||||
sed -i "s/linux-version list/ls \/lib\/modules\//g" update-initramfs
|
||||
|
||||
Reference in new issue
Block a user