Skip to content

Commit

Permalink
HBSD: Bump __HardenedBSD_version
Browse files Browse the repository at this point in the history
With retpoline and PTI, __HardenedBSD_version should be bumped.

Signed-off-by:	Shawn Webb <shawn.webb@hardenedbsd.org>
(cherry picked from commit acc915133e49e9c7d7372e9452ea244daa51c46c)
  • Loading branch information
lattera committed Jan 23, 2018
1 parent f5f746b commit 4875757
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions UPDATING-HardenedBSD
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[20180113] retpoline and PTI
__HardenedBSD_version = 1200057

Integrated the retpoline patch from llvm and the PTI patch
from FreeBSD.

[20180103] PAX_JAIL_SUPPORT
__HardenedBSD_version = 1200056

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 1200056UL
#define __HardenedBSD_version 1200057UL

#if defined(_KERNEL) || defined(_WANT_PRISON)
typedef uint32_t pax_state_t;
Expand Down

0 comments on commit 4875757

Please sign in to comment.