mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 00:51:24 +03:00
Revert "core: do not set noexec on sysfs/procfs"
This reverts commit b33cd6b3ee
.
This commit is contained in:
parent
24c006d83d
commit
988bcc7c21
@ -275,7 +275,7 @@ static bool mount_entry_read_only(const MountEntry *p) {
|
||||
static bool mount_entry_noexec(const MountEntry *p) {
|
||||
assert(p);
|
||||
|
||||
return p->noexec || IN_SET(p->mode, NOEXEC, INACCESSIBLE);
|
||||
return p->noexec || IN_SET(p->mode, NOEXEC, INACCESSIBLE, SYSFS, PROCFS);
|
||||
}
|
||||
|
||||
static bool mount_entry_exec(const MountEntry *p) {
|
||||
|
Loading…
Reference in New Issue
Block a user