PAX: move p_pax and p_ptrace_hardening to autocopied part of proc struct

Suggested-by: rwatson@
Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
PAX SEGVGUARD: fix compile when nor PAX_HARDENING nor PAX_ASLR not set in kernel config

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
PAX: consistently use check agains prison0

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
PAX ASLR: simplify and rename _pax_aslr_init{,32} to pax_aslr_init_vmspace{,32}

Suggested-by: rwatson@
Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
PAX ASLR: more conversion, continue the previous renames to pax_aslr_init_vmspace

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/aslr
PAX ASLR: move len_32bit to it's own scope

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
PAX ASLR: added check against compat stuffs in pax.h

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
PAX ASLR: move ASLR related things to it's own context

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
PAX ASLR: introduce pax_aslr_execbase, to be consistent with other changes

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
PAX: added new lines, where no local variables

Suggested-by: @rwatson
Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
PAX ASLR: added new lines, where no local variables

Suggested-by: rwatson@
Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
PAX ASLR: fix build

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/aslr
Fix VOLUME_LABEL when BRANCH contains non-alpha
characters, in particular '-' and '.'.

Submitted by:	des
Tested by:	des
MFC after:	3 days
X-MFC-10.1:	yes
Sponsored by:	The FreeBSD Foundation
Eliminate a stale, i386-specific comment.
Fix mis-spelling of bits and types names in the
default_pager_putpages() and swap_pager_putpages().
It is the same fix as was done for vnode_pager_putpages()
in r271586.

Reviewed by:	alc
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Merge remote-tracking branch 'freebsd/master' into hardened/current/master
Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/hardening