apparmor/utils
Christian Boltz 6c81024701 aa-genprof: don't crash if setting printk_ratelimit fails
When running aa-genprof in a lxd instance, printk_ratelimit is readonly
and writing to it fails. Instead of crashing with a backtrace, only
print a warning.

References: https://bugs.launchpad.net/apparmor/+bug/1785391
(cherry picked from commit 961e69afe5)
Signed-off-by: John Johansen <john.johansen@canonical.com>
2018-08-07 03:05:32 -07:00
..
apparmor Merge branch 'cboltz-nested-child-error' into 'master' 2018-06-21 10:20:52 +00:00
easyprof Add aa-easyprof and easyprof.py and related pieces from the Ubuntu 2014-02-13 17:53:40 -08:00
po translations: fix up msgfmt warnings 2016-05-24 13:08:06 -07:00
test Merge branch 'cboltz-nested-child-error' into 'master' 2018-06-21 10:20:52 +00:00
vim Update change_profile highlighting in apparmor.vim 2016-05-27 20:05:21 +02:00
aa-audit Switch utils to python3 2016-10-01 20:57:09 +02:00
aa-audit.pod Add --no-reload to various utils manpages 2017-07-23 21:30:56 +02:00
aa-autodep Switch utils to python3 2016-10-01 20:57:09 +02:00
aa-autodep.pod Merge in Kshitij Gupta <kgupta8592@gmail.com>'s rewrite of the 2014-02-12 15:54:00 -08:00
aa-cleanprof Switch utils to python3 2016-10-01 20:57:09 +02:00
aa-cleanprof.pod Add --no-reload to various utils manpages 2017-07-23 21:30:56 +02:00
aa-complain Switch utils to python3 2016-10-01 20:57:09 +02:00
aa-complain.pod Add --no-reload to various utils manpages 2017-07-23 21:30:56 +02:00
aa-decode aa-decode: add the ability to support PROCTITLE string 2017-12-24 00:26:17 -08:00
aa-decode.pod manpages: incorporate podchecker; fix errors and (most) warnings 2014-09-15 11:30:47 -07:00
aa-disable Switch utils to python3 2016-10-01 20:57:09 +02:00
aa-disable.pod Add --no-reload to various utils manpages 2017-07-23 21:30:56 +02:00
aa-easyprof Switch utils to python3 2016-10-01 20:57:09 +02:00
aa-easyprof.pod utils: Add option to aa-easyprof to specify the apparmor_parser path 2017-03-02 21:24:05 +00:00
aa-enforce Switch utils to python3 2016-10-01 20:57:09 +02:00
aa-enforce.pod Add --no-reload to various utils manpages 2017-07-23 21:30:56 +02:00
aa-genprof aa-genprof: don't crash if setting printk_ratelimit fails 2018-08-07 03:05:32 -07:00
aa-genprof.pod manpages: incorporate podchecker; fix errors and (most) warnings 2014-09-15 11:30:47 -07:00
aa-logprof utils: Require apparmor.aa users to call init_aa() 2017-03-02 21:21:53 +00:00
aa-logprof.pod utils/aa-logprof.pod: fix typo in manpage 2015-08-25 14:53:55 -07:00
aa-mergeprof utils: Require apparmor.aa users to call init_aa() 2017-03-02 21:21:53 +00:00
aa-mergeprof.pod update the aa-mergeprof manpage to match the new commandline syntax 2014-10-16 20:26:45 +02:00
aa-notify make message about notify-send package cross-distro compatible 2018-08-07 02:32:31 -07:00
aa-notify.pod add missing --display to aa-notify.pod 2014-09-08 20:40:33 +02:00
aa-remove-unknown Merge branch 'cboltz-remove-unknown-newline' into 'master' 2017-12-01 10:09:58 +00:00
aa-remove-unknown.pod utils: Add aa-remove-unknown utility to unload unknown profiles 2017-03-24 05:08:01 +00:00
aa-sandbox Switch utils to python3 2016-10-01 20:57:09 +02:00
aa-sandbox.pod manpages: incorporate podchecker; fix errors and (most) warnings 2014-09-15 11:30:47 -07:00
aa-status aa-status: split profile from exec name 2018-03-01 15:57:34 -08:00
aa-status.pod update aa-status.pod for updated podchecker 2017-07-31 10:22:33 -05:00
aa-unconfined utils: Require apparmor.aa users to call init_aa() 2017-03-02 21:21:53 +00:00
aa-unconfined.pod utils/aa-unconfined: fix netstat usage, use ss(8) by default 2016-12-30 12:15:16 -08:00
check_po.pl utitlity to look for problems in the po files. 2007-08-15 19:24:49 +00:00
logprof.conf Add python3.6 line to utils/logprof.conf 2017-10-23 20:05:39 +02:00
logprof.conf.pod manpages: incorporate podchecker; fix errors and (most) warnings 2014-09-15 11:30:47 -07:00
Makefile utils: Add aa-remove-unknown utility to unload unknown profiles 2017-03-24 05:08:01 +00:00
notify.conf comment out use_group to remove group restrictions 2018-07-11 22:45:42 -07:00
python-tools-setup.py utils: fix python install for rule/ subdirectory 2015-01-13 13:03:11 -08:00
README.md Merge in Kshitij Gupta <kgupta8592@gmail.com>'s rewrite of the 2014-02-12 15:54:00 -08:00
severity.db Update perl abstraction, logprof.conf, severity.db and tests for Debian/Ubuntu 2014-08-20 19:14:24 -05:00

Known Bugs: Will allow multiple letters in the () due to translation/unicode issues with regexing the key. User input will probably bug out in a different locale.