Skip to contentSkip to conversation

meta-security-isafw: drop layer isafw project archived

PATCH New Armin Kuster 1 participant 1 message Jun 17, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meta-security-isafw: drop layer isafw project archived

---
 meta-security-isafw/.gitignore                |   2 -
 meta-security-isafw/COPYING.MIT               |  17 -
 meta-security-isafw/README.md                 |  92 ----
 meta-security-isafw/classes/isafw.bbclass     | 317 --------------
 meta-security-isafw/conf/layer.conf           |  17 -
 meta-security-isafw/lib/isafw/__init__.py     |  40 --
 meta-security-isafw/lib/isafw/isafw.py        | 158 -------
 .../lib/isafw/isaplugins/ISA_cfa_plugin.py    | 392 ------------------
 .../lib/isafw/isaplugins/ISA_cve_plugin.py    | 217 ----------
 .../lib/isafw/isaplugins/ISA_fsa_plugin.py    | 185 ---------
 .../lib/isafw/isaplugins/ISA_kca_plugin.py    | 323 ---------------
 .../lib/isafw/isaplugins/ISA_la_plugin.py     | 273 ------------
 .../lib/isafw/isaplugins/__init__.py          |  42 --
 .../lib/isafw/isaplugins/configs/__init__.py  |   0
 .../isafw/isaplugins/configs/kca/__init__.py  |   0
 .../lib/isafw/isaplugins/configs/kca/arm.py   |  24 --
 .../isafw/isaplugins/configs/kca/common.py    | 242 -----------
 .../lib/isafw/isaplugins/configs/kca/x86.py   |  38 --
 .../isaplugins/configs/la/approved-non-osi    |  43 --
 .../isafw/isaplugins/configs/la/exceptions    |   0
 .../lib/isafw/isaplugins/configs/la/licenses  | 105 -----
 .../isafw/isaplugins/configs/la/violations    |   7 -
 .../checksec/checksec_1.5-1.bb                |  25 --
 23 files changed, 2559 deletions(-)
 delete mode 100644 meta-security-isafw/.gitignore
 delete mode 100644 meta-security-isafw/COPYING.MIT
 delete mode 100644 meta-security-isafw/README.md
 delete mode 100644 meta-security-isafw/classes/isafw.bbclass
 delete mode 100644 meta-security-isafw/conf/layer.conf
 delete mode 100644 meta-security-isafw/lib/isafw/__init__.py
 delete mode 100644 meta-security-isafw/lib/isafw/isafw.py
 delete mode 100644 meta-security-isafw/lib/isafw/isaplugins/ISA_cfa_plugin.py
 delete mode 100644 meta-security-isafw/lib/isafw/isaplugins/ISA_cve_plugin.py
 delete mode 100644 meta-security-isafw/lib/isafw/isaplugins/ISA_fsa_plugin.py
 delete mode 100644 meta-security-isafw/lib/isafw/isaplugins/ISA_kca_plugin.py
 delete mode 100644 meta-security-isafw/lib/isafw/isaplugins/ISA_la_plugin.py
 delete mode 100644 meta-security-isafw/lib/isafw/isaplugins/__init__.py
 delete mode 100644 meta-security-isafw/lib/isafw/isaplugins/configs/__init__.py
 delete mode 100644 meta-security-isafw/lib/isafw/isaplugins/configs/kca/__init__.py
 delete mode 100644 meta-security-isafw/lib/isafw/isaplugins/configs/kca/arm.py
 delete mode 100644 meta-security-isafw/lib/isafw/isaplugins/configs/kca/common.py
 delete mode 100644 meta-security-isafw/lib/isafw/isaplugins/configs/kca/x86.py
 delete mode 100644 meta-security-isafw/lib/isafw/isaplugins/configs/la/approved-non-osi
 delete mode 100644 meta-security-isafw/lib/isafw/isaplugins/configs/la/exceptions
 delete mode 100644 meta-security-isafw/lib/isafw/isaplugins/configs/la/licenses
 delete mode 100644 meta-security-isafw/lib/isafw/isaplugins/configs/la/violations
 delete mode 100644 meta-security-isafw/recipes-devtools/checksec/checksec_1.5-1.bb
meta-security-isafw/.gitignore deleted +0 -2
deleted file mode 100644
index 2f836aa..0000000
@@ -1,2 +0,0 @@
-*~
-*.pyc
meta-security-isafw/COPYING.MIT deleted +0 -17
deleted file mode 100644
index fb950dc..0000000
@@ -1,17 +0,0 @@
-Permission is hereby granted, free of charge, to any person obtaining a copy 
-of this software and associated documentation files (the "Software"), to deal 
-in the Software without restriction, including without limitation the rights 
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
-copies of the Software, and to permit persons to whom the Software is 
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in 
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 
-THE SOFTWARE.
meta-security-isafw/README.md deleted +0 -92

92 lines not on this page · raw message

meta-security-isafw/classes/isafw.bbclass deleted +0 -317

317 lines not on this page · raw message

meta-security-isafw/conf/layer.conf deleted +0 -17
deleted file mode 100644
index 550cced..0000000
@@ -1,17 +0,0 @@
-# We have a conf and classes directory, add to BBPATH
-BBPATH .= ":${LAYERDIR}"
-
-# We have recipes-* directories, add to BBFILES
-BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
-
-BBFILE_COLLECTIONS += "security-isafw"
-BBFILE_PATTERN_security-isafw = "^${LAYERDIR}/"
-BBFILE_PRIORITY_security-isafw = "6"
-
-# This should only be incremented on significant changes that will
-# cause compatibility issues with other layers
-LAYERVERSION_security-isafw = "1"
-
-LAYERDEPENDS_security-isafw = "core"
-
-LAYERSERIES_COMPAT_security-isafw = "mickledore"
meta-security-isafw/lib/isafw/__init__.py deleted +0 -40
deleted file mode 100644
index 50527fb..0000000
@@ -1,40 +0,0 @@
-#
-# __init__.py - part of ISA FW
-#
-# Copyright (c) 2015 - 2016, Intel Corporation
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-#
-#    * Redistributions of source code must retain the above copyright notice,
-#      this list of conditions and the following disclaimer.
-#    * Redistributions in binary form must reproduce the above copyright
-#      notice, this list of conditions and the following disclaimer in the
-#      documentation and/or other materials provided with the distribution.
-#    * Neither the name of Intel Corporation nor the names of its contributors
-#      may be used to endorse or promote products derived from this software
-#      without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
-# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-"""isafw
-
-Current Contents:
-
-* isafw.py - main class
-* plugins - ISA plugins
-* plugins/configs - configuration data for the plugins
-"""
-
-__all__ = [
-    'isafw',
-]
meta-security-isafw/lib/isafw/isafw.py deleted +0 -158

158 lines not on this page · raw message

meta-security-isafw/lib/isafw/isaplugins/ISA_cfa_plugin.py deleted +0 -392

392 lines not on this page · raw message

meta-security-isafw/lib/isafw/isaplugins/ISA_cve_plugin.py deleted +0 -217

217 lines not on this page · raw message

meta-security-isafw/lib/isafw/isaplugins/ISA_fsa_plugin.py deleted +0 -185

185 lines not on this page · raw message

meta-security-isafw/lib/isafw/isaplugins/ISA_kca_plugin.py deleted +0 -323

323 lines not on this page · raw message

meta-security-isafw/lib/isafw/isaplugins/ISA_la_plugin.py deleted +0 -273

273 lines not on this page · raw message

meta-security-isafw/lib/isafw/isaplugins/__init__.py deleted +0 -42

42 lines not on this page · raw message

meta-security-isafw/lib/isafw/isaplugins/configs/__init__.py deleted +0 -0
deleted file mode 100644
index e69de29..0000000
meta-security-isafw/lib/isafw/isaplugins/configs/kca/__init__.py deleted +0 -0
deleted file mode 100644
index e69de29..0000000
meta-security-isafw/lib/isafw/isaplugins/configs/kca/arm.py deleted +0 -24
deleted file mode 100644
index d47ba9f..0000000
@@ -1,24 +0,0 @@
-############################################################################################
-# Kernel Hardening Configurations
-############################################################################################
-hardening_kco = {'CONFIG_DEFAULT_MMAP_MIN_ADDR': 'not set',}
-hardening_kco_ref = {'CONFIG_DEFAULT_MMAP_MIN_ADDR': '32768',}
-############################################################################################
-# Keys Kernel Configuration
-############################################################################################
-keys_kco = {}
-keys_kco_ref = {}
-############################################################################################
-# Security Kernel Configuration
-############################################################################################
-security_kco = {'CONFIG_LSM_MMAP_MIN_ADDR': 'not set',}
-security_kco_ref = {'CONFIG_LSM_MMAP_MIN_ADDR': '32768',}
-############################################################################################
-# Integrity Kernel Configuration
-############################################################################################
-integrity_kco = {}
-integrity_kco_ref = {}
-############################################################################################
-# Comments
-############################################################################################
-comments = {'CONFIG_DEFAULT_MMAP_MIN_ADDR': 'Defines the portion of low virtual memory that should be protected from userspace allocation. Keeping a user from writing to low pages can help reduce the impact of kernel NULL pointer bugs.'}
meta-security-isafw/lib/isafw/isaplugins/configs/kca/common.py deleted +0 -242

242 lines not on this page · raw message

meta-security-isafw/lib/isafw/isaplugins/configs/kca/x86.py deleted +0 -38
deleted file mode 100644
index cbaddf8..0000000
@@ -1,38 +0,0 @@
-############################################################################################
-# Kernel Hardening Configurations
-############################################################################################
-hardening_kco = {'CONFIG_DEFAULT_MMAP_MIN_ADDR': 'not set',
-                 'CONFIG_RANDOMIZE_BASE_MAX_OFFSET': 'not set',
-                 'CONFIG_X86_INTEL_MPX': 'not set',
-                 'CONFIG_X86_MSR': 'not set'
-                 }
-hardening_kco_ref = {'CONFIG_DEFAULT_MMAP_MIN_ADDR': '65536',  # x86 specific
-                     'CONFIG_RANDOMIZE_BASE_MAX_OFFSET': '0x20000000,0x40000000',  # x86 specific
-                     'CONFIG_X86_INTEL_MPX': 'y',  # x86 and certain HW variants specific
-                     'CONFIG_X86_MSR': 'not set'
-                     }
-############################################################################################
-# Keys Kernel Configuration
-############################################################################################
-keys_kco = {}
-keys_kco_ref = {}
-############################################################################################
-# Security Kernel Configuration
-############################################################################################
-security_kco = {'CONFIG_LSM_MMAP_MIN_ADDR': 'not set',
-                'CONFIG_INTEL_TXT': 'not set'}
-security_kco_ref = {'CONFIG_LSM_MMAP_MIN_ADDR': '65536',  # x86 specific
-                    'CONFIG_INTEL_TXT': 'y'}
-############################################################################################
-# Integrity Kernel Configuration
-############################################################################################
-integrity_kco = {}
-integrity_kco_ref = {}
-############################################################################################
-# Comments
-############################################################################################
-comments = {'CONFIG_DEFAULT_MMAP_MIN_ADDR': 'Defines the portion of low virtual memory that should be protected from userspace allocation. Keeping a user from writing to low pages can help reduce the impact of kernel NULL pointer bugs.',
-            'CONFIG_RANDOMIZE_BASE_MAX_OFFSET': 'Defines the maximal offset in bytes that will be applied to the kernel when kernel Address Space Layout Randomization (kASLR) is active.',
-            'CONFIG_X86_INTEL_MPX': 'Enables MPX hardware features that can be used with compiler-instrumented code to check memory references. It is designed to detect buffer overflow or underflow bugs.',
-            'CONFIG_X86_MSR': 'Enables privileged processes access to the x86 Model-Specific Registers (MSRs). MSR accesses are directed to a specific CPU on multi-processor systems. This alone does not provide security.'
-            }
meta-security-isafw/lib/isafw/isaplugins/configs/la/approved-non-osi deleted +0 -43

43 lines not on this page · raw message

meta-security-isafw/lib/isafw/isaplugins/configs/la/exceptions deleted +0 -0
deleted file mode 100644
index e69de29..0000000
meta-security-isafw/lib/isafw/isaplugins/configs/la/licenses deleted +0 -105

105 lines not on this page · raw message

meta-security-isafw/lib/isafw/isaplugins/configs/la/violations deleted +0 -7
deleted file mode 100644
index 5da203b..0000000
@@ -1,7 +0,0 @@
-GPL-3.0
-GPL-3.0+
-GPL-3.0-with-autoconf-exception
-GPL-3.0-with-GCC-exception
-LGPL-3.0
-LGPL-3.0+
-
meta-security-isafw/recipes-devtools/checksec/checksec_1.5-1.bb deleted +0 -25
deleted file mode 100644
index 74f5d39..0000000
@@ -1,25 +0,0 @@
-SUMMARY = "Checksec tool"
-DESCRIPTION = "The checksec.sh script is designed to test what standard Linux OS and PaX security features are being used."
-SECTION = "security"
-LICENSE = "BSD-3-Clause"
-HOMEPAGE="http://www.trapkit.de/tools/checksec.html"
-
-LIC_FILES_CHKSUM = "file://checksec-${PV}.sh;beginline=3;endline=34;md5=6dab14470bfdf12634b866dbdd7a04b0"
-
-SRC_URI = "http://www.trapkit.de/tools/checksec.sh;downloadfilename=checksec-${PV}.sh"
-
-SRC_URI[md5sum] = "57cc3fbbbe48e8ebd4672c569954374d"
-SRC_URI[sha256sum] = "05822cd8668589038d20650faa0e56f740911d8ad06f7005b3d12a5c76591b90"
-
-
-S = "${WORKDIR}"
-
-do_install() {
-    install -d ${D}${bindir}
-    install -m 0755 ${WORKDIR}/checksec-${PV}.sh    ${D}${bindir}/checksec.sh
-    sed -i 's/\r//' ${D}${bindir}/checksec.sh
-}
-
-RDEPENDS:${PN} = "bash binutils"
-
-BBCLASSEXTEND = "native"
Signature · 1 line
2.34.1