Looks like the socketpair tests cause a similar issue:
phablet@ubuntu-phablet:~/src/apparmor-2.9.1/tests/regression/apparmor$ sudo sh -c 'VERBOSE=1 bash socketpair.sh' [sudo] password for phablet: ok: SOCKETPAIR (unconfined) ok: SOCKETPAIR (unconfined bad con) ok: SOCKETPAIR (unconfined bad mode) ok: SOCKETPAIR (confined) ok: SOCKETPAIR (confined bad con) ok: SOCKETPAIR (confined bad mode) ok: SOCKETPAIR (complain) ok: SOCKETPAIR (complain bad mode) ok: SOCKETPAIR (complain) ok: SOCKETPAIR (confined exec transition) ok: SOCKETPAIR (confined exec transition, crosscheck rejection) ok: SOCKETPAIR (confined exec no transition) ok: SOCKETPAIR (confined exec transition from complain) ok: SOCKETPAIR (confined exec transition to complain) [phone spontaneously reboots here]
Looks like the socketpair tests cause a similar issue:
phablet@ ubuntu- phablet: ~/src/apparmor- 2.9.1/tests/ regression/ apparmor$ sudo sh -c 'VERBOSE=1 bash socketpair.sh'
[sudo] password for phablet:
ok: SOCKETPAIR (unconfined)
ok: SOCKETPAIR (unconfined bad con)
ok: SOCKETPAIR (unconfined bad mode)
ok: SOCKETPAIR (confined)
ok: SOCKETPAIR (confined bad con)
ok: SOCKETPAIR (confined bad mode)
ok: SOCKETPAIR (complain)
ok: SOCKETPAIR (complain bad mode)
ok: SOCKETPAIR (complain)
ok: SOCKETPAIR (confined exec transition)
ok: SOCKETPAIR (confined exec transition, crosscheck rejection)
ok: SOCKETPAIR (confined exec no transition)
ok: SOCKETPAIR (confined exec transition from complain)
ok: SOCKETPAIR (confined exec transition to complain)
[phone spontaneously reboots here]