pmbootstrap kconfig check: add apparmor check (MR 2133)

SECURITY_APPARMOR_BOOTPARAM_VALUE was required to enable it by default
until 5.1 where the option was removed.

Related: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0102fb83f90050b86ce37aec810ea17bb4448e0c
Related: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/security/Kconfig?id=fe91c4725aeed35023ba4f7a1e1adfebb6878c23#n285
This commit is contained in:
Oliver Smith 2020-08-18 10:49:10 +02:00
parent dcedc4bc1f
commit 93e7a1d876
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
4 changed files with 30 additions and 0 deletions

View file

@ -434,6 +434,8 @@ def arguments_kconfig(subparser):
" directly instead of a config in a package")
check.add_argument("--anbox", action="store_true", help="check"
" options needed for anbox too")
check.add_argument("--apparmor", action="store_true", help="check"
" options needed for apparmor too")
check.add_argument("--nftables", action="store_true", help="check"
" options needed for nftables too")
check.add_argument("--containers", action="store_true",