[apparmor] [PATCH v2 03/11] tests: Revert to grouping AF_UNIX tests into addr type specific scripts

Steve Beattie steve at nxnw.org
Tue Sep 16 19:57:16 UTC 2014


On Mon, Sep 15, 2014 at 02:55:56PM -0500, Tyler Hicks wrote:
> It is too complicated, due to the number of corner cases, to write a
> script that generates the rules for each AF_UNIX address type (pathname,
> abstract, and unnamed) and socket type (stream, dgram, and seqpacket).
> 
> This patch moves the AF_UNIX pathname tests into their own file with the
> intent of having each address type be tested in their own file.
> 
> Signed-off-by: Tyler Hicks <tyhicks at canonical.com>

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

> ---
>  tests/regression/apparmor/unix_socket.sh          | 171 ----------------------
>  tests/regression/apparmor/unix_socket_pathname.sh | 129 ++++++++++++++++
>  2 files changed, 129 insertions(+), 171 deletions(-)
>  delete mode 100755 tests/regression/apparmor/unix_socket.sh
>  create mode 100755 tests/regression/apparmor/unix_socket_pathname.sh

-- 
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/20140916/8a801c65/attachment.pgp>


More information about the AppArmor mailing list