HBSD: drop unused variables from hardening_features structure

github-issue: #60
Signed-off-by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
HBSD: refactor kern/kern_pax.c -> hardenedbsd/hbsd_pax_common.c

github-issue: #60
Signed-off-by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
HBSD: refactor: kern/kern_pax_aslr.c -> hardenedbsd/hbsd_pax_aslr.c

github-issue: #60
Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
HBSD: refacor: kern/kern_pax_hardening.c -> hardenedbsd/hbsd_pax_hardening.c

github-issue: #60
Signed-off-by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
HBSD: refactor: kern/kern_pax_segvguard.c -> hardenedbsd/hbsd_pax_segvguard.c

github-issue: #60
Signed-off-by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
HBSD: refactor kern/kern_hardening_log.c -> hardenedbsd/hbsd_pax_log.c

github-issue: #60
Signed-off-by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
HBSD: refactor: kern/kern_ptrace_hardening.c -> hardenedbsd/hbsd_ptrace_hardening.c

github-issue: #60
Signed-off-by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
HBSD: refactor opt_ptrace_hardening.h -> opt_pax.h

github-issue: #60
Signed-off-by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
HBSD: fix fatal error in ptrace hardening

op@opn sys> git grep PTRACE_HARDENING_MODE_ROOTONLY
sys/ptrace_hardening.h:#define PTRACE_HARDENING_MODE_ROOTONLY   0x0
hardenedbsd/hbsd_ptrace_hardening.c:                    flags |=PTRACE_HARDENING_MODE_ROOTONLY;

ergo flags |= 0 ...

github-issue: #60
CC: David Carlier <david.carlier@hardenedbsd.org>
Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
HBSD PTRACE: cleanup headers

github-issue: #60
Signed-off-by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
HBSD PTRACE: whitespace fixes

github-issue: #60
Signed-off-by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
HBSD LOG: add ; to the end of the template lines

github-issue: #60
Signed-off-by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
HBSD: paxify ptrace - log

github-issue: #60
Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
HBSD: delete defined but unused ptrace_hardening_mode(...) function and related things

github-issue: #60
Signed-off-by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
HBSD: fix build, corrected typo log

github-issue: #60
Signed-off-by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
HBSD: remove unused variable and bogous extern

github-issue: #60
Signed-off-by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
HBSD: paxify ptrace hardening

github-issue: #60 #62
Signed-off-by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
HBSD: make PTRACE_HARDENING_GRP compile time configurable

github-issue: #60 #62
Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
HBSD: paxify ptrace hardening - part 2

github-issue: #60 #62
Signed-off-by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
HBSD: allow to specify wheel group, as allowed group

github-issue: #60 #62
Signed-off-by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
CC: Shawn Webb <shawn.webb@hardenedbsd.org>