[PATCH] libc: add issetugid()
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Mon Aug 18 13:22:00 UTC 2014
On Mon, Jul 28, 2014 at 11:54:22AM -0400, basile at opensource.dyc.edu wrote:
> From: "Anthony G. Basile" <blueness at gentoo.org>
>
> issetugid() returns 1 if the process environment or memory address space
> is considered tainted, and returns 0 otherwise. This happens, for example,
> when a process's privileges are elevated by the setuid or setgid flags on
> an executable belonging to root. This function first appeard in OpenBSD 2.0
> and is needed for the LibreSSL.
>
> This patch follows the same logic as the equivalent musl commit. For more
> information see the commit message at
>
> http://git.musl-libc.org/cgit/musl/commit/?id=ddddec106fd17c3aca3287005d21e92f742aa9d4
Applied, thanks!
More information about the uClibc
mailing list