From f5a52aeddc4742b4dbd8a0075d759b2ceaaae691 Mon Sep 17 00:00:00 2001 From: madaidan <50278627+madaidan@users.noreply.github.com> Date: Sat, 21 Dec 2019 14:55:28 +0000 Subject: [PATCH] Don't remount /sys/kernel/security --- usr/lib/security-misc/remount-secure | 6 ------ 1 file changed, 6 deletions(-) diff --git a/usr/lib/security-misc/remount-secure b/usr/lib/security-misc/remount-secure index cb1b3a3..6acc12d 100755 --- a/usr/lib/security-misc/remount-secure +++ b/usr/lib/security-misc/remount-secure @@ -101,11 +101,6 @@ _tmp() { remount_secure "$@" } -_sys_kernel_security() { - new_mount_options="nosuid,nodev${noexec_maybe}" - remount_secure "$@" -} - _lib() { ## Not using noexec on /lib. new_mount_options="nosuid,nodev" @@ -121,7 +116,6 @@ main() { _run "$@" _dev_shm "$@" _tmp "$@" - _sys_kernel_security "$@" _lib "$@" end "$@" }