base-files: Mount debugfs and pstore with nosuid,nodev,noexec
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 14 Nov 2024 20:46:36 +0000 (21:46 +0100)
committerPetr Štetiar <ynezz@true.cz>
Thu, 28 Nov 2024 18:47:23 +0000 (18:47 +0000)
commit7d4be068da502cd68f252cad73d18faf8e59e2a5
treef0de13d9b652b4207beb6daea516efcb973ccb2c
parent71d60c69836de7543e86fddb60e8c3eba05ef50e
base-files: Mount debugfs and pstore with nosuid,nodev,noexec

These permissions are not needed. Systemd also mounts these file systems
without these permissions on other Linux distributions.

Dropping these permissions should make the system more secure.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Link: https://github.com/openwrt/openwrt/pull/16960
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit b88d51898d126d2f918cb476d4158e9fcd62492c)
Link: https://github.com/openwrt/openwrt/pull/17097
Signed-off-by: Petr Štetiar <ynezz@true.cz>
package/base-files/files/etc/init.d/boot