X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Frunas.h;h=18a053a05cbd89d174d987446117ec345198b81d;hb=bbd6675c857ad9bf95e59446476cab19d1f6736e;hp=398221708e16948dfc62221d7df228cf3fb6f850;hpb=c73f064af78ce03f1f6d89b66a0e05b3d3b477aa;p=lttng-tools.git diff --git a/src/common/runas.h b/src/common/runas.h index 398221708..18a053a05 100644 --- a/src/common/runas.h +++ b/src/common/runas.h @@ -72,9 +72,8 @@ int run_as_extract_sdt_probe_offsets(int fd, const char *provider_name, uint64_t **offsets, uint32_t *num_offset); LTTNG_HIDDEN int run_as_generate_filter_bytecode(const char *filter_expression, - uid_t uid, - gid_t gid, - struct lttng_filter_bytecode **bytecode); + const struct lttng_credentials *creds, + struct lttng_bytecode **bytecode); LTTNG_HIDDEN int run_as_create_worker(const char *procname, post_fork_cleanup_cb clean_up_func, void *clean_up_user_data);