Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Fix PAX build.
details: https://anonhg.NetBSD.org/src/rev/5e454a072c97
branches: trunk
changeset: 785983:5e454a072c97
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Apr 09 07:39:01 2013 +0000
description:
Fix PAX build.
diffstat:
sys/kern/exec_elf.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 06cd760451b7 -r 5e454a072c97 sys/kern/exec_elf.c
--- a/sys/kern/exec_elf.c Mon Apr 08 21:12:33 2013 +0000
+++ b/sys/kern/exec_elf.c Tue Apr 09 07:39:01 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exec_elf.c,v 1.44 2013/04/08 21:12:33 skrll Exp $ */
+/* $NetBSD: exec_elf.c,v 1.45 2013/04/09 07:39:01 skrll Exp $ */
/*-
* Copyright (c) 1994, 2000, 2005 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: exec_elf.c,v 1.44 2013/04/08 21:12:33 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: exec_elf.c,v 1.45 2013/04/09 07:39:01 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_pax.h"
@@ -736,7 +736,7 @@
}
#if defined(PAX_MPROTECT) || defined(PAX_SEGVGUARD) || defined(PAX_ASLR)
- p->p_pax = epp->ep_pax_flags;
+ l->l_proc->p_pax = epp->ep_pax_flags;
#endif /* PAX_MPROTECT || PAX_SEGVGUARD || PAX_ASLR */
if (is_dyn)
Home |
Main Index |
Thread Index |
Old Index