Module Name:    src
Committed By:   kamil
Date:           Sat Aug 11 11:33:10 UTC 2018

Modified Files:
        src/sys/sys: sysctl.h

Log Message:
Remove unused symbols from <sys/sysctl.h>

Drop: P_PAXMPROTECT and P_PAXNOMPROTECT.

These values are unused and the proper way to check PaX MPROTECT is to use
CTL_PROC.pid().PROC_PID_PAXFLAGS and check CTL_PROC_PAXFLAGS_MPROTECT.

Proposed on current-users@.
OK from <christos>


To generate a diff of this commit:
cvs rdiff -u -r1.226 -r1.227 src/sys/sys/sysctl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/sysctl.h
diff -u src/sys/sys/sysctl.h:1.226 src/sys/sys/sysctl.h:1.227
--- src/sys/sys/sysctl.h:1.226	Wed May 16 20:21:39 2018
+++ src/sys/sys/sysctl.h	Sat Aug 11 11:33:10 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: sysctl.h,v 1.226 2018/05/16 20:21:39 joerg Exp $	*/
+/*	$NetBSD: sysctl.h,v 1.227 2018/08/11 11:33:10 kamil Exp $	*/
 
 /*
  * Copyright (c) 1989, 1993
@@ -632,8 +632,6 @@ struct kinfo_proc2 {
 #define	P_STOPEXEC		0x01000000
 #define	P_STOPEXIT		0x02000000
 #define	P_SYSCALL		0x04000000
-#define	P_PAXMPROTECT		0x08000000
-#define	P_PAXNOMPROTECT		0x10000000
 
 /*
  * LWP compat flags.

Reply via email to