OSDN Git Service

linker: Remove unsecure env. variable for setuid programs.
authorDavid 'Digit' Turner <digit@google.com>
Thu, 16 Dec 2010 18:52:02 +0000 (19:52 +0100)
committerDavid 'Digit' Turner <digit@google.com>
Mon, 20 Dec 2010 11:06:45 +0000 (12:06 +0100)
commitbe5755969d70668bbab0e0c0ed75ebd867189723
treeae81e0c297f23cf98a5492dc9de7073746cbce8a
parentd4a65d28d4dd7dab4ad66d2d65903296d183d47c
linker: Remove unsecure env. variable for setuid programs.

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
linker/Android.mk
linker/linker.c
linker/linker_environ.c [new file with mode: 0644]
linker/linker_environ.h [new file with mode: 0644]