https://github.com/torvalds/linux
Revision 8b97b21e0f4f59801d05a5c536417f04ecfb5603 authored by Linus Torvalds on 16 June 2011, 22:02:20 UTC, committed by Linus Torvalds on 16 June 2011, 22:02:20 UTC
* git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/linux-2.6-nsfd:
  proc: Fix Oops on stat of /proc/<zombie pid>/ns/net
2 parent s 99a15e2 + 7939253
Raw File
Tip revision: 8b97b21e0f4f59801d05a5c536417f04ecfb5603 authored by Linus Torvalds on 16 June 2011, 22:02:20 UTC
Merge git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/linux-2.6-nsfd
Tip revision: 8b97b21
gcc-x86_64-has-stack-protector.sh
#!/bin/sh

echo "int foo(void) { char X[200]; return 3; }" | $* -S -xc -c -O0 -mcmodel=kernel -fstack-protector - -o - 2> /dev/null | grep -q "%gs"
if [ "$?" -eq "0" ] ; then
	echo y
else
	echo n
fi
back to top