public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v3 0/6] DHCP tests and AppArmor/SELinux improvements
@ 2018-12-18  1:02 Petr Vorel
  2018-12-18  1:02 ` [LTP] [PATCH v3 1/6] net/dhcp: Rename setup & cleanup functions Petr Vorel
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Petr Vorel @ 2018-12-18  1:02 UTC (permalink / raw)
  To: ltp

Hi,

another version of DHCP tests and AppArmor/SELinux improvements.
Changes v2->v3:
* Remove TST_SECURITY_WARN and try to detect affected test
automatically via grepping current policy with $TST_NEEDS_CMDS. There is
still printed warning on enforced AppArmor/SELinux even no policy is
found. Suggested by Alexey Kodanev.
* Warning is printed only on TFAIL. Suggested by Alexey Kodanev.
* Root check in tst_test.sh is moved to _tst_require_root()
* Add dhcpd and dhclient path fixes.

Petr Vorel (6):
  net/dhcp: Rename setup & cleanup functions
  shell: Add tst_security.sh helper
  net/dhcp: Use for allowed by AppArmor and SELinux
  net/dhcp: Check also default dhclient lease file path
  net/dhcp: Move print_dhcp_log() into dhcp library
  ver_linux: Print AppArmor and SELinux status

 testcases/lib/tst_security.sh           | 124 ++++++++++++++++++++++++
 testcases/lib/tst_test.sh               |  17 +++-
 testcases/network/dhcp/dhcp_lib.sh      |  24 ++++-
 testcases/network/dhcp/dhcpd_tests.sh   |  19 ++--
 testcases/network/dhcp/dnsmasq_tests.sh |  17 ++--
 ver_linux                               |  46 ++++++++-
 6 files changed, 219 insertions(+), 28 deletions(-)
 create mode 100644 testcases/lib/tst_security.sh

-- 
2.19.2


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2019-01-29 18:24 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox