Make only libust and libustconsumer use a signal safe usterr.h
[ust.git] / libust / tracectl.c
index ae92b7e17577f279d30456622842037d371455ca..96053b7b523773000560b70a86a2b717056005a5 100644 (file)
@@ -41,7 +41,7 @@
 #include <ust/tracectl.h>
 #include <ust/clock.h>
 #include "tracer.h"
-#include "usterr.h"
+#include "usterr_signal_safe.h"
 #include "ustcomm.h"
 #include "buffers.h"
 #include "marker-control.h"
@@ -1236,7 +1236,7 @@ static struct ustcomm_sock * init_app_socket(int epoll_fd)
                goto free_dir_name;
        }
 
-       result = ensure_dir_exists(dir_name);
+       result = ensure_dir_exists(dir_name, S_IRWXU);
        if (result == -1) {
                ERR("Unable to create socket directory %s, UST thread bailing",
                    dir_name);
This page took 0.022176 seconds and 4 git commands to generate.