mirror of
https://salsa.debian.org/kernel-team/initramfs-tools.git
synced 2026-01-26 07:37:54 +00:00
Tighten /dev/pts permissions
Apply a fuller fix for CVE-2024-28085 and remove g+w from pseudo-terminals by default. Signed-off-by: Chris Hofstaedtler <zeha@debian.org>
This commit is contained in:
parent
81f2063c45
commit
319cdc98f1
2
init
2
init
@ -42,7 +42,7 @@ mount -t devtmpfs -o nosuid,mode=0755 udev /dev
|
||||
[ ! -h /dev/stderr ] && ln -s /proc/self/fd/2 /dev/stderr
|
||||
|
||||
mkdir /dev/pts
|
||||
mount -t devpts -o noexec,nosuid,gid=5,mode=0620 devpts /dev/pts || true
|
||||
mount -t devpts -o noexec,nosuid,gid=5,mode=0600 devpts /dev/pts || true
|
||||
|
||||
# Export the dpkg architecture
|
||||
export DPKG_ARCH=
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user