about summary refs log tree commit diff
path: root/arch/microblaze/bits/ioctl.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-09-16 11:52:39 -0400
committerRich Felker <dalias@aerifal.cx>2013-09-16 11:52:39 -0400
commitcffb9e1ee2a5e8925845f0c9b79cb6c80487302c (patch)
tree06f35ba78ab45c5b209398aa0b0ef036d487fa6b /arch/microblaze/bits/ioctl.h
parent90710df5ccd405743d570dcb255fc28d952ba651 (diff)
downloadmusl-cffb9e1ee2a5e8925845f0c9b79cb6c80487302c.tar.gz
musl-cffb9e1ee2a5e8925845f0c9b79cb6c80487302c.tar.xz
musl-cffb9e1ee2a5e8925845f0c9b79cb6c80487302c.zip
fix clobbering of caller's stack in mips __clone function
this was resulting in crashes in posix_spawn on mips, and would have
affected applications calling clone too. since the prototype for
__clone has it as a variadic function, it may not assume that 16($sp)
is writable for use in making the syscall. instead, it needs to
allocate additional stack space, and then adjust the stack pointer
back in both of the code paths for the parent process/thread.
Diffstat (limited to 'arch/microblaze/bits/ioctl.h')
0 files changed, 0 insertions, 0 deletions