summaryrefslogtreecommitdiffstats
path: root/linker/linker_environ.c
Commit message (Collapse)AuthorAgeFilesLines
* linker: small code-cleanupDavid 'Digit' Turner2012-06-131-6/+4
| | | | | | | | | | | | | This patch adds to make the linker a little bit easier to understand by making all functions that acts on a sofino object with a soinfo_ prefix. This is to more easily distinguish functions that operate on global state, and those that operate on individual libraries. This should be purely stylistic, i.e. no feature/behaviour change. Change-Id: Ie510d13d743aa4317644caefa9910b8af7e84f44
* 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