10ca689116d6e66f21749acf40b2f2f04da2768c |
|
28-Oct-2015 |
Jeff Vander Stoep <jeffv@google.com> |
Merge remote-tracking branch 'aosp/upstream-master' into mymerge
|
663d76dbb63724e18f2be4fffc73e620ac3f84a6 |
|
25-Aug-2015 |
Petr Lautrbach <plautrba@redhat.com> |
policycoreutils: audit2* - ignore setlocale errors When a user has invalid locales set, audit2allow and audit2why fail with a traceback. This could be safely ignored as it will stay with 'C' locale. Fixes: Traceback (most recent call last): File "policycoreutils/audit2allow/audit2allow", line 35, in <module> locale.setlocale(locale.LC_ALL, '') File "/usr/lib64/python2.7/locale.py", line 579, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
/external/selinux/policycoreutils/audit2allow/audit2why
|
789d0ebbf9fa448b09917ccd0adff91d72e9f5c1 |
|
24-Jul-2015 |
Jason Zaman <jason@perfinion.com> |
policycoreutils: Fix PEP8 issues When trying to get policycoreutils working in python3, I kept running into TabErrors: Traceback (most recent call last): File "/usr/lib/python-exec/python3.3/semanage", line 27, in <module> import seobject File "/usr/lib64/python3.3/site-packages/seobject.py", line 154 context = "%s%s" % (filler, raw) ^ TabError: inconsistent use of tabs and spaces in indentation Python3 is a lot stricter than python2 regarding whitespace and looks like previous commits mixed the two. When fixing this, I took the chance to fix other PEP8 style issues at the same time. This commit was made using: $ file $(find . -type f) | grep -i python | sed 's/:.*$//' > pyfiles $ autopep8 --in-place --ignore=E501,E265 $(cat pyfiles) The ignore E501 is long lines since there are many that would be wrapped otherwise, and E265 is block comments that start with ## instead of just #. Signed-off-by: Jason Zaman <jason@perfinion.com>
/external/selinux/policycoreutils/audit2allow/audit2why
|
d1359511524f8060c836ce6ea915ca57e9e2565f |
|
21-Jul-2015 |
Michal Srb <msrb@redhat.com> |
policycoreutils/audit2allow: improve compatibility with Python 3 - replace print statement with print function - use reserved word `as` in try-except - replace deprecated assert_() method with assertTrue() in unit tests Signed-off-by: Michal Srb <msrb@redhat.com>
/external/selinux/policycoreutils/audit2allow/audit2why
|
e537f3838492a31456245498db9988f519cf29f0 |
|
15-May-2015 |
Jeff Vander Stoep <jeffv@google.com> |
Use prebuilt in-tree audit2allow Linux only. Audit2allow is a python executable. Install a sh wrapper around the python executable that points to the appropriate prebuilt library and python module. Change-Id: I991cfec229e542d2489672fbbc597feca8ec33cc
/external/selinux/policycoreutils/audit2allow/audit2why
|
ae1cedbac89d6acb2c4ee3cef9088c0f31d5a42c |
|
09-Oct-2013 |
Dan Walsh <dwalsh@redhat.com> |
Handle audit2allow and audit2why with the same executable Remove audit2why directory and combine this into audit2allow directory
/external/selinux/policycoreutils/audit2allow/audit2why
|