Re: [PATCH] set*uid() must not fail-and-return on OOM/rlimits

From: Kari Hurtta
Date: Mon Aug 21 2006 - 01:04:14 EST

Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> writes:

> Ar Sul, 2006-08-20 am 10:52 +0300, ysgrifennodd Kari Hurtta:
> > Perhaps stupid suggestion:
> >
> > Should there be new signal for 'failure to drop privileges' ?
> > ( perhaps SIGPRIV or is this name free )
> >
> > By default signal terminates process.
> Programs are allowed (and now and then do) intentionally let a setuid
> fail. A custom selinux or audit rule might be appropriate but that kind
> of hackery is not.

Commented code/patch used SIGKILL. By allocating new signal programs
_are_ allowed intentionally let a setuid fail.

/ Kari Hurtta

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at