X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon%2Frunas.h;h=460dec6cf954a69f29fdb03a5fe440d6154c448e;hb=90c106c686bee2d1dedf1496140f9291d3b16799;hp=398221708e16948dfc62221d7df228cf3fb6f850;hpb=c73f064af78ce03f1f6d89b66a0e05b3d3b477aa;p=lttng-tools.git diff --git a/src/common/runas.h b/src/common/runas.h index 398221708..460dec6cf 100644 --- a/src/common/runas.h +++ b/src/common/runas.h @@ -2,7 +2,7 @@ #define _RUNAS_H /* - * Copyright (C) 2011 David Goulet + * Copyright (C) 2011 EfficiOS Inc. * Copyright (C) 2011 Mathieu Desnoyers * * SPDX-License-Identifier: GPL-2.0-only @@ -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);