Android Kernel集锦

1.Storage

1.1 如何添加守护进程(daemon process)

:在init.rc添加相关服务进程,

example,

## Daemon processes to be run by init.
##
service ueventd /system/bin/ueventd
    class core
    critical
    seclabel u:r:ueventd:s0
    shutdown critical

service flash_recovery /system/bin/install-recovery.sh
    class main
    oneshot

service console /system/bin/sh
    class core
    console
    disabled
    user shell
    group shell log readproc
    seclabel u:r:shell:s0
    setenv HOSTNAME console

service kmsg_log /system/bin/kmsg.sh
    class late_start

service syslog /system/bin/logcat -f /data/log/system.log -r 10240 -v time
     user root
     group system
     oneshot

扫描二维码关注公众号,回复: 6809644 查看本文章

2.Performance

3.Stability

猜你喜欢

转载自www.cnblogs.com/rainey-forrest/p/11202647.html
今日推荐