diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2013-12-23 16:39:10 +0100 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2013-12-23 16:39:10 +0100 |
commit | 4257df2c1dfd3fdd4648383994073ac1ba2e770c (patch) | |
tree | 4de2212cdcbb270ee69bcedc0bbb27a6e4b5756a /android/system-emulator.c | |
parent | 6eba17bf803eb2f080781c40cbccbb4003f37f80 (diff) | |
download | bluez-4257df2c1dfd3fdd4648383994073ac1ba2e770c.tar.gz |
android: Add comment why umask() is needed in system-emulator
Diffstat (limited to 'android/system-emulator.c')
-rw-r--r-- | android/system-emulator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/android/system-emulator.c b/android/system-emulator.c index 299de0f25..611e46e00 100644 --- a/android/system-emulator.c +++ b/android/system-emulator.c @@ -171,6 +171,7 @@ int main(int argc, char *argv[]) mainloop_add_fd(fd, EPOLLIN, system_socket_callback, NULL, NULL); + /* Make sure bluetoothd creates files with proper permissions */ umask(0177); return mainloop_run(); |