lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 18 Dec 2015 16:49:21 -0800
From:	Davidlohr Bueso <dave@...olabs.net>
To:	Darren Hart <dvhart@...ux.intel.com>
Cc:	Thomas Gleixner <tglx@...utronix.de>,
	Peter Zijlstra <peterz@...radead.org>,
	Michael Kerrisk <mtk.manpages@...il.com>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op

On Fri, 18 Dec 2015, Darren Hart wrote:

>While reviewing Michael Kerrisk's recent futex manpage update, I noticed
>that we allow the FUTEX_CLOCK_REALTIME flag for FUTEX_WAIT_BITSET but
>not for FUTEX_WAIT.
>
>FUTEX_WAIT is treated as a simple version for FUTEX_WAIT_BITSET
>internally (with a bitmask of FUTEX_BITSET_MATCH_ANY). As such, I cannot
>come up with a reason for this exclusion for FUTEX_WAIT.
>
>This change does modify the behavior of the futex syscall, changing a
>call with FUTEX_WAIT | FUTEX_CLOCK_REALTIME from returning -ENOSYS, to be
>equivalent to FUTEX_WAIT_BITSET | FUTEX_CLOCK_REALTIME with a bitset of
>FUTEX_BITSET_MATCH_ANY.
>
>Cc: Thomas Gleixner <tglx@...utronix.de>
>Cc: Peter Zijlstra <peterz@...radead.org>
>Cc: Davidlohr Bueso <dave@...olabs.net>
>Reported-by: Michael Kerrisk <mtk.manpages@...il.com>
>Signed-off-by: Darren Hart <dvhart@...ux.intel.com>

Acked-by: Davidlohr Bueso <dave@...olabs.net>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ