On Mon, Apr 13, 2015 at 04:56:27PM -0500, Tyler Hicks wrote:
> This patch modifies the socketpair.c test to verify the return value of
> aa_getpeercon() based upon the expected label and expected mode lengths.
> 
> The test had to be changed slightly so that the returned mode, from
> aa_getpeercon(), was preserved. It was being overwritten with the
> special NO_MODE value.
> 
> This change helps to make sure that future changes to the code behind
> aa_getpeercon() does not unintentionally change the function's return
> value.
> 
> Signed-off-by: Tyler Hicks <[email protected]>
Acked-by: Steve Beattie <[email protected]>. Thanks.

-- 
Steve Beattie
<[email protected]>
http://NxNW.org/~steve/

Attachment: signature.asc
Description: Digital signature

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to