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
documentation-file-ref-check
#!/bin/sh
# Treewide grep for references to files under Documentation, and report
# non-existing files in stderr.

for f in $(git ls-files); do
	for ref in $(grep -ho "Documentation/[A-Za-z0-9_.,~/*+-]*" "$f"); do
		# presume trailing . and , are not part of the name
		ref=${ref%%[.,]}

		# use ls to handle wildcards
		if ! ls $ref >/dev/null 2>&1; then
			echo "$f: $ref" >&2
		fi
	done
done
back to top