summaryrefslogtreecommitdiff
path: root/src/selinux.c
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@sudo.ws>2021-11-01 14:15:08 -0600
committerTodd C. Miller <Todd.Miller@sudo.ws>2021-11-01 14:15:08 -0600
commitfc247fc1cbff29e116c8316fd8f5ed4f43aaa011 (patch)
treec578b2a35bdb37cf901bde43a1136c7d83689cdc /src/selinux.c
parent93de465271697cd0b6d0c1a8be819b5c21445869 (diff)
downloadsudo-fc247fc1cbff29e116c8316fd8f5ed4f43aaa011.tar.gz
Make get_exec_context static, it is unused outside selinux.c.
Diffstat (limited to 'src/selinux.c')
-rw-r--r--src/selinux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selinux.c b/src/selinux.c
index cab665a24..64245a4da 100644
--- a/src/selinux.c
+++ b/src/selinux.c
@@ -308,7 +308,7 @@ bad:
* Returns a new security context based on the old context and the
* specified role and type.
*/
-char *
+static char *
get_exec_context(char * old_context, const char *role, const char *type)
{
char * new_context = NULL;