X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fclient.c;h=7feef3e0781f1acb12aee23d634f857bbf594e6c;hb=a2f8cd58605942314ebf734b3e95c65721e6394a;hp=3563811421359ea43331e8fd8babc535a90cd1d1;hpb=4e4e511415375c14912856d0fd6aa3be89d96edc;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/client.c b/src/bin/lttng-sessiond/client.c index 356381142..7feef3e07 100644 --- a/src/bin/lttng-sessiond/client.c +++ b/src/bin/lttng-sessiond/client.c @@ -1786,7 +1786,6 @@ init_setup_error: 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(config.client_unix_sock_path.value); @@ -1817,7 +1816,6 @@ static int create_client_sock(void) DBG("Created client socket (fd = %i)", client_sock); ret = client_sock; end: - umask(old_umask); return ret; }