Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libc

Module Name:    src
Committed By:   tron
Date:           Sun Nov 14 22:04:37 UTC 2010

Modified Files:
        src/lib/libc/include: env.h
        src/lib/libc/stdlib: _env.c getenv.c

Log Message:
1.) Rename internal function __findvar() to __findenvvar().
2.) Add a wrapper function __findenv() which implements the previous
    *internal* interface. It turns out that ld.elf_so(1) and pthread(3)
    both use it.

Stripping e.g. "LD_LIBRARY_PATH" from the environment while running
setuid binaries works again now.

To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/include/env.h
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/stdlib/_env.c
cvs rdiff -u -r1.34 -r1.35 src/lib/libc/stdlib/getenv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index