init.qcom.rc: Launch tftp_server process as root user.

The tftp_server daemon requires root privileges to open
the wakelock files and grab capabilities for accessing
wakelocks.
The tftp_server daemon will downgrade to user AID_SYSTEM
after enabling and retaining the necessary capabilities.

Change-Id: Iae5995f606e54152fdbe5e229c0c8d4c03b00382
This commit is contained in:
Nikhilesh Reddy 2014-10-20 15:36:04 -07:00 committed by Gerrit - the friendly Code Review server
parent 624e7018df
commit a37d636f22
1 changed files with 4 additions and 0 deletions

View File

@ -402,6 +402,10 @@ service rfs_access /system/bin/rfs_access
user root
group system net_raw
service tftp_server /system/bin/tftp_server
class core
user root
on property:wc_transport.start_hci=true
start start_hci_filter