Initial Commit
- initial default booting image
This commit is contained in:
17
package/checksec/Config.in.host
Normal file
17
package/checksec/Config.in.host
Normal file
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_HOST_CHECKSEC
|
||||
bool "host checksec"
|
||||
help
|
||||
This tool provides a shell script to check the
|
||||
properties of executables
|
||||
(PIE,RELRO,Stack Canaries,Fortify Source).
|
||||
It also has a kernel test mode that can run on target
|
||||
for testing of PaX, ASLR, heap and config hardening.
|
||||
|
||||
NOTE: when using this tool as a host tool, the tool
|
||||
can offline check a target folder of elf files for
|
||||
hardening features enabled in those elf files. There
|
||||
are other features of this tool, like the kernel test
|
||||
feature that are not functional offline, but require the
|
||||
user to execute in a chroot or on target.
|
||||
|
||||
https://github.com/slimm609/checksec.sh.git
|
||||
3
package/checksec/checksec.hash
Normal file
3
package/checksec/checksec.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 59a351ac9b552a817329f2d2c1cd8ee76f6cf2ad8916e8eea56310154c0e31fc checksec-181cdfa84893a5d72695944efabfa5b56687379c.tar.gz
|
||||
sha256 55154b4be6dfcb3ff29d1e3648d0d07b3943a5fcc3af7c2e0e799b074734f722 LICENSE.txt
|
||||
17
package/checksec/checksec.mk
Normal file
17
package/checksec/checksec.mk
Normal file
@@ -0,0 +1,17 @@
|
||||
################################################################################
|
||||
#
|
||||
# checksec
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# git hash of 2.7.1 release.
|
||||
CHECKSEC_VERSION = 181cdfa84893a5d72695944efabfa5b56687379c
|
||||
CHECKSEC_SITE = $(call github,slimm609,checksec.sh,$(CHECKSEC_VERSION))
|
||||
CHECKSEC_LICENSE = BSD-3-Clause
|
||||
CHECKSEC_LICENSE_FILES = LICENSE.txt
|
||||
|
||||
define HOST_CHECKSEC_INSTALL_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/checksec $(HOST_DIR)/bin/checksec
|
||||
endef
|
||||
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user