mirror of
https://github.com/systemd/systemd.git
synced 2025-01-10 05:18:17 +03:00
core: do not set noexec on sysfs/procfs
It causes a regression in certain running environments (networkd under LXC), so avoid enabling for now. Fixes #18795 Suggested-by: Topi Miettinen <toiwoton@gmail.com>
This commit is contained in:
parent
da0d560905
commit
b33cd6b3ee
@ -272,7 +272,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, SYSFS, PROCFS);
|
||||
return p->noexec || IN_SET(p->mode, NOEXEC, INACCESSIBLE);
|
||||
}
|
||||
|
||||
static bool mount_entry_exec(const MountEntry *p) {
|
||||
|
Loading…
Reference in New Issue
Block a user