mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
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>
This commit is contained in:
parent
61a9fc8fe2
commit
82845da3fa
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=259438
@ -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" ||
|
||||
|
Loading…
Reference in New Issue
Block a user