summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/amd64/sys (follow)
Commit message (Collapse)AuthorAgeFilesLines
* __tfork() needs to set the stack address of the new thread in the kernel,guenther2012-06-211-5/+4
| | | | | | | | | so that it can't get a signal while still running on the parent thread's stack. Also, pass in sizeof(struct __tfork) to provide forward compat when more members are added. This is an ABI change, so switch syscall numbers and bump lib majors this time. ok deraadt@ matthew@
* remove rfork(); ok guenther miodderaadt2012-04-121-44/+0
|
* Move __tfork_thread() from rthreads (libpthread) to libc so thatguenther2012-03-221-0/+94
| | | | | | it can be used for not-strictly-threading purposes ok matthew@ kurt@
* Switch sigreturn() to the normal syscall entry instead of int$80.guenther2011-09-051-2/+2
| | | | | | This was done for the sigreturn call in sigcode before 5.0. ok deraadt@ for post-5.0
* Move __cerror to ___cerror with a weak alias so that rthreads can override it.guenther2011-04-041-2/+4
| | | | | | On mips64, also correct the name called from plain cerror to __cerror. "looks correct" miod@
* The int (32bit) argument must be sign extended on the 64 bit amd64 beforedrahn2006-05-091-3/+5
| | | | the add. ok miod@, toby@. olrite mickey@
* Remove the advertising clause in the UCB license which Berkeleyjsg2005-12-1311-66/+22
| | | | | rescinded 22 July 1999. Checked by ian@ and deraadt@
* Define OSYSCALL* macros, as their SYSCALL* counterparts, but using themiod2004-02-221-2/+2
| | | | | | | | | int 0x80 mechanism; and use OSYSCALL for sigreturn() as done in the sigcode. Naming borrowed from NetBSD. ok deraadt@
* errno is int, not long; tracked down by otto@miod2004-02-181-4/+4
| | | | ok deraadt@
* correct syscall() stub; fixes perl and vi.recoverderaadt2004-02-111-2/+3
|
* Fix PIC cerror. ok miod@ mickey@drahn2004-02-101-2/+3
|
* CURBRK -> __curbrk changes from mickey, minbrk addition by me, ok mickey@drahn2004-02-102-12/+14
|
* masks are only 32 bits on openbsdderaadt2004-02-091-2/+2
|
* things for amd64; from art@mickey2004-01-2812-0/+735