summaryrefslogtreecommitdiffstats
path: root/linker/linker_environ.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug in linker environment variable lookup.tedbo2011-01-201-1/+1
| | | | | | | | | | | | | | | The linker_env_get() method that is used to match an environment variable was failing due to an incorrect equality check. This was introduced in git change be5755969d70668bbab0e0c0ed75ebd867189723. The bug was causing the linker to ignore environment variables such as LD_LIBRARY_PATH. This issue also affects the linker_env_secure() path that removes unsafe environment variables, since it would not match any in the unsecure variable list. Change-Id: I169024de4a005321e768accd38246fc1d717271b
* linker: Remove unsecure env. variable for setuid programs.David 'Digit' Turner2010-12-201-0/+204
This removes several unsecure environment variables from the environment block when the program being loaded is setuid. The list of env. variables is the same than what GLibc uses at this point. Change-Id: I456d3ea0880fe0d4de0d3c5dd51871dd36e87fd6