Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jul 2016 00:54:46 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r302921 - head/sys/i386/linux
Message-ID:  <201607160054.u6G0skWl011302@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Sat Jul 16 00:54:46 2016
New Revision: 302921
URL: https://svnweb.freebsd.org/changeset/base/302921

Log:
  Rename PTRACE_SYSCALL to LINUX_PTRACE_SYSCALL.
  
  Suggested by:	kib

Modified:
  head/sys/i386/linux/linux_ptrace.c

Modified: head/sys/i386/linux/linux_ptrace.c
==============================================================================
--- head/sys/i386/linux/linux_ptrace.c	Fri Jul 15 23:43:23 2016	(r302920)
+++ head/sys/i386/linux/linux_ptrace.c	Sat Jul 16 00:54:46 2016	(r302921)
@@ -69,7 +69,7 @@ __FBSDID("$FreeBSD$");
 #define PTRACE_ATTACH		16
 #define PTRACE_DETACH		17
 
-#define	PTRACE_SYSCALL		24
+#define	LINUX_PTRACE_SYSCALL	24
 
 #define PTRACE_GETREGS		12
 #define PTRACE_SETREGS		13
@@ -473,7 +473,7 @@ linux_ptrace(struct thread *td, struct l
 
 		break;
 	}
-	case PTRACE_SYSCALL:
+	case LINUX_PTRACE_SYSCALL:
 		/* fall through */
 	default:
 		printf("linux: ptrace(%u, ...) not implemented\n",



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