projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: notification: client with uid != trigger uid assert on gid check
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
notification-thread-events.c
diff --git
a/src/bin/lttng-sessiond/notification-thread-events.c
b/src/bin/lttng-sessiond/notification-thread-events.c
index 0836620b59262413c43b8cb97addb8e0f468746b..827cf2c1459f5ee4cb683ac3fd5b0699ab5d9b82 100644
(file)
--- a/
src/bin/lttng-sessiond/notification-thread-events.c
+++ b/
src/bin/lttng-sessiond/notification-thread-events.c
@@
-4335,7
+4335,7
@@
int notification_client_list_send_evaluation(
}
}
}
}
- if (client->uid != lttng_credentials_get_uid(trigger_creds)
&& client->gid != lttng_credentials_get_gid(trigger_creds)
) {
+ if (client->uid != lttng_credentials_get_uid(trigger_creds)) {
DBG("[notification-thread] Skipping client at it does not have the permission to receive notification for this trigger");
goto skip_client;
}
DBG("[notification-thread] Skipping client at it does not have the permission to receive notification for this trigger");
goto skip_client;
}
This page took
0.024703 seconds
and
4
git commands to generate.