From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v3 2/6] shell: Add tst_security.sh helper
Date: Wed, 16 Jan 2019 16:20:53 +0100 [thread overview]
Message-ID: <20190116152053.GA28027@x230> (raw)
In-Reply-To: <20190116131230.GC24833@rei>
Hi Cyril,
> > It prints info about AppArmor and SELinux and allows to disable it.
> > This is due some false positives because improper usage or bugs
> > in AppArmor profiles (e.g. traceroute, dnsmasq).
> Looks good, the only piece I'm not 100% sure about is if this should be
> sourced by default in tst_test.sh. Shouldn't we just include this in
> network tests?
Understand, most of user space related tests are network tests.
I decided to add it for all tests as AppArmor default [1] and non-default [2]
contains various non-networking tools (syslog-ng, syslogd, klogd, cron, passwd,
useradd, userdel); SELinux has some kernel [3] and system [4] related modules.
Kind regards,
Petr
[1] https://gitlab.com/apparmor/apparmor/tree/master/profiles/apparmor.d
[2] https://gitlab.com/apparmor/apparmor/tree/master/profiles/apparmor/profiles/extras
[3] https://github.com/SELinuxProject/refpolicy/tree/master/policy/modules/kernel
[4] https://github.com/SELinuxProject/refpolicy/tree/master/policy/modules/system
next prev parent reply other threads:[~2019-01-16 15:20 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-18 1:02 [LTP] [PATCH v3 0/6] DHCP tests and AppArmor/SELinux improvements Petr Vorel
2018-12-18 1:02 ` [LTP] [PATCH v3 1/6] net/dhcp: Rename setup & cleanup functions Petr Vorel
2018-12-18 1:02 ` [LTP] [PATCH v3 2/6] shell: Add tst_security.sh helper Petr Vorel
2018-12-19 12:38 ` Alexey Kodanev
2018-12-19 13:33 ` Petr Vorel
2019-01-16 13:12 ` Cyril Hrubis
2019-01-16 15:20 ` Petr Vorel [this message]
2019-01-23 14:08 ` Cyril Hrubis
2019-01-23 16:20 ` Petr Vorel
2019-01-23 16:20 ` Cyril Hrubis
2019-01-29 18:24 ` Petr Vorel
2018-12-18 1:02 ` [LTP] [PATCH v3 3/6] net/dhcp: Use for allowed by AppArmor and SELinux Petr Vorel
2018-12-18 1:02 ` [LTP] [PATCH v3 4/6] net/dhcp: Check also default dhclient lease file path Petr Vorel
2018-12-18 1:02 ` [LTP] [PATCH v3 5/6] net/dhcp: Move print_dhcp_log() into dhcp library Petr Vorel
2018-12-18 1:02 ` [LTP] [PATCH v3 6/6] ver_linux: Print AppArmor and SELinux status Petr Vorel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190116152053.GA28027@x230 \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox