Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jun 2018 22:09:27 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334500 - in head/lib/libc: amd64/gen i386/gen
Message-ID:  <201806012209.w51M9RBR081191@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Fri Jun  1 22:09:27 2018
New Revision: 334500
URL: https://svnweb.freebsd.org/changeset/base/334500

Log:
  Remove support for SYS_sys_exit in favor of SYS_exit.
  
  SYS_exit has been defined in the repo since 1994 except for a brief
  window when SYS_sys_exit was defined in 2000.

Modified:
  head/lib/libc/amd64/gen/rfork_thread.S
  head/lib/libc/i386/gen/rfork_thread.S

Modified: head/lib/libc/amd64/gen/rfork_thread.S
==============================================================================
--- head/lib/libc/amd64/gen/rfork_thread.S	Fri Jun  1 21:37:42 2018	(r334499)
+++ head/lib/libc/amd64/gen/rfork_thread.S	Fri Jun  1 22:09:27 2018	(r334500)
@@ -80,11 +80,7 @@ ENTRY(rfork_thread)
 	/*
 	 * Exit system call
 	 */
-#ifdef SYS_exit
 	movq	$SYS_exit, %rax
-#else
-	movq	$SYS_sys_exit, %rax
-#endif
 	KERNCALL
 
 	/*

Modified: head/lib/libc/i386/gen/rfork_thread.S
==============================================================================
--- head/lib/libc/i386/gen/rfork_thread.S	Fri Jun  1 21:37:42 2018	(r334499)
+++ head/lib/libc/i386/gen/rfork_thread.S	Fri Jun  1 22:09:27 2018	(r334500)
@@ -98,11 +98,7 @@ ENTRY(rfork_thread)
 	 */
 	pushl	%eax
 	pushl	$0
-#ifdef SYS_exit
 	movl	$SYS_exit, %eax
-#else
-	movl	$SYS_sys_exit, %eax
-#endif
 	KERNCALL
 
 	/*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806012209.w51M9RBR081191>