X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon%2Frunas.h;h=71aed96ea3bc4f7b44a6da274ecda11799830372;hb=edbac916fd984b0b50dc3f7cc352a94cb7f24287;hp=398221708e16948dfc62221d7df228cf3fb6f850;hpb=c73f064af78ce03f1f6d89b66a0e05b3d3b477aa;p=lttng-tools.git diff --git a/src/common/runas.h b/src/common/runas.h index 398221708..71aed96ea 100644 --- a/src/common/runas.h +++ b/src/common/runas.h @@ -2,10 +2,10 @@ #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 + * SPDX-License-Identifier: LGPL-2.1-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);