I.MX6 give su command more permission

/************************************************************************************
 *                  I.MX6 give su command more permission
 * 说明:
 *     看一下Android su命令默认权限情况。
 *
 *                                            2017-5-26 台湾 中和区 曾剑锋
 ***********************************************************************************/

cat system/core/include/private/android_filesystem_config.h
    ...
    /* the following five files are INTENTIONALLY set-uid, but they
     * are NOT included on user builds. */
    { 04750, AID_ROOT,      AID_SHELL,     0, "system/xbin/su" },
    { 06755, AID_ROOT,      AID_ROOT,      0, "system/xbin/librank" },
    { 06755, AID_ROOT,      AID_ROOT,      0, "system/xbin/procrank" },
    { 06755, AID_ROOT,      AID_ROOT,      0, "system/xbin/procmem" },
    { 04770, AID_ROOT,      AID_RADIO,     0, "system/bin/pppd-ril" },
    ...

 

posted on 2017-05-26 10:58  zengjf  阅读(209)  评论(0编辑  收藏  举报

导航