[apparmor] [PATCH v2 2/7] tests: Clean up do_open() in changehat.h

Steve Beattie steve at nxnw.org
Fri Mar 18 21:28:17 UTC 2016


On Fri, Mar 18, 2016 at 04:17:11PM -0500, Tyler Hicks wrote:
> Some tidying up is needed in order to reuse do_open(). This patch
> eliminates the chance of returning 0 due to errno being not set. It also
> adjusts the file string to be const.
> 
> Signed-off-by: Tyler Hicks <tyhicks at canonical.com>
Acked-by: Steve Beattie <steve at nxnw.org>

Thanks.

-- 
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: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20160318/abfdad59/attachment.pgp>


More information about the AppArmor mailing list