projects
/
platform
/
core
/
appfw
/
aul-1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69c04b0
)
Remove calling chmod()
62/72862/3
accepted/tizen/common/20160606.141711
accepted/tizen/ivi/20160606.040554
accepted/tizen/mobile/20160606.035155
accepted/tizen/tv/20160606.035856
accepted/tizen/wearable/20160606.040058
submit/tizen/20160603.030057
author
Junghoon Park
<jh9216.park@samsung.com>
Thu, 2 Jun 2016 23:54:59 +0000
(08:54 +0900)
committer
Junghoon Park
<jh9216.park@samsung.com>
Fri, 3 Jun 2016 02:47:28 +0000
(19:47 -0700)
- We don't need to allow permissions for groups and others any more
Change-Id: If3d48503534e9952eac13fa26841f0ac0a48dcc3
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
src/aul_sock.c
patch
|
blob
|
history
diff --git
a/src/aul_sock.c
b/src/aul_sock.c
index
c927037
..
d250f3a
100644
(file)
--- a/
src/aul_sock.c
+++ b/
src/aul_sock.c
@@
-108,13
+108,6
@@
API int aul_sock_create_server(int pid, uid_t uid)
return -1;
}
- if (chmod(saddr.sun_path, (S_IRWXU | S_IRWXG | S_IRWXO)) < 0) {
- /* Flawfinder: ignore*/
- _E("failed to change the socket permission");
- close(fd);
- return -1;
- }
-
__set_sock_option(fd, 0);
if (listen(fd, 128) == -1) {