summaryrefslogtreecommitdiff
path: root/src/internal/ksigaction.h
AgeCommit message (Collapse)AuthorFilesLines
2015-09-23fix signal return for sh/fdpicRich Felker1-0/+2
the restorer function pointer provided in the kernel sigaction structure is interpreted by the kernel as a raw code address, not a function descriptor. this commit moves the declarations of the __restore and __restore_rt symbols to ksigaction.h so that arch versions of the file can override them, and introduces a version for sh which declares them as objects rather than functions. an alternate solution would have been defining SA_RESTORER to 0 so that the functions are not used, but this both requires executable stack (since the sh kernel does not have a vdso page with permanent restorer functions) and crashes on qemu user-level emulation.
2013-06-29add some comments about the mips ksigaction structure weirdnessRich Felker1-0/+3
2012-07-12fix breakage of x86_64 sigaction from recent changes for mipsRich Felker1-1/+1
2012-07-11use unsigned bitmask for consistency in ksigactionRich Felker1-1/+1
the type doesn't actually matter, just the size, but it's nice to be consistent...
2012-07-11fix breakage from last commit: forgot to include ksigaction.hRich Felker1-0/+6
this file can be overridden by a same-named file in an arch dir.