This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH roland/sigvec] Remove sigvec.
- From: Florian Weimer <fweimer at redhat dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Mon, 13 Oct 2014 10:59:35 +0200
- Subject: Re: [PATCH roland/sigvec] Remove sigvec.
- Authentication-results: sourceware.org; auth=none
- References: <20141003224414 dot 3445F2C3A61 at topped-with-meat dot com> <54326480 dot 30109 at redhat dot com> <20141009193327 dot B7BD02C3ACF at topped-with-meat dot com>
On 10/09/2014 09:33 PM, Roland McGrath wrote:
Uhm, the current lv package in Fedora and Debian uses it:
Indeed. Surprising. The use of SV_INTERRUPT means it would actually
change the behavior to simply start failing that configure check and use
plain signal instead of sigvec. (signal by default is equivalent to
sigaction using SA_RESTART; SV_INTERRUPT is the inverse of SA_RESTART.)
It's of course a simple 5-minute job to convert any old use of sigvec to
use sigaction instead. I did it for lv and the patch is below. Would you
like to take care of sending that to the lv maintainer and/or using it in
the Fedora package?
I've submitted your patch to Fedora:
<https://bugzilla.redhat.com/show_bug.cgi?id=1151982>
Do you think we should do a staged deprecation for sigvec instead?
Probably not, especially since we aren't actually removing sigvec as
such (the subject got me worried for a moment).
--
Florian Weimer / Red Hat Product Security