diff options
Diffstat (limited to '')
| -rw-r--r-- | libbb/run_shell.c | 4 |
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 |
| 36 | static security_context_t current_sid; | 36 | static char *current_sid; |
| 37 | 37 | ||
| 38 | void FAST_FUNC renew_current_security_context(void) | 38 | void 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(¤t_sid); /* update */ | 41 | getcon(¤t_sid); /* update */ |
| 42 | } | 42 | } |
| 43 | void FAST_FUNC set_current_security_context(security_context_t sid) | 43 | void 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; |
