Re: Linux 2.6.17.4

From: Marcel Holtmann
Date: Fri Jul 07 2006 - 06:34:01 EST


Hi Chase,

> > case PR_SET_DUMPABLE:
> > - if (arg2 < 0 || arg2 > 2) {
> > + if (arg2 < 0 || arg2 > 1) {
> > error = -EINVAL;
> > break;
> > }
>
> Am I staring at this crooked, or not looking deep enough? My manual page for
> prctl says 2 is valid there. Specifically:
>
> Since kernel 2.6.13, the value 2 is also permitted; this causes
> any binary which normally would not be dumped to be dumped read-
> able by root only. (See also the description of
> /proc/sys/fs/suid_dumpable in proc(5).)
>
> ...has something changed, and my manpages don't reflect it? Did I miss a
> conversation about this?

the manual page must change. This paragraph must be removed.

Regards

Marcel


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