[PATCH] UBUNTU: Only send SIGXFSZ when exceeding rlimits.
Micah Cowan
micahcowan at ubuntu.com
Mon Jul 16 22:06:42 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Micah Cowan wrote:
> Micah Cowan wrote:
>> 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>
>>> 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.
>> 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
>> http://groups.google.com/group/fa.linux.kernel/browse_thread/thread/5bee5c7f7405233e/b8e06b88a8520973
>
> See here for upstream ACK by Alan Cox: http://lkml.org/lkml/2007/5/23/158
This patch is now in the main linux-2.6 tree:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=17973f5af741f1758ed57c5115ca394c22bee159
- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGm+vx7M8hyUobTrERCLBqAJsFi6y6oQq52iG43vnfZlxKWzAOagCfVR9b
Rhq4U+R0/17y6C9LLCSBnQw=
=jpNv
-----END PGP SIGNATURE-----
More information about the kernel-team
mailing list