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)
committerChristian Marangi <ansuelsmth@gmail.com>
Sat, 16 Nov 2024 13:23:08 +0000 (14:23 +0100)
commitb88d51898d126d2f918cb476d4158e9fcd62492c
tree07db142b01e5bbc182ffaa70139e42ccc1023524
parent3b710375dd97af1e0416904c4174d11c51e3f09c
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>
package/base-files/files/etc/init.d/boot