This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Why is lock elision forbidden in suid?
- From: "Tulio Magno Quites Machado Filho" <tuliom at linux dot vnet dot ibm dot com>
- To: Libc-help Mailing List <libc-help at sourceware dot org>
- Date: Thu, 19 Oct 2017 18:11:20 -0200
- Subject: Why is lock elision forbidden in suid?
- Authentication-results: sourceware.org; auth=none
In a message to libc-alpha from 2013 [1] [2], there has been an agreement
that lock elision should be disabled for suid programs. However, these
messages don't make it clear why it's necessary.
Are there any other reasons beside the risk of adding new code to critical
programs?
[1] https://sourceware.org/ml/libc-alpha/2013-06/msg00561.html
[2] https://sourceware.org/ml/libc-alpha/2013-06/msg00578.html
--
Tulio Magno