From 0ffb178ea81ebcde3990dd8269ccc08ebbc83416 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Thu, 8 Feb 2018 09:57:25 +0100 Subject: meta-security: Remove unused content MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This unused content can be devided in two parts: - setting and feature in bitbake classes - tests None are actually used by AGL. Even if this content can be later included in distribution, I prefer to remove it now. Change-Id: I4e6a8ac6326986a5652a7c47614dcaa3db8cabb6 Signed-off-by: José Bollo --- meta-security/lib/oeqa/runtime/__init__.py | 0 meta-security/lib/oeqa/runtime/files/notroot.py | 33 -- .../oeqa/runtime/files/smack_test_file_access.sh | 54 -- .../files/test_privileged_change_self_label.sh | 18 - .../lib/oeqa/runtime/files/test_smack_onlycap.sh | 27 - .../oeqa/runtime/files/test_smack_tcp_sockets.sh | 108 ---- .../oeqa/runtime/files/test_smack_udp_sockets.sh | 107 ---- meta-security/lib/oeqa/runtime/securitymanager.py | 108 ---- meta-security/lib/oeqa/runtime/smack.py | 589 --------------------- 9 files changed, 1044 deletions(-) delete mode 100644 meta-security/lib/oeqa/runtime/__init__.py delete mode 100644 meta-security/lib/oeqa/runtime/files/notroot.py delete mode 100644 meta-security/lib/oeqa/runtime/files/smack_test_file_access.sh delete mode 100644 meta-security/lib/oeqa/runtime/files/test_privileged_change_self_label.sh delete mode 100644 meta-security/lib/oeqa/runtime/files/test_smack_onlycap.sh delete mode 100644 meta-security/lib/oeqa/runtime/files/test_smack_tcp_sockets.sh delete mode 100644 meta-security/lib/oeqa/runtime/files/test_smack_udp_sockets.sh delete mode 100644 meta-security/lib/oeqa/runtime/securitymanager.py delete mode 100644 meta-security/lib/oeqa/runtime/smack.py (limited to 'meta-security/lib/oeqa') diff --git a/meta-security/lib/oeqa/runtime/__init__.py b/meta-security/lib/oeqa/runtime/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/meta-security/lib/oeqa/runtime/files/notroot.py b/meta-security/lib/oeqa/runtime/files/notroot.py deleted file mode 100644 index f0eb0b5b9..000000000 --- a/meta-security/lib/oeqa/runtime/files/notroot.py +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env python -# -# Script used for running executables with custom labels, as well as custom uid/gid -# Process label is changed by writing to /proc/self/attr/curent -# -# Script expects user id and group id to exist, and be the same. -# -# From adduser manual: -# """By default, each user in Debian GNU/Linux is given a corresponding group -# with the same name. """ -# -# Usage: root@desk:~# python notroot.py