projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement CLONE_FILES compat layer with rfork
[lttng-tools.git]
/
src
/
common
/
compat
/
compat-epoll.c
diff --git
a/src/common/compat/compat-epoll.c
b/src/common/compat/compat-epoll.c
index 460bc3b373b4ffb1c7d4f00f381ca49cac1c6890..77f5b922abcb7bc03c90ce8f574f5f4c94a9e6ed 100644
(file)
--- a/
src/common/compat/compat-epoll.c
+++ b/
src/common/compat/compat-epoll.c
@@
-23,7
+23,7
@@
#include <unistd.h>
#include <config.h>
#include <unistd.h>
#include <config.h>
-#include <common/
lttnger
r.h>
+#include <common/
erro
r.h>
#include <common/defaults.h>
#include "poll.h"
#include <common/defaults.h>
#include "poll.h"
@@
-93,6
+93,8
@@
int compat_epoll_add(struct lttng_poll_event *events, int fd, uint32_t req_event
if (ret < 0) {
switch (errno) {
case EEXIST:
if (ret < 0) {
switch (errno) {
case EEXIST:
+ /* If exist, it's OK. */
+ goto end;
case ENOSPC:
case EPERM:
/* Print perror and goto end not failing. Show must go on. */
case ENOSPC:
case EPERM:
/* Print perror and goto end not failing. Show must go on. */
This page took
0.025642 seconds
and
5
git commands to generate.