diff options
| author | Ron Yorston <rmy@pobox.com> | 2026-09-04 09:27:17 +0100 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2026-09-04 09:27:17 +0100 |
| commit | a7cfac2b372e21950cf8b9e9defff742b92043d8 (patch) | |
| tree | a0b292c4c473412c6c1070d46e9b39384cb4a644 /libbb/run_shell.c | |
| parent | dc703c7272ef1c71c0d43a056e21299d1bb5fea0 (diff) | |
| parent | 74ac096e895acd6b02976bb010e9b3511234e899 (diff) | |
| download | busybox-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.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; |
