+#warning "FreeBSD does not support setting file mode on shm FD. Remember that for secure use, lttng-sessiond should be started before applications linked on lttng-ust."
+#endif
DBG("Got the wait shm fd %d", wait_shm_fd);
DBG("Got the wait shm fd %d", wait_shm_fd);
@@ -145,7+149,7 @@ char *shm_ust_get_mmap(char *shm_path, int global)
/* close shm fd immediately after taking the mmap reference */
ret = close(wait_shm_fd);
if (ret) {
/* close shm fd immediately after taking the mmap reference */
ret = close(wait_shm_fd);
if (ret) {
- perror("Error closing fd");
+ PERROR("Error closing fd");
}
if (wait_shm_mmap == MAP_FAILED) {
}
if (wait_shm_mmap == MAP_FAILED) {
This page took 0.027337 seconds and 5 git commands to generate.