blob: e3b3e877ef4e62b104d36620fa6e295736d31f49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/*
* SELinux interface.
*
* Copyright (c) 2020-2021 The strace developers.
*
* SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef STRACE_SECONTEXT_H
#define STRACE_SECONTEXT_H
#include "defs.h"
extern bool selinux_context;
extern bool selinux_context_full;
int selinux_getfdcon(pid_t pid, int fd, char **context);
int selinux_getfilecon(struct tcb *tcp, const char *path, char **context);
int selinux_getpidcon(struct tcb *tcp, char **context);
#endif /* !STRACE_SECONTEXT_H */
|