freebsd-dev/stand
Warner Losh 2e1e68cbae stand: Make ioctl declaration consistent
It typically had two args with an optional third from the userland
declaration in sys/ioccom.h. However, the funciton definition used a
non-optional char * argument. This mismatch is UB behavior (but worked
due to the calling convetions of all our machines).

Instead, add a declaration for ioctl to stand.h, make the third arg
'void *' which is a better match to the ... declaration before. This
prevents the convert int * -> char * errors as well. Make the ioctl
user-space declaration truly user-space specific (omit it in the
stand-alone build).

No functional change intended.

Sponsored by:		Netflix
Reviewed by:		emaste
Differential Revision:	https://reviews.freebsd.org/D37680
2022-12-12 21:46:34 -07:00
..
arm64
common stand: update prototypes for md_load and md_load64 2022-12-05 16:59:58 -07:00
defaults
efi stand/efi: remove unused local varaibles 2022-12-07 11:00:54 -07:00
fdt
ficl Revert "stand: Grammar fix for a source code comment" 2022-09-05 15:40:55 +02:00
ficl32
fonts
forth
i386 stand: parsedev API change: devspec now points to start of full device name 2022-11-30 15:30:33 -07:00
images
kboot kboot: Use (void) instead of () for functiosn with no args 2022-12-09 07:57:50 -07:00
kshim
liblua stand: Add lua binding loader.has_command 2022-09-01 11:08:22 -06:00
liblua32
libofw stand: update prototypes for md_load and md_load64 2022-12-05 16:59:58 -07:00
libsa stand: Make ioctl declaration consistent 2022-12-12 21:46:34 -07:00
libsa32
lua lualoader: Add loader_menu_multi_user_prompt config variable 2022-09-02 20:30:40 +01:00
man loader.efi(8): document slop control, amd64 nocopy, and amd64 fault commands 2022-09-06 18:55:45 +03:00
powerpc stand: update prototypes for md_load and md_load64 2022-12-05 16:59:58 -07:00
uboot stand: update prototypes for md_load and md_load64 2022-12-05 16:59:58 -07:00
usb stand: For all disk drivers, connect dv_parsedev to disk_parsedev 2022-11-30 15:30:32 -07:00
userboot stand: create devinit 2022-11-30 15:30:33 -07:00
defs.mk
fdt.mk
ficl.mk
loader.mk stand: Move md_copymodules into modinfo.c and reduce copies 2022-09-16 09:18:56 -06:00
lua.mk
Makefile
Makefile.amd64
Makefile.inc
veriexec.mk