apparmor/parser/tst/simple_tests
Georgia Garcia 1c7127d30d Merge utils: allow mount destination globbing
The abstraction lxc/start-container shipped by the liblxc-common
package uses the following mount rule which was not allowed by our
regexes:

  mount options=(rw, make-slave) -> **,
  mount options=(rw, make-rslave) -> **,

Since in AppArmor regex ** includes '/' but * by itself doesn't, I'm
adding explicit support for **.

Signed-off-by: Georgia Garcia <georgia.garcia@canonical.com>

Fixes: https://gitlab.com/apparmor/apparmor/-/issues/381
MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1195
Approved-by: Christian Boltz <apparmor@cboltz.de>
Merged-by: Georgia Garcia <georgia.garcia@canonical.com>
(cherry picked from commit e96fdc0f5b)
Signed-off-by: John Johansen <john.johansen@canonical.com>
2024-04-03 02:23:43 -07:00
..
abi Add some empty and cut-off bad abi rules 2022-04-17 00:38:18 +02:00
all parser: add support for a generic all rule type 2023-09-07 01:30:15 -07:00
bare_include_tests parser tests: add include in preamble tests 2020-05-05 00:30:18 -07:00
capability treewide: spelling/typo fixes in comments and docs 2020-12-01 12:47:11 -08:00
change_hat as ACKed on IRC, drop the unused $Id$ tags everywhere 2010-12-20 12:29:10 -08:00
change_profile Fix: make sure overlapping safe and unsafe exec rules conflict 2016-06-02 22:24:22 -07:00
conditional treewide: spelling/typo fixes in comments and docs 2020-12-01 12:47:11 -08:00
dbus Add some simple_tests ("deny dbus name=(SomeService)," and "deny file,") 2016-01-07 23:39:56 +01:00
file treewide: spelling/typo fixes in comments and docs 2020-12-01 12:47:11 -08:00
include_tests Add a test with recursive include in preamble 2021-04-28 13:32:08 +02:00
includes Add a test with recursive include in preamble 2021-04-28 13:32:08 +02:00
includes-preamble Move preamble inclusions to a different directory since it was breaking 2008-11-25 19:05:40 +00:00
io_uring parser: add io_uring simple tests 2023-05-03 16:03:52 +02:00
mount Merge utils: allow mount destination globbing 2024-04-03 02:23:43 -07:00
mqueue parser: add parser simple tests for mqueue rules 2022-11-22 19:31:15 +00:00
namespaces parser tests: add userns simple tests 2022-10-27 17:54:42 +00:00
network parser: add parser tests for specified perms 2024-02-29 16:25:59 -03:00
profile parser: Add support for a default_allow mode 2023-11-24 15:38:19 -08:00
ptrace Add tests for various rules outside of a profile 2015-10-19 21:13:48 +02:00
rewrite parse_profile_data(): error out on alias inside profile 2018-05-06 14:27:32 +02:00
rlimits treewide: spelling/typo fixes in comments and docs 2020-12-01 12:47:11 -08:00
signal Add tests for various rules outside of a profile 2015-10-19 21:13:48 +02:00
unix parser: add support for autobind sockets 2020-09-29 03:34:56 -07:00
vars Remove TODO notes from no-longer-failing tests 2018-08-22 22:24:43 +02:00
xattrs parser: support matching xattr keys but not values 2019-11-26 21:32:08 -08:00
xtrans Remove TODO notes from no-longer-failing tests 2018-08-22 22:24:43 +02:00
readme Add missing files from my last 11 patches as I forgot to do bzr add before 2010-12-20 13:18:36 -08:00

Directory for auto generated x-transition tests