bf61e3725c
This patch adds host-checksec package support. This tool provides a script to offline check the properties of a security hardened elf file. REF: https://github.com/slimm609/checksec.sh Signed-off-by: Paresh Chaudhary <paresh.chaudhary@rockwellcollins.com> Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> [Thomas: add entry to DEVELOPERS file.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
17 lines
516 B
Makefile
17 lines
516 B
Makefile
################################################################################
|
|
#
|
|
# checksec
|
|
#
|
|
################################################################################
|
|
|
|
CHECKSEC_VERSION = cdefe53eb72e6e8f23308417d2fc6b68cba9dbac
|
|
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))
|