On Mon, Sep 22, 2014 at 07:09:15PM -0500, Tyler Hicks wrote: > The unix_socket operations for testing getopt and setopt permissions > were occurring back to back. This patch breaks them up into "pre-bind" > and "post-bind" operations. The setopt operation now occurs pre-bind > while the getopt operation happens post-bind. This allows for the test > policy to test setopt without an addr= conditional and to test getopt > with an addr= conditional. > > Additionally, the wrapper functions that call setsockopt()/getsockopt() > are moved into a new file that both unix_socket.c and > unix_socket_client.c can reuse. > > Signed-off-by: Tyler Hicks <[email protected]>
Nice. Acked-by: Steve Beattie <[email protected]> -- Steve Beattie <[email protected]> http://NxNW.org/~steve/
signature.asc
Description: Digital signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
