Merge "llkd: adbd is allowed to be a bad parent on userdebug"
This commit is contained in:
commit
eb9b11c096
2 changed files with 5 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ size of 92.
|
|||
NB: false is a very very very unlikely process to want to blacklist.
|
||||
|
||||
#### ro.llk.blacklist.parent
|
||||
default 0,2 (kernel and [kthreadd]).
|
||||
default 0,2,adbd (kernel, [kthreadd] and adbd).
|
||||
The string "*false*" is the equivalent to an *empty* list.
|
||||
Do not watch processes that have this parent.
|
||||
A parent process can be comm, cmdline or pid reference.
|
||||
|
|
|
|||
|
|
@ -55,7 +55,11 @@ unsigned llkCheckMilliseconds(void);
|
|||
#define LLK_BLACKLIST_PROCESS_DEFAULT \
|
||||
"0,1,2,init,[kthreadd],[khungtaskd],lmkd,llkd,watchdogd,[watchdogd],[watchdogd/0]"
|
||||
#define LLK_BLACKLIST_PARENT_PROPERTY "ro.llk.blacklist.parent"
|
||||
#ifdef __PTRACE_ENABLED__ // defined if userdebug build
|
||||
#define LLK_BLACKLIST_PARENT_DEFAULT "0,2,[kthreadd],adbd"
|
||||
#else
|
||||
#define LLK_BLACKLIST_PARENT_DEFAULT "0,2,[kthreadd]"
|
||||
#endif
|
||||
#define LLK_BLACKLIST_UID_PROPERTY "ro.llk.blacklist.uid"
|
||||
#define LLK_BLACKLIST_UID_DEFAULT ""
|
||||
#define LLK_BLACKLIST_STACK_PROPERTY "ro.llk.blacklist.process.stack"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue