Date: Mon, 15 Nov 2010 13:03:35 +0000 (UTC) From: Alexander Leidinger <netchild@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/compat/linux linux_futex.c linux_futex.h Message-ID: <201011151303.oAFD3kBG041175@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
netchild 2010-11-15 13:03:35 UTC FreeBSD src repository Modified files: sys/compat/linux linux_futex.c linux_futex.h Log: SVN rev 215338 on 2010-11-15 13:03:35Z by netchild - print out the PID and program name of the program trying to use an unsupported futex operation - for those futex operations which are known to be not supported, print out which futex operation it is - shortcut the error return of the unsupported FUTEX_CLOCK_REALTIME in some cases: FUTEX_CLOCK_REALTIME can be used to tell linux to use CLOCK_REALTIME instead of CLOCK_MONOTONIC. FUTEX_CLOCK_REALTIME however must only be set, if either FUTEX_WAIT_BITSET or FUTEX_WAIT_REQUEUE_PI are set too. If that's not the case we can die with ENOSYS right at the beginning. Submitted by: arundel Reviewed by: rdivacky (earlier iteration of the patch) MFC after: 1 week Revision Changes Path 1.27 +42 -6 src/sys/compat/linux/linux_futex.c 1.8 +12 -9 src/sys/compat/linux/linux_futex.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011151303.oAFD3kBG041175>