diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-01-08 02:18:06 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-01-08 02:18:06 -0500 |
commit | 131871a3d846369fd925d3f8edb692edbad77e4d (patch) | |
tree | bd22b296221578478c0b11afc80c6538f6550910 /src/ipc | |
parent | 1d23b3c9136f606276142ec0037ff78fbb95e26d (diff) | |
download | musl-131871a3d846369fd925d3f8edb692edbad77e4d.tar.gz |
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')
0 files changed, 0 insertions, 0 deletions