]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
makesyscalls.sh: allow pointer return types.
authorbrooks <brooks@FreeBSD.org>
Wed, 7 Nov 2018 16:55:04 +0000 (16:55 +0000)
committerbrooks <brooks@FreeBSD.org>
Wed, 7 Nov 2018 16:55:04 +0000 (16:55 +0000)
commitb47f3a58882f07c9974bf1237373367ef9d5b04e
tree82f3ee23fb55dd44291f6792ef842421c28315ef
parent02f48a53e785588bd166124d05fac3ff45b77415
makesyscalls.sh: allow pointer return types.

The previous code required that the return type be a single word.  This
allows it to be a pointer without using a typedef.

Update the return types of break, mmap, and shmat to be void * as
declared.  This only effects systrace output in-tree, but can aid in
generating system call wrappers from syscalls.master.

Reviewed by: kib
Obtained from: CheriBSD
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D17873
sys/compat/freebsd32/syscalls.master
sys/kern/makesyscalls.sh
sys/kern/syscalls.master