Module Name: src Committed By: christos Date: Sun Jan 15 17:00:59 UTC 2017
Modified Files: src/sys/kern: makesyscalls.sh Log Message: put linux_handler_t in the right place. To generate a diff of this commit: cvs rdiff -u -r1.167 -r1.168 src/sys/kern/makesyscalls.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/makesyscalls.sh diff -u src/sys/kern/makesyscalls.sh:1.167 src/sys/kern/makesyscalls.sh:1.168 --- src/sys/kern/makesyscalls.sh:1.167 Sun Jan 15 10:18:52 2017 +++ src/sys/kern/makesyscalls.sh Sun Jan 15 12:00:59 2017 @@ -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 # All rights reserved. @@ -799,11 +799,12 @@ function putsystrace(type, compatwrap_) sub("__restrict$", "", arg) 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$/ || - arg ~ /.*_pointer_t$/ || arg ~ /.*_handler_t$/) + arg ~ /.*_pointer_t$/) printf("\t\tuarg[%d] = (intptr_t) SCARG(p, %s).i32; /* %s */\n", \ i - 1, \ 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", \ i - 1, \ argname[i], arg) > systrace