[apparmor] [PATCH 04/20] Add log parser test for change_profile

Tyler Hicks tyhicks at canonical.com
Fri May 29 17:46:22 UTC 2015


On 2015-05-29 01:39:10, John Johansen wrote:
> Signed-off-by: John Johansen <john.johansen at canonical.com>

Acked-by: Tyler Hicks <tyhicks at canonical.com>

> ---
>  .../testsuite/test_multi/testcase_changeprofile_01.err        |  0
>  .../testsuite/test_multi/testcase_changeprofile_01.in         |  1 +
>  .../testsuite/test_multi/testcase_changeprofile_01.out        | 11 +++++++++++
>  3 files changed, 12 insertions(+)
>  create mode 100644 libraries/libapparmor/testsuite/test_multi/testcase_changeprofile_01.err
>  create mode 100644 libraries/libapparmor/testsuite/test_multi/testcase_changeprofile_01.in
>  create mode 100644 libraries/libapparmor/testsuite/test_multi/testcase_changeprofile_01.out
> 
> diff --git a/libraries/libapparmor/testsuite/test_multi/testcase_changeprofile_01.err b/libraries/libapparmor/testsuite/test_multi/testcase_changeprofile_01.err
> new file mode 100644
> index 0000000..e69de29
> diff --git a/libraries/libapparmor/testsuite/test_multi/testcase_changeprofile_01.in b/libraries/libapparmor/testsuite/test_multi/testcase_changeprofile_01.in
> new file mode 100644
> index 0000000..9337c88
> --- /dev/null
> +++ b/libraries/libapparmor/testsuite/test_multi/testcase_changeprofile_01.in
> @@ -0,0 +1 @@
> +Sep  9 12:51:36 ubuntu-desktop kernel: [   97.492562] audit: type=1400 audit(1431116353.523:77): apparmor="DENIED" operation="change_profile" profile="/tests/regression/apparmor/changeprofile" pid=3459 comm="changeprofile" target="/tests/regression/apparmor/rename"
> diff --git a/libraries/libapparmor/testsuite/test_multi/testcase_changeprofile_01.out b/libraries/libapparmor/testsuite/test_multi/testcase_changeprofile_01.out
> new file mode 100644
> index 0000000..74b4f71
> --- /dev/null
> +++ b/libraries/libapparmor/testsuite/test_multi/testcase_changeprofile_01.out
> @@ -0,0 +1,11 @@
> +START
> +File: testcase_changeprofile_01.in
> +Event type: AA_RECORD_DENIED
> +Audit ID: 1431116353.523:77
> +Operation: change_profile
> +Profile: /tests/regression/apparmor/changeprofile
> +Command: changeprofile
> +Name2: /tests/regression/apparmor/rename
> +PID: 3459
> +Epoch: 1431116353
> +Audit subid: 77
> -- 
> 2.1.4
> 
> 
> -- 
> AppArmor mailing list
> AppArmor at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150529/331c15cc/attachment.pgp>


More information about the AppArmor mailing list