[PATCH] UBUNTU: Only send SIGXFSZ when exceeding rlimits.
Ben Collins
ben.collins at ubuntu.com
Mon May 21 00:18:36 UTC 2007
On Sat, 2007-05-19 at 17:19 -0700, Micah Cowan wrote:
> Some users have been having problems with utilities like cp or dd
> dumping core when they try to copy a file that's too large for the
> destination filesystem (typically, > 4gb). Apparently, some defunct
> standards required SIGXFSZ to be sent in such circumstances, but SUS
> only requires/allows it for when a written file exceeds the process's
> resource limits. I'd like to limit SIGXFSZs to the bare minimum required
> by SUS; dumping core by default for a write failure is evil.
>
> Signed-off-by: Micah Cowan <micahcowan at ubuntu.com>
NACK.
We appreciate the patch, however, patches like this that change behavior
related to standards like SUS, POSIX and similar, should be sent to
upstream kernel (and in this case, probably gnu-libc too) for
discussion.
--
Ubuntu : http://www.ubuntu.com/
Linux1394: http://wiki.linux1394.org/
More information about the kernel-team
mailing list