apparmor/utils/apparmor
Christian Boltz bc5634f2af Fix save_profiles() for YaST
YaST has two issues in the "save changed profiles" dialog:
- when using "save selected", the list of profiles doesn't get updated.
  Update q.options inside the loop to fix this.
- the list of profiles is displayed as "["/usr/bin/foo", true]" instead
  of just "/usr/bin/foo". Use changed.keys() instead of changed to fix
  this. (text-mode aa-logprof doesn't change, it always displayed
  "/usr/bin/foo" and continues to do so.)

References: https://bugzilla.opensuse.org/show_bug.cgi?id=1062667 part a)


Acked-by: Seth Arnold <seth.arnold@canonical.com> for trunk and 2.11.

Note that 2.11 needs a slightly different patch (whitespace diff).
2017-10-12 13:28:51 +02:00
..
rule Add network 'smc' keyword in NetworkRule and apparmor.d manpage 2017-08-30 11:06:56 +02:00
__init__.py Due to wanting to support additional external apparmor python modules, 2014-09-15 12:18:16 -07:00
aa.py Fix save_profiles() for YaST 2017-10-12 13:28:51 +02:00
aamode.py [36/38] Drop several now unused functions and variables from aamode.py 2016-10-01 20:15:21 +02:00
aare.py [28/38] AARE: let match() handle plain path regexes as non-regex 2016-10-01 20:07:17 +02:00
cleanprofile.py utils: Require apparmor.aa users to call init_aa() 2017-03-02 21:21:53 +00:00
common.py type_is_str(): make pyflakes3 happy 2016-08-12 12:02:20 +02:00
config.py Let 'make check' work without logprof.conf 2015-10-20 23:21:51 +02:00
easyprof.py utils: Add option to aa-easyprof to specify the apparmor_parser path 2017-03-02 21:24:05 +00:00
fail.py Let the apparmor.fail error handler print to stderr 2015-12-16 11:59:10 +01:00
logparser.py Ignore ptrace log events without denied_mask 2017-05-20 01:06:39 +02:00
regex.py [38/38] Drop old path regexes 2016-10-01 20:16:36 +02:00
rules.py [7/9] Remove the DBUS_Rule class 2016-05-23 23:19:59 +02:00
sandbox.py Move os.chdir(old_cwd) to before the aa-exec call it remove the side-effect of 2014-02-06 15:15:48 -05:00
severity.py [37/38] Drop severity rank() dispatcher 2016-10-01 20:15:45 +02:00
tools.py Fix regressions caused by init_aa() 2017-03-03 13:14:55 +01:00
translations.py Merge in Kshitij Gupta <kgupta8592@gmail.com>'s rewrite of the 2014-02-12 15:54:00 -08:00
ui.py Remove re.LOCALE flag 2017-02-21 18:46:36 +01:00
yasti.py utils/apparmor/yasti.py: remove XXX comments; when the time comes for 2014-02-14 22:52:31 -08:00