aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/linux
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2021-01-14 13:51:52 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2021-06-06 18:43:00 +0000
commit598f6fb49c9ca688029b79de0a44227ab79c608c (patch)
tree1ab00c67898e18cd7a5656f16da20198cf761252 /sys/arm64/linux
parent2d423f7671fe452486932c8e41e7d3547afe82aa (diff)
downloadsrc-598f6fb49c9ca688029b79de0a44227ab79c608c.tar.gz
src-598f6fb49c9ca688029b79de0a44227ab79c608c.zip
linuxolator: Add compat.linux.setid_allowed knob
PR: 21463 Reported by: kris Reviewed by: dchagin Tested by: trasz Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D28154
Diffstat (limited to 'sys/arm64/linux')
-rw-r--r--sys/arm64/linux/linux_sysvec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm64/linux/linux_sysvec.c b/sys/arm64/linux/linux_sysvec.c
index 365cb9fc386a..57abdc6fd691 100644
--- a/sys/arm64/linux/linux_sysvec.c
+++ b/sys/arm64/linux/linux_sysvec.c
@@ -443,6 +443,7 @@ struct sysentvec elf_linux_sysvec = {
.sv_onexec = linux_on_exec,
.sv_onexit = linux_on_exit,
.sv_ontdexit = linux_thread_dtor,
+ .sv_setid_allowed = &linux_setid_allowed_query,
};
static void