aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2013-12-15 23:19:42 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2013-12-15 23:19:42 +0000
commit82845da3fa3f1f962ba8c821e0ee10657db442c6 (patch)
tree21a3cb5e3a9270b3ad1b7e21627657e1d501c892 /sys/kern
parent61a9fc8fe25399c0958fdbaea8414895f6cc67b9 (diff)
downloadsrc-82845da3fa3f1f962ba8c821e0ee10657db442c6.tar.gz
src-82845da3fa3f1f962ba8c821e0ee10657db442c6.zip
Fix syscalls that can be loaded as kernel modules - they were not given
the flag allowing to call them from capability mode sandbox. Noticed by: David Drysdale <drysdale@google.com>
Notes
Notes: svn path=/head/; revision=259438
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/makesyscalls.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/makesyscalls.sh b/sys/kern/makesyscalls.sh
index 87263bf97eb8..0c3adff8f92a 100644
--- a/sys/kern/makesyscalls.sh
+++ b/sys/kern/makesyscalls.sh
@@ -460,7 +460,7 @@ s/\$//g
printf("\t{ %s, (sy_call_t *)", argssize) > sysent
column = 8 + 2 + length(argssize) + 15
if (flag("NOSTD")) {
- printf("%s },", "lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT") > sysent
+ printf("lkmressys, AUE_NULL, NULL, 0, 0, %s, SY_THR_ABSENT },", flags) > sysent
column = column + length("lkmressys") + length("AUE_NULL") + 3
} else {
if (funcname == "nosys" || funcname == "sysarch" ||