Re: [PATCH] override RLIMIT_SIGPENDING for non-RT signals

From: Chris Wright
Date: Thu Feb 24 2005 - 21:14:10 EST


* Jeremy Fitzhardinge (jeremy@xxxxxxxx) wrote:
> Roland McGrath wrote:
>
> >Indeed, I think your patch does not go far enough. I can read POSIX to say
> >that the siginfo_t data must be available when `kill' was used, as well.
> >This patch makes it allocate the siginfo_t, even when that exceeds
> >{RLIMIT_SIGPENDING}, for any non-RT signal (< SIGRTMIN) not sent by
> >sigqueue (actually, any signal that couldn't have been faked by a sigqueue
> >call).
> >
> Looks OK to me. I'll give this a try soon.

Yeah, it fixes the issue, but opens the door to larger consumption of
pending signals. Roland, what was your final preference? I'm kind of
leaning towards Jeremy's original patch.

thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/