diff options
author | netchild <netchild@FreeBSD.org> | 2010-11-15 13:03:35 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2010-11-15 13:03:35 +0000 |
commit | d3aba4235e74d0db06b04e0581038d0ec62dd93d (patch) | |
tree | ca73ed73fa582030123e768ed3aec9c770f07bf0 /sys/boot/forth | |
parent | 27725d83cceb418509558e9041d5b1caf8ad3e38 (diff) | |
download | FreeBSD-src-d3aba4235e74d0db06b04e0581038d0ec62dd93d.zip FreeBSD-src-d3aba4235e74d0db06b04e0581038d0ec62dd93d.tar.gz |
- 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
Diffstat (limited to 'sys/boot/forth')
0 files changed, 0 insertions, 0 deletions