gid 31 permission for /proc access

This commit is contained in:
sulincix committed 2024-06-08 20:35:37 +00:00
1 parent 0cad3bb21e
commit 968235544d
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -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