projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sessiond: timer: unitiliazed sigevent fields
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
shm.c
diff --git
a/src/bin/lttng-sessiond/shm.c
b/src/bin/lttng-sessiond/shm.c
index 1fc07dbd3915fec4606139cdee3bf1012b4edba9..8b7744221e8f3358b27a87fd24d68048ce3f203e 100644
(file)
--- a/
src/bin/lttng-sessiond/shm.c
+++ b/
src/bin/lttng-sessiond/shm.c
@@
-106,7
+106,6
@@
static int get_wait_shm(char *shm_path, size_t mmap_size, int global)
exit(EXIT_FAILURE);
}
exit(EXIT_FAILURE);
}
-#ifndef __FreeBSD__
if (global) {
ret = fchown(wait_shm_fd, 0, 0);
if (ret < 0) {
if (global) {
ret = fchown(wait_shm_fd, 0, 0);
if (ret < 0) {
@@
-131,9
+130,6
@@
static int get_wait_shm(char *shm_path, size_t mmap_size, int global)
exit(EXIT_FAILURE);
}
}
exit(EXIT_FAILURE);
}
}
-#else
-#warning "FreeBSD does not support setting file mode on shm FD."
-#endif
DBG("Got the wait shm fd %d", wait_shm_fd);
DBG("Got the wait shm fd %d", wait_shm_fd);
This page took
0.031952 seconds
and
4
git commands to generate.