diff options
author | Nick Pelly <npelly@google.com> | 2010-10-17 16:48:27 -0700 |
---|---|---|
committer | Nick Pelly <npelly@google.com> | 2010-10-17 16:48:27 -0700 |
commit | e5a3799ed00fe82306b8945aa1ae9772694a8665 (patch) | |
tree | 4f5a3a969d014f3feb6ecfa6bfdd9bfc2fa49d3f /init.herring.rc | |
parent | 04cdb18b02e0275b4c369b254224afdcbef7920d (diff) | |
download | device_samsung_crespo-e5a3799ed00fe82306b8945aa1ae9772694a8665.zip device_samsung_crespo-e5a3799ed00fe82306b8945aa1ae9772694a8665.tar.gz device_samsung_crespo-e5a3799ed00fe82306b8945aa1ae9772694a8665.tar.bz2 |
Lock down /dev/pn544 to user nfc.
Only NFC service can use /dev/pn544.
Change-Id: I435144b827c7b36acb57f53118ad9ae08158f341
Signed-off-by: Nick Pelly <npelly@google.com>
Diffstat (limited to 'init.herring.rc')
-rwxr-xr-x | init.herring.rc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init.herring.rc b/init.herring.rc index 9ee6cc5..a029716 100755 --- a/init.herring.rc +++ b/init.herring.rc @@ -86,7 +86,8 @@ on fs # permissions for NFC setprop ro.nfc.port "I2C" - chmod 0666 /dev/pn544 + chmod 0600 /dev/pn544 + chown nfc nfc /dev/pn544 # Permissions for System Server and daemons. chown system system /sys/class/backlight/s5p_bl/brightness |