projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: agent port file is o+w when launching as root
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
client.c
diff --git
a/src/bin/lttng-sessiond/client.c
b/src/bin/lttng-sessiond/client.c
index 9873a8f0c9971e23c1c304b92b3d20013d3dd442..a3d508a7018d5df82c0f0157ec7ba43fd1b5479a 100644
(file)
--- a/
src/bin/lttng-sessiond/client.c
+++ b/
src/bin/lttng-sessiond/client.c
@@
-2395,7
+2395,6
@@
init_setup_error:
static int create_client_sock(void)
{
int ret, client_sock;
static int create_client_sock(void)
{
int ret, client_sock;
- const mode_t old_umask = umask(0);
/* Create client tool unix socket */
client_sock = lttcomm_create_unix_sock(
/* Create client tool unix socket */
client_sock = lttcomm_create_unix_sock(
@@
-2429,7
+2428,6
@@
static int create_client_sock(void)
DBG("Created client socket (fd = %i)", client_sock);
ret = client_sock;
end:
DBG("Created client socket (fd = %i)", client_sock);
ret = client_sock;
end:
- umask(old_umask);
return ret;
}
return ret;
}
This page took
0.023409 seconds
and
4
git commands to generate.