Comment 0 for bug 1373174

Revision history for this message
Tyler Hicks (tyhicks) wrote :

This is an existing failure that is uncovered by a new test. Note that this failure only occurs with the dgram tests and passes with the identical stream and seqpacket tests.

* The failure:

Error: unix_socket failed. Test 'AF_UNIX pathname socket (dgram); confined server w/ access (rw)' was expected to 'pass'. Reason for failure 'FAIL CLIENT - sendto: Permission denied
FAIL - recvfrom: Interrupted system call'

* The denial:

apparmor="DENIED" operation="sendmsg" profile="/home/tyhicks/apparmor.git/tests/regression/apparmor/unix_socket" name="/tmp/sdtest.16086-14002-IJxwaQ/aa_sock.client" pid=16580 comm="unix_socket_cli" requested_mask="r" denied_mask="r" fsuid=0 ouid=0

* The profile:

/home/tyhicks/apparmor.git/tests/regression/apparmor/unix_socket {
  /etc/ld.so.cache r,
  /proc/*/attr/current w,
  /dev/urandom r,
  /home/tyhicks/apparmor.git/tests/regression/apparmor/unix_socket rix,
  /lib/x86_64-linux-gnu/libc-2.19.so mr,
  /lib/x86_64-linux-gnu/ld-2.19.so rix,
  /tmp/sdtest.16086-14002-IJxwaQ/output.unix_socket w,
  /tmp/sdtest.16086-14002-IJxwaQ/aa_sock rw,
  unix (create,getopt,setopt,getattr),
  /home/tyhicks/apparmor.git/tests/regression/apparmor/unix_socket_client Ux,
}