summaryrefslogtreecommitdiffstats
path: root/lmkd/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* lmkd: remove libcutils from LOCAL_SHARED_LIBRARIESColin Cross2014-07-141-1/+1
| | | | | | | | | While lmkd does technically use libcutils' socket.h, it only uses a static inline. Remove libcutils from LOCAL_SHARED_LIBRARIES so it doesn't end up mlock'd in memory in the next patch. Bug: 16236289 Change-Id: I744d69bfff06cb904836f64e1d5f6e530604bff4
* lmkd: use libprocessgroup to kill forked processesColin Cross2014-07-091-1/+1
| | | | | | | | After sending sigkill to the main process, also call into libprocessgroup to kill any processes that were forked. Bug: 15313911 Change-Id: I05577c6f5b70800ce0a01f480c8870c2c601afda
* Make lmkd dynamically linkedNick Kralevich2014-05-071-2/+1
| | | | | | | | | | | | Statically linked binaries cannot take advantage of ASLR, making them less secure. In addition, statically linked binaries consume more ram, because shared libraries cannot be reused. executable size before: 87728 executable size after: 13656 Change-Id: I9d02d865f9beeaaaadcd5009f64ac015931d4b11
* lmkd: turn on -WerrorMark Salyzyn2014-05-071-0/+1
| | | | | | - Deal with some -Wunused issues Change-Id: Id037c44a0ca2d00ae10a939fb001bc24a3e9410c
* Add lmkd low memory killer daemonTodd Poynor2013-08-301-0/+10
Move kernel low memory killer logic to new daemon lmkd. ActivityManager communicates with this daemon over a named socket. Change-Id: Ie957da7e9b1f7150e23c689fdadf23ff260b47be