aboutsummaryrefslogtreecommitdiff
path: root/libbb/run_shell.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2026-09-04 09:27:17 +0100
committerRon Yorston <rmy@pobox.com>2026-09-04 09:27:17 +0100
commita7cfac2b372e21950cf8b9e9defff742b92043d8 (patch)
treea0b292c4c473412c6c1070d46e9b39384cb4a644 /libbb/run_shell.c
parentdc703c7272ef1c71c0d43a056e21299d1bb5fea0 (diff)
parent74ac096e895acd6b02976bb010e9b3511234e899 (diff)
downloadbusybox-w32-merge.tar.gz
busybox-w32-merge.tar.bz2
busybox-w32-merge.zip
Merge branch 'busybox' into mergemerge
Signed-off-by: Ron Yorston <rmy@pobox.com>
Diffstat (limited to '')
-rw-r--r--libbb/run_shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/run_shell.c b/libbb/run_shell.c
index c22bba87b..1c366d069 100644
--- a/libbb/run_shell.c
+++ b/libbb/run_shell.c
@@ -33,14 +33,14 @@
33#endif 33#endif
34 34
35#if ENABLE_SELINUX 35#if ENABLE_SELINUX
36static security_context_t current_sid; 36static char *current_sid;
37 37
38void FAST_FUNC renew_current_security_context(void) 38void FAST_FUNC renew_current_security_context(void)
39{ 39{
40 freecon(current_sid); /* Release old context */ 40 freecon(current_sid); /* Release old context */
41 getcon(&current_sid); /* update */ 41 getcon(&current_sid); /* update */
42} 42}
43void FAST_FUNC set_current_security_context(security_context_t sid) 43void FAST_FUNC set_current_security_context(char *sid)
44{ 44{
45 freecon(current_sid); /* Release old context */ 45 freecon(current_sid); /* Release old context */
46 current_sid = sid; 46 current_sid = sid;