Home
last modified time | relevance | path

Searched refs:selinux (Results 1 – 25 of 97) sorted by relevance

1234

/openbmc/linux/scripts/selinux/
H A Dinstall_policy.sh42 mkdir -p /etc/selinux/dummy/policy
43 mkdir -p /etc/selinux/dummy/contexts/files
48 cat > /etc/selinux/dummy/contexts/x_contexts <<EOF
59 cp dbus_contexts /etc/selinux/dummy/contexts
60 cp policy.$VERS /etc/selinux/dummy/policy
63 if [ ! -d /etc/selinux ]; then
64 mkdir -p /etc/selinux
66 if [ -f /etc/selinux/config ]; then
68 mv /etc/selinux/config /etc/selinux/config.bak
71 cat > /etc/selinux/config << EOF
[all …]
/openbmc/linux/security/selinux/
H A DMakefile11 obj-$(CONFIG_SECURITY_SELINUX) := selinux.o
13 ccflags-y := -I$(srctree)/security/selinux -I$(srctree)/security/selinux/include
15 selinux-y := avc.o hooks.o selinuxfs.o netlink.o nlmsgtab.o netif.o \
20 selinux-$(CONFIG_SECURITY_NETWORK_XFRM) += xfrm.o
21 selinux-$(CONFIG_NETLABEL) += netlabel.o
22 selinux-$(CONFIG_SECURITY_INFINIBAND) += ibpkey.o
23 selinux-$(CONFIG_IMA) += ima.o
29 $(addprefix $(obj)/,$(selinux-y)): $(obj)/flask.h
39 $(obj)/flask.h: scripts/selinux/genheaders/genheaders FORCE
H A DKconfig17 This option adds a kernel parameter 'selinux', which allows SELinux
19 functionality can be disabled with selinux=0 on the kernel
38 /sys/fs/selinux/enforce.
46 /sys/fs/selinux/avc/cache_stats, which may be monitored via
57 collisions may be viewed at /sys/fs/selinux/ss/sidtab_hash_stats. If
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/ltrace/ltrace/
H A Dconfigure-allow-to-disable-selinux-support.patch4 Subject: [PATCH] ltrace: allow to enable/disable selinux support
21 -AC_CHECK_HEADERS(selinux/selinux.h)
22 -AC_CHECK_LIB(selinux, security_get_boolean_active)
23 +AC_ARG_ENABLE([selinux],
24 + AS_HELP_STRING([--enable-selinux],[enable SELinux support [default=auto]]),
28 + AC_CHECK_HEADERS(selinux/selinux.h)
29 + AC_CHECK_LIB(selinux, security_get_boolean_active)
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/extras/
H A D0001-ext4_utils-remove-selinux-extensions.patch4 Subject: [PATCH] ext4_utils: remove selinux extensions
22 #include <selinux/selinux.h>
23 #include <selinux/label.h>
24 -#include <selinux/android.h>
34 #include <selinux/selinux.h>
35 #include <selinux/label.h>
36 -#include <selinux/android.h>
/openbmc/linux/Documentation/admin-guide/LSM/
H A DSELinux.rst13 scripts/selinux. Note that this requires the selinux
18 1. Compile the kernel with selinux enabled.
22 you are, reboot with selinux disabled
26 cd scripts/selinux
30 kernel, with a single selinux user, role, and type.
32 ``dummy`` in ``/etc/selinux/config``, install the compiled policy
/openbmc/linux/tools/perf/Documentation/
H A Dsecurity.txt15 1. Download selinux-policy SRPM package (e.g. selinux-policy-3.14.4-48.fc31.src.rpm on FC31)
18 # rpm -Uhv selinux-policy-3.14.4-48.fc31.src.rpm
22 # rpmbuild -bp selinux-policy.spec
27 # patch -p1 < selinux-policy-perf-events-perfmon.patch
30 # cat selinux-policy-perf-events-perfmon.patch
71 # rpmbuild --noclean --noprep -ba selinux-policy.spec
79 -rw-r--r--. 1 root root 112K Mar 20 12:16 selinux-policy-3.14.4-48.fc31.noarch.rpm
81 -rw-r--r--. 1 root root 2.3M Mar 20 12:17 selinux-policy-doc-3.14.4-48.fc31.noarch.rpm
90 # rpm -Uhv rpmbuild/RPMS/noarch/selinux-policy-*
94 # cat /etc/selinux/config
[all …]
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-httpd/apache2/apache2/
H A D0007-apache2-allow-to-disable-selinux-support.patch4 Subject: [PATCH] apache2: allow to disable selinux support
21 -AC_CHECK_LIB(selinux, is_selinux_enabled, [
26 +AC_ARG_ENABLE(selinux,APACHE_HELP_STRING(--enable-selinux,Enable SELinux support [default=auto]),
30 + AC_CHECK_LIB(selinux, is_selinux_enabled, [
H A D0004-apache2-log-the-SELinux-context-at-startup.patch25 +AC_CHECK_LIB(selinux, is_selinux_enabled, [
42 +#include <selinux/selinux.h>
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/dbus/
H A Ddbus-broker_32.bb17 DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'libselinux (>= 3.2)', '', d)}"
18 DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'audit (>= 3.0)', '', d)}"
30 EXTRA_OEMESON += " -Dselinux=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)…
31 EXTRA_OEMESON += " -Daudit=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}"
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-security/bubblewrap/
H A Dbubblewrap_0.8.0.bb15 PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
17 PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/augeas/
H A Daugeas_1.12.0.bb33 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
34 PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/uutils-coreutils/
H A Duutils-coreutils_0.0.25.bb24 PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
26 PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
29 CARGO_BUILD_FLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'selinux', '--features feat_selinux', '…
31 DEPENDS += "${@bb.utils.contains('PACKAGECONFIG', 'selinux', 'clang-native libselinux-native', '', …
47 bindir_progs += "${@bb.utils.contains('PACKAGECONFIG', 'selinux', 'chcon runcon', '', d)}"
/openbmc/openbmc/meta-security/meta-tpm/recipes-tpm/swtpm/
H A Dswtpm_0.8.1.bb22 PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}"
30 PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux"
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/squashfs-tools-ng/
H A Dsquashfs-tools-ng_1.2.0.bb21 PACKAGECONFIG ??= "gzip xz lzo lz4 zstd ${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
27 PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/ltrace/
H A Dltrace_git.bb18 file://configure-allow-to-disable-selinux-support.patch \
42 PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
44 PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux"
/openbmc/openbmc/meta-security/recipes-security/Firejail/
H A Dfirejail_0.9.72.bb27 PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}"
31 PACKAGECONFIG[selinux] = "--enable-selinux, --disable-selinux, libselinux"
/openbmc/openbmc/poky/meta/recipes-extended/findutils/
H A Dfindutils_4.9.0.bb11 PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
/openbmc/openbmc/meta-security/recipes-ids/aide/
H A Daide_0.17.4.bb18 ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit', '', d)} \
21 PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux, libselinux"
/openbmc/openbmc/poky/meta/recipes-extended/at/
H A Dat_3.2.5.bb12 ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
15 PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux,"
/openbmc/openbmc/meta-security/recipes-security/redhat-security/
H A Dredhat-security_1.0.bb18 file://selinux-check-devices.sh \
19 file://selinux-ls-unconfined.sh"
36 install -m 0755 ${WORKDIR}/selinux-check-devices.sh ${D}${bindir}
37 install -m 0755 ${WORKDIR}/selinux-ls-unconfined.sh ${D}${bindir}
/openbmc/linux/Documentation/ABI/removed/
H A Dsysfs-selinux-disable1 What: /sys/fs/selinux/disable
4 Contact: selinux@vger.kernel.org
14 The preferred method of disabling SELinux is via the "selinux=0" boot
28 More information on /sys/fs/selinux/disable can be found under the
H A Dsysfs-selinux-checkreqprot1 What: /sys/fs/selinux/checkreqprot
4 Contact: selinux@vger.kernel.org
19 explicitly writing a "0" to /sys/fs/selinux/checkreqprot during
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/smartmontools/
H A Dsmartmontools_7.4.bb22 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'libcap-ng selinux', d)}"
24 PACKAGECONFIG[selinux] = "--with-selinux=yes,--with-selinux=no,libselinux"
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/lvm2/
H A Dlvm2.inc31 ${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)} \
43 PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"

1234