[apparmor] [PATCH v3 2/7] tests: Don't call connect() for connectionless sockets

Steve Beattie steve at nxnw.org
Thu Sep 25 10:10:17 UTC 2014


On Mon, Sep 22, 2014 at 07:09:12PM -0500, Tyler Hicks wrote:
> Use the sendto()/recvfrom() functions when dealing with dgram sockets in
> unix_socket_client.
> 
> This allows us to test different interfaces besides the typical
> write()/read() and will allow for a smaller permissions set for
> unix_socket_client.
> 
> Signed-off-by: Tyler Hicks <tyhicks at canonical.com>

Acked-by: Steve Beattie <steve at nxnw.org>

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- 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/20140925/6bb8e71d/attachment.pgp>


More information about the AppArmor mailing list