Don't statically compile run-as
Bug: 5904033 Change-Id: Ie815f09a2bf51ad583ded82f652d162a7f70b87e
This commit is contained in:
parent
6ca9d204cd
commit
b2d8f896b6
2 changed files with 3 additions and 7 deletions
|
@ -5,8 +5,4 @@ LOCAL_SRC_FILES:= run-as.c package.c
|
|||
|
||||
LOCAL_MODULE:= run-as
|
||||
|
||||
LOCAL_FORCE_STATIC_EXECUTABLE := true
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := libc
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
|
|
@ -41,9 +41,9 @@
|
|||
*
|
||||
* - This program should only run for the 'root' or 'shell' users
|
||||
*
|
||||
* - Statically link against the C library, and avoid anything that
|
||||
* is more complex than simple system calls until the uid/gid has
|
||||
* been dropped to that of a normal user or you are sure to exit.
|
||||
* - Avoid anything that is more complex than simple system calls
|
||||
* until the uid/gid has been dropped to that of a normal user
|
||||
* or you are sure to exit.
|
||||
*
|
||||
* This avoids depending on environment variables, system properties
|
||||
* and other external factors that may affect the C library in
|
||||
|
|
Loading…
Reference in a new issue