put linux_handler_t in the right place.
This commit is contained in:
parent
1b58307eb4
commit
7a2c2e75f4
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: makesyscalls.sh,v 1.167 2017/01/15 15:18:52 christos Exp $
|
# $NetBSD: makesyscalls.sh,v 1.168 2017/01/15 17:00:59 christos Exp $
|
||||||
#
|
#
|
||||||
# Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
|
# Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -799,11 +799,12 @@ function putsystrace(type, compatwrap_) {
|
||||||
sub("__restrict$", "", arg)
|
sub("__restrict$", "", arg)
|
||||||
printf("\t\tcase %d:\n\t\t\tp = \"%s\";\n\t\t\tbreak;\n", i - 1, arg) > systracetmp
|
printf("\t\tcase %d:\n\t\t\tp = \"%s\";\n\t\t\tbreak;\n", i - 1, arg) > systracetmp
|
||||||
if (arg ~ /.*p_t$/ || arg ~ /.*p$/ || arg ~ /.*_t_p$/ ||
|
if (arg ~ /.*p_t$/ || arg ~ /.*p$/ || arg ~ /.*_t_p$/ ||
|
||||||
arg ~ /.*_pointer_t$/ || arg ~ /.*_handler_t$/)
|
arg ~ /.*_pointer_t$/)
|
||||||
printf("\t\tuarg[%d] = (intptr_t) SCARG(p, %s).i32; /* %s */\n", \
|
printf("\t\tuarg[%d] = (intptr_t) SCARG(p, %s).i32; /* %s */\n", \
|
||||||
i - 1, \
|
i - 1, \
|
||||||
argname[i], arg) > systrace
|
argname[i], arg) > systrace
|
||||||
else if (index(arg, "*") > 0 || arg == "caddr_t")
|
else if (index(arg, "*") > 0 || arg == "caddr_t" ||
|
||||||
|
arg ~ /.*_handler_t$/)
|
||||||
printf("\t\tuarg[%d] = (intptr_t) SCARG(p, %s); /* %s */\n", \
|
printf("\t\tuarg[%d] = (intptr_t) SCARG(p, %s); /* %s */\n", \
|
||||||
i - 1, \
|
i - 1, \
|
||||||
argname[i], arg) > systrace
|
argname[i], arg) > systrace
|
||||||
|
|
Loading…
Reference in New Issue