https://github.com/torvalds/linux
Revision 2ffb448ccbdd3de16e68220d4fa0864a75272dc3 authored by Linus Torvalds on 17 December 2017, 21:48:50 UTC, committed by Linus Torvalds on 17 December 2017, 21:48:50 UTC
Pull timer fix from Thomas Gleixner:
 "A single bugfix which prevents arbitrary sigev_notify values in
  posix-timers"

* 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  posix-timer: Properly check sigevent->sigev_notify
2 parent s c437279 + cef31d9
Raw File
Tip revision: 2ffb448ccbdd3de16e68220d4fa0864a75272dc3 authored by Linus Torvalds on 17 December 2017, 21:48:50 UTC
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Tip revision: 2ffb448
gcc-goto.sh
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Test for gcc 'asm goto' support
# Copyright (C) 2010, Jason Baron <jbaron@redhat.com>

cat << "END" | $@ -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y"
int main(void)
{
#if defined(__arm__) || defined(__aarch64__)
	/*
	 * Not related to asm goto, but used by jump label
	 * and broken on some ARM GCC versions (see GCC Bug 48637).
	 */
	static struct { int dummy; int state; } tp;
	asm (".long %c0" :: "i" (&tp.state));
#endif

entry:
	asm goto ("" :::: entry);
	return 0;
}
END
back to top