diff options
author | Giulio Cervera <giulio.cervera@cyanogenmod.org> | 2014-05-24 03:28:48 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2014-06-23 20:04:46 +0000 |
commit | a350f3ae6d119121f63c849b2ae534f38cb1e5fa (patch) | |
tree | d76064525027c4e9fb084cfd49f6f6bd1176a464 | |
parent | f522c8d0d2d8d7ebc9b72b1e70cdb09c71c3a906 (diff) |
shinano: secure tad socket
Change-Id: I4dcf18df25c25a9be6e2d9b8dcee9417528d79a8
-rw-r--r-- | include/private/android_filesystem_config.h | 2 | ||||
-rw-r--r-- | rootdir/init.qcom.rc | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h index 8252f15..7d43ae4 100644 --- a/include/private/android_filesystem_config.h +++ b/include/private/android_filesystem_config.h @@ -86,6 +86,7 @@ // SONY_UIDS #define AID_SONY_IDD 2987 /* IDD */ +#define AID_SONY_TA 2993 /* TrimArea */ /* The 3000 series are intended for use as supplemental group id's only. * They indicate special Android capabilities that the kernel is aware of. */ @@ -193,6 +194,7 @@ static const struct android_id_info android_ids[] = { // SONY_UIDS { "sony_idd", AID_SONY_IDD, }, + { "sony_ta", AID_SONY_TA, }, #if defined(MOTOROLA_UIDS) { "mot_osh", AID_MOT_OSH, }, diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index 29e94ce..01f65a7 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -105,7 +105,7 @@ on fs chmod 0555 /lta-label chmod 0755 /data/etc - start tad + class_start sony_ta exec /sbin/wait4tad_static exec /system/bin/taimport @@ -521,12 +521,11 @@ service qmuxd /system/bin/qmuxd # SONY: TrimArea Daemon # Last 2 args: start block(blk size 128k), number of blocks(partitionsize(kb)/128(kb)) -service tad /sbin/tad_static /dev/block/mmcblk0 1,16 - class core +service tad_static /sbin/tad_static /dev/block/mmcblk0 1,16 user root group root - socket tad stream 0660 system system - disabled + socket tad stream 0660 system sony_ta + class sony_ta service updatemiscta /system/bin/updatemiscta class main |