Skip to content

Commit

Permalink
HBSD: bump __HardenedBSD version after arc4random update
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Pinter <[email protected]>
  • Loading branch information
opntr committed Nov 12, 2014
1 parent 3c9c8bd commit 9e7f2ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sys/kern/kern_pax.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ __FBSDID("$FreeBSD$");
SYSCTL_NODE(_hardening, OID_AUTO, pax, CTLFLAG_RD, 0,
"PaX (exploit mitigation) features.");

static const int HardenedBSD_version = __HardenedBSD_version;
static int HardenedBSD_version = __HardenedBSD_version;
SYSCTL_INT(_hardening, OID_AUTO, version, CTLFLAG_RD|CTLFLAG_CAPRD,
&HardenedBSD_version, 0, "HardenedBSD version");

Expand Down
2 changes: 1 addition & 1 deletion sys/sys/pax.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#ifndef __SYS_PAX_H
#define __SYS_PAX_H

#define __HardenedBSD_version 1
#define __HardenedBSD_version 2

#if defined(_KERNEL) || defined(_WANT_PRISON)
struct hardening_features {
Expand Down

0 comments on commit 9e7f2ca

Please sign in to comment.