summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/alpha/sys (follow)
Commit message (Collapse)AuthorAgeFilesLines
* SYS___threxit cannot fail, but this integration looks like a gadget.deraadt2020-10-181-1/+2
| | | | | Put a hard-trap instruction after the syscall instruction. ok kettenis mortimer
* Eliminate cerror: use PAL_rdunique to get the TCB address directlyguenther2016-05-161-54/+0
| | | | ok deraadt@ kettenis@
* Remove sigreturn declaration and the now-unused libc syscall stubguenther2016-05-091-39/+0
|
* Use a Thread Information Block in both single and multi-threaded programs.guenther2016-05-074-46/+23
| | | | | | | | | | | | | | | | | This stores errno, the cancelation flags, and related bits for each thread and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable! Make libpthread dlopen'able by moving the cancelation wrappers into libc and doing locking and fork/errno handling via callbacks that libpthread registers when it first initializes. 'errno' *must* be declared via <errno.h> now! Clean up libpthread's symbol exports like libc. On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec. Testing by various, particularly sthen@ and patrick@ ok kettenis@
* Merge the sigaction() and sigprocmask() overloads/wrappers from libpthreadguenther2015-10-233-7/+7
| | | | | | | | | into libc, and move pthread_sigmask() as well (just a trivial wrapper). This provides consistent handling of SIGTHR between single- and multi-threaded programs and is a step in the merge of all the libpthread overloads, providing some ASM and Makefile bits that the other wrappers will need. ok deraadt@ millert@
* Adds hidden _libc_FOO aliases for the system call stubs.guenther2015-09-102-10/+12
| | | | | | | | | | Stop generating _brk and _sbrk symbols: they've already been hidden. Set the ELF symbol size on the syscall stubs. Give the __{min,cur}brk symbols a size and type, and hide more jump labels. alpha, arm, m88k, sh, sparc, and vax assistance miod@ hppa assistance kettenis@ ok deraadt@ miod@
* Hide many (194!) symbols that nothing should be using.guenther2015-08-263-44/+12
| | | | | | | Delete exect(2); it wasn't portable across archs and nothing used it. ports test build by naddy@ ok deraadt@ kettenis@
* Make pthread_atfork() track the DSO that called it like atexit() does,guenther2015-04-071-2/+3
| | | | | | | | | | unregistering callbacks if the DSO is unloaded. Move the callback handling from libpthread to libc, though libpthread still overrides the inner call to handle locking and thread-library reinitialization. Major version bump for both libc and libpthread. verification that this fixes various ports ajacoutot@ asm assistance miod@; ok millert@ deraadt@
* Simplify fork/vfork logic: the kernel has handled returning zero in the childguenther2015-03-312-10/+4
| | | | | | | for a long time, so there's no need to test the second return register here in the asm stub. ok and testing of many archs by krw@ miod@
* these are no longer used; ok guentherderaadt2012-09-041-38/+0
|
* __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-36/+0
|
* Move __tfork_thread() from rthreads (libpthread) to libc so thatguenther2012-03-221-0/+57
| | | | | | it can be used for not-strictly-threading purposes ok matthew@ kurt@
* Move __cerror to ___cerror with a weak alias so that rthreads can override it.guenther2011-04-041-3/+5
| | | | | | On mips64, also correct the name called from plain cerror to __cerror. "looks correct" miod@
* zap rcsid.espie2005-08-0713-78/+13
| | | | okay deraadt@ (tested them all)
* Rename curbrk to __curbrk on alpha to avoid namespace pollution.art2002-10-062-9/+9
|
* Rename cerror to __cerror on alpha to avoid namespace pollution.art2002-10-061-4/+4
|
* rfork() needs a fork.S-like stub as well; ok artderaadt2002-02-171-0/+41
|
* SYSLEAF, not LEAF. shared libc_r builds now on alpha.art2001-06-131-3/+3
|
* replacement pipe() system call; copies data into place inside kernel, soderaadt1999-06-071-43/+0
| | | | that EFAULT return value is possible
* END -> SYSEND (typo fix)d1999-02-041-3/+3
|
* mi ptraced1999-02-011-45/+0
|
* _THREAD_SAFE; nominal testing by friesd1999-01-066-20/+20
|
* generate reboot.o like other system callsderaadt1996-12-111-41/+0
|
* Merge to NetBSD, added RCSidsniklas1996-11-1315-28/+73
|
* Fix RCS idstholo1996-08-1915-30/+75
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* from cgd@netbsd; be more conservative when setting the gpderaadt1995-12-142-4/+6
|
* initial import of NetBSD treederaadt1995-10-1815-0/+575