|author||Rich Felker <email@example.com>||2014-01-08 02:18:06 -0500|
|committer||Rich Felker <firstname.lastname@example.org>||2014-01-08 02:18:06 -0500|
in fcntl, avoid passing pointer arguments to syscalls as longs
really, fcntl should be changed to use the correct type corresponding to cmd when calling va_arg, and to carry the correct type through until making the syscall. however, this greatly increases binary size and does not seem to offer any benefits except formal correctness, so I'm holding off on that change for now. the minimal changes made in this patch are in preparation for addition of the x32 port, where the syscall macros need to know whether their arguments are pointers or integers in order to properly pass them to the 64-bit kernel.
Diffstat (limited to 'src/ipc/semctl.c')
0 files changed, 0 insertions, 0 deletions