Re: Linux capabilities shouldn't be lost during setuid to non-rootfrom root or to another non-root uid from a non-root uid.

From: Serge E. Hallyn
Date: Sun Apr 17 2011 - 22:05:38 EST


Quoting crocket (crockabiscuit@xxxxxxxxx):
> prctl(PR_SET_KEEPCAPS, 1) didn't work since, during setuid to
> non-root, effective bit was lost.

It's in pP so you can move it back to pE.

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