• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/core


Commit MetaInfo

Revisionf321ececed966f6b8e5b563a8d2ba8334b0cfd38 (tree)
Zeit2010-03-04 14:47:37
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

init: set permissions properly for /dev/ttyUSB*

Ändern Zusammenfassung

Diff

--- a/init/devices.c
+++ b/init/devices.c
@@ -100,6 +100,7 @@ static struct perms_ devperms[] = {
100100 { "/dev/android_adb_enable", 0660, AID_ADB, AID_ADB, 0 },
101101 { "/dev/ttyMSM0", 0600, AID_BLUETOOTH, AID_BLUETOOTH, 0 },
102102 { "/dev/ttyHS0", 0600, AID_BLUETOOTH, AID_BLUETOOTH, 0 },
103+ { "/dev/ttyUSB", 0660, AID_RADIO, AID_RADIO, 1 },
103104 { "/dev/uinput", 0600, AID_BLUETOOTH, AID_BLUETOOTH, 0 },
104105 { "/dev/alarm", 0664, AID_SYSTEM, AID_RADIO, 0 },
105106 { "/dev/tty0", 0660, AID_ROOT, AID_SYSTEM, 0 },