Revision 94e5d714f604d4cb4cb13163f01ede278e69258b authored by Mimi Zohar on 26 June 2009, 18:05:27 UTC, committed by James Morris on 28 June 2009, 22:59:10 UTC
This patch fixes an imbalance message as reported by J.R. Okajima. The IMA file counters are incremented in ima_path_check. If the actual open fails, such as ETXTBSY, decrement the counters to prevent unnecessary imbalance messages. Reported-by: J.R. Okajima <hooanon05@yahoo.co.jp> Signed-off-by: Mimi Zohar <zohar@us.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>
1 parent 79b854c
gcc-x86_32-has-stack-protector.sh
#!/bin/sh
echo "int foo(void) { char X[200]; return 3; }" | $* -S -xc -c -O0 -fstack-protector - -o - 2> /dev/null | grep -q "%gs"
if [ "$?" -eq "0" ] ; then
echo y
else
echo n
fi
Computing file changes ...