Re: [PATCH] kernel: arg2 is unsigned long which is never < 0

From: Cyrill Gorcunov
Date: Wed Feb 06 2013 - 10:35:33 EST


On Wed, Feb 06, 2013 at 06:36:38PM +0800, Chen Gang wrote:
...
>
> result:
> still use the macros of branch 1
> and use branch 1 macros instead of branch 2 macros (need an additional patch).

Oh, what a mess ;) The reason I used SUID_DUMPABLE_DISABLED -- because
it's used in set_dumpable which is called directly from this prctl.
I'm fine with either way, plain [0;1] is acceptable as well still
I don;t like it.
--
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/