[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: nptl 0.49



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

dada1 wrote:

> If the linux kernel is not FUTEX_REQUEUE aware, I think the syscall returns
> ENOSYS and not EINVAL .

No, it doesn't.  Look back in time.  The change to return ENOSYS for
unknown FUTEX_* opcodes has been added at the same time the requeue
changes went in.  In future we will be able to nicely detect wrong
opcodes by comparing with ENOSYS but until recently the ambiguous EINVAL
was used.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE++nqx2ijCOnn/RHQRAhYbAJ0Q1oX/bzwiCuHOTtaxzHDIeMUGeQCfev5g
CwtPv3CfliXCrcAoFLdf/Ro=
=m0PC
-----END PGP SIGNATURE-----




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]