[PATCH] UBUNTU: Only send SIGXFSZ when exceeding rlimits.

Micah Cowan micahcowan at ubuntu.com
Mon May 21 00:30:05 UTC 2007

Ben Collins wrote:
> 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>
> 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.

Have done (last month). Not in yet (/just/ got around to submitting the
patch); I'll let you know when a firm decision is made.

Brief discussion with Alan Cox is at

Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20070520/0bcc0be9/attachment.sig>

More information about the kernel-team mailing list