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

From: Alan Cox
Date: Wed May 23 2007 - 09:56:41 EST


On Sat, 19 May 2007 17:19:35 -0700
Micah Cowan <micah@xxxxxxxxxx> 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.
>
> Patch sent per http://lkml.org/lkml/2007/4/10/302
>
> Signed-off-by: Micah Cowan <micahcowan@xxxxxxxxxx>

Acked-by: Alan Cox <alan@xxxxxxxxxx>

-
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/