summaryrefslogtreecommitdiff
path: root/lib/libc/i386/sys
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/i386/sys')
-rw-r--r--lib/libc/i386/sys/fork.S10
-rw-r--r--lib/libc/i386/sys/pipe.S10
-rw-r--r--lib/libc/i386/sys/rfork.S10
-rw-r--r--lib/libc/i386/sys/sigpending.S10
-rw-r--r--lib/libc/i386/sys/sigreturn.S10
5 files changed, 15 insertions, 35 deletions
diff --git a/lib/libc/i386/sys/fork.S b/lib/libc/i386/sys/fork.S
index 96cb4b6ec1d2..aae2ff9e8f75 100644
--- a/lib/libc/i386/sys/fork.S
+++ b/lib/libc/i386/sys/fork.S
@@ -33,21 +33,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: fork.S,v 1.3 1996/01/22 00:00:57 julian Exp $
+ * $Id: fork.S,v 1.4 1996/05/05 07:56:13 peter Exp $
*/
#if defined(SYSLIBC_RCS) && !defined(lint)
.text
- .asciz "$Id: fork.S,v 1.3 1996/01/22 00:00:57 julian Exp $"
+ .asciz "$Id: fork.S,v 1.4 1996/05/05 07:56:13 peter Exp $"
#endif /* SYSLIBC_RCS and not lint */
#include "SYS.h"
-#ifdef _THREAD_SAFE
-PSYSCALL(fork,_thread_sys_fork)
-#else
-SYSCALL(fork)
-#endif
+PSYSCALL(fork)
cmpl $0,%edx /* parent, since %edx == 0 in parent, 1 in child */
je 1f
movl $0,%eax
diff --git a/lib/libc/i386/sys/pipe.S b/lib/libc/i386/sys/pipe.S
index 0dcf8572096b..d52b189ba536 100644
--- a/lib/libc/i386/sys/pipe.S
+++ b/lib/libc/i386/sys/pipe.S
@@ -33,21 +33,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: pipe.S,v 1.3 1996/01/22 00:00:58 julian Exp $
+ * $Id: pipe.S,v 1.4 1996/05/05 07:56:13 peter Exp $
*/
#if defined(SYSLIBC_RCS) && !defined(lint)
.text
- .asciz "$Id: pipe.S,v 1.3 1996/01/22 00:00:58 julian Exp $"
+ .asciz "$Id: pipe.S,v 1.4 1996/05/05 07:56:13 peter Exp $"
#endif /* SYSLIBC_RCS and not lint */
#include "SYS.h"
-#ifdef _THREAD_SAFE
-PSYSCALL(pipe,_thread_sys_pipe)
-#else
-SYSCALL(pipe)
-#endif
+PSYSCALL(pipe)
movl 4(%esp),%ecx
movl %eax,(%ecx)
movl %edx,4(%ecx)
diff --git a/lib/libc/i386/sys/rfork.S b/lib/libc/i386/sys/rfork.S
index c1e85e6f80fc..341135786041 100644
--- a/lib/libc/i386/sys/rfork.S
+++ b/lib/libc/i386/sys/rfork.S
@@ -33,21 +33,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: rfork.S,v 1.1 1996/02/23 19:56:47 peter Exp $
+ * $Id: rfork.S,v 1.2 1996/05/05 07:56:15 peter Exp $
*/
#if defined(SYSLIBC_RCS) && !defined(lint)
.text
- .asciz "$Id: rfork.S,v 1.1 1996/02/23 19:56:47 peter Exp $"
+ .asciz "$Id: rfork.S,v 1.2 1996/05/05 07:56:15 peter Exp $"
#endif /* SYSLIBC_RCS and not lint */
#include "SYS.h"
-#ifdef _THREAD_SAFE
-PSYSCALL(rfork,_thread_sys_rfork)
-#else
-SYSCALL(rfork)
-#endif
+PSYSCALL(rfork)
cmpl $0,%edx /* parent, since %edx == 0 in parent, 1 in child */
je 1f
movl $0,%eax
diff --git a/lib/libc/i386/sys/sigpending.S b/lib/libc/i386/sys/sigpending.S
index a56c8f7ef454..938a069da387 100644
--- a/lib/libc/i386/sys/sigpending.S
+++ b/lib/libc/i386/sys/sigpending.S
@@ -33,21 +33,17 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: sigpending.S,v 1.3 1996/01/22 00:00:59 julian Exp $
+ * $Id: sigpending.S,v 1.4 1996/05/05 07:56:18 peter Exp $
*/
#if defined(SYSLIBC_RCS) && !defined(lint)
.text
- .asciz "$Id: sigpending.S,v 1.3 1996/01/22 00:00:59 julian Exp $"
+ .asciz "$Id: sigpending.S,v 1.4 1996/05/05 07:56:18 peter Exp $"
#endif /* SYSLIBC_RCS and not lint */
#include "SYS.h"
-#ifdef _THREAD_SAFE
-PSYSCALL(sigpending,_thread_sys_sigpending)
-#else
-SYSCALL(sigpending)
-#endif
+PSYSCALL(sigpending)
movl 4(%esp),%ecx # fetch pointer to...
movl %eax,(%ecx) # store old mask
xorl %eax,%eax
diff --git a/lib/libc/i386/sys/sigreturn.S b/lib/libc/i386/sys/sigreturn.S
index cce518b742c3..c685b9198287 100644
--- a/lib/libc/i386/sys/sigreturn.S
+++ b/lib/libc/i386/sys/sigreturn.S
@@ -33,12 +33,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: sigreturn.S,v 1.3 1996/01/22 00:01:00 julian Exp $
+ * $Id: sigreturn.S,v 1.4 1996/05/05 07:56:19 peter Exp $
*/
#if defined(SYSLIBC_RCS) && !defined(lint)
.text
- .asciz "$Id: sigreturn.S,v 1.3 1996/01/22 00:01:00 julian Exp $"
+ .asciz "$Id: sigreturn.S,v 1.4 1996/05/05 07:56:19 peter Exp $"
#endif /* SYSLIBC_RCS and not lint */
#include "SYS.h"
@@ -48,9 +48,5 @@
* must be saved. On FreeBSD, this is not the case.
*/
-#ifdef _THREAD_SAFE
-PSYSCALL(sigreturn,_thread_sys_sigreturn)
-#else
-SYSCALL(sigreturn)
-#endif
+PSYSCALL(sigreturn)
ret