Commit Graph

29 Commits

Author SHA1 Message Date
kleink
f73ad7167d Add *__errno() redirection for _REENTRANT code. 1998-10-01 09:26:31 +00:00
christos
2e3d142a37 Add a compat sigaction. 1998-09-26 23:57:15 +00:00
christos
6bacaab8be Fix signal mess. Change old syscalls to use the right signal numbers
and add a versioned copy of sigreturn (from Jason)
1998-09-26 23:49:34 +00:00
thorpej
0c3c6dabb8 Use _C_LABEL() to generate C labels. 1998-07-01 06:24:25 +00:00
thorpej
bedc7b48df Add syscall stubs for __vfork14(). These are basically copies of Ovfork.S
with the syscall numbers changed.

Since 4.4BSD vfork(2) did not share address space, Ovfork.S could be changed
to be identical to fork.S (modulo syscall numbers).  __vfork14.S, however,
needs to remain separate since with a shared address space, the stub needs to
pre-decrement the stack and do an indirect jump to the return address, so that
the shared stackframe is still there when the parent returns.  (Obviously,
this does not apply to systems which to not build stackframes on leaf calls.)
1998-01-04 20:58:08 +00:00
christos
1394f01b4a RCSID fixes: Always use the NetBSD rcsid and the macro RCSID() defined in
<machine/asm.h>; Also syscalls should be protected using the SYSLIBC_SCCS
define not LIBC_SCCS
1997-07-16 14:37:13 +00:00
jtc
11935403ef PROF -> GPROF 1996-11-30 02:31:49 +00:00
mycroft
c9ec05f4b2 Treat reboot() like a normal system call. From PR 2458. 1996-11-11 13:41:08 +00:00
mycroft
4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
mycroft
2db41a19e7 Use trap gate to enter kernel. 1994-10-26 19:49:42 +00:00
mycroft
837f99d25c Clean up deleted files. 1994-10-06 04:38:25 +00:00
mycroft
345c8ef85c Clean up deleted files. 1994-04-02 05:36:54 +00:00
cgd
da34d8a406 have cerror DTRT on returns, w.r.t. quads and -1. it needs to be done
here (think of syscall(SYS_lseek,...)).  also, kill bogus lseek thang.
1994-04-02 05:36:52 +00:00
mycroft
b3086b2299 Need to set %edx to -1 before cerror, though perhaps we should have something
more generic for this.
1994-03-31 18:38:57 +00:00
mycroft
1fe07f186d Separate curbrk and mincrk. 1994-01-27 15:08:03 +00:00
mycroft
3463cb4eef Trivial speedup inspired by SPARC code. 1994-01-27 15:00:49 +00:00
mycroft
22e614ce10 Random cleanup. 1994-01-27 06:34:59 +00:00
mycroft
3cf1bd9939 SYS_brk --> SYS_break. Where's my axe? 1994-01-27 04:30:34 +00:00
mycroft
0496df7164 More stylistic changes. 1994-01-27 04:14:50 +00:00
mycroft
e84d8b28f3 Stylistic changes. 1994-01-27 04:10:20 +00:00
mycroft
b6b0ec3424 Fix bug jtc introduced. 1994-01-27 04:07:13 +00:00
jtc
7835a85a78 Optimization tweaks:
Use testl %reg,%reg instead of cmpl $0,%reg
Use xorl  %reg,%reg instead of movl $0,%reg
1994-01-24 19:24:36 +00:00
jtc
0e09f939b2 Fix bug #24 by renaming _logname_valid to __logname_valid. 1993-12-18 01:02:47 +00:00
pk
f3f7594fc9 Use PIC_PLT for error returns.
Correct operand order in accessing `minbrk' and `curbrk'.
1993-12-06 23:28:08 +00:00
mycroft
448e711c78 Clean up deleted files. 1993-12-04 01:28:42 +00:00
jtc
4418616857 Move the old berkeley sccs id into the header comment like it is done
for other source files.
1993-10-21 02:19:25 +00:00
jtc
79591d04bc So many files in arch/i386 have been changed I might as well run my
remove unecessary trailing whitespace script.
1993-10-21 01:48:14 +00:00
jtc
823c36577c Change instances of LIBC_RCS back to LIBC_SCCS. If we are going to change
th LIBC_RCS, the entire source tree should be updated at once.
Remove && !defined(lint) from conditionals around rcs id's.  No one is
ever going to pass a *.s file through lint.
1993-10-21 01:39:55 +00:00
cgd
0b9f50897e make an arch directory in libc, and move all machine dirs into it 1993-10-07 00:17:24 +00:00