applets: fix compile-time warning
This commit is contained in:
parent
400c5b6fc6
commit
3349fc4da9
@ -337,7 +337,6 @@ static inline void parse_config_file(void)
|
|||||||
#if ENABLE_FEATURE_SUID
|
#if ENABLE_FEATURE_SUID
|
||||||
static void check_suid(const struct bb_applet *applet)
|
static void check_suid(const struct bb_applet *applet)
|
||||||
{
|
{
|
||||||
uid_t uid;
|
|
||||||
gid_t rgid; /* real gid */
|
gid_t rgid; /* real gid */
|
||||||
|
|
||||||
if (ruid == 0) /* set by parse_config_file() */
|
if (ruid == 0) /* set by parse_config_file() */
|
||||||
@ -346,6 +345,7 @@ static void check_suid(const struct bb_applet *applet)
|
|||||||
|
|
||||||
#if ENABLE_FEATURE_SUID_CONFIG
|
#if ENABLE_FEATURE_SUID_CONFIG
|
||||||
if (suid_cfg_readable) {
|
if (suid_cfg_readable) {
|
||||||
|
uid_t uid;
|
||||||
struct BB_suid_config *sct;
|
struct BB_suid_config *sct;
|
||||||
mode_t m;
|
mode_t m;
|
||||||
|
|
||||||
|
@ -1,8 +1,13 @@
|
|||||||
Various bits of what is known about busybox shells, in no particular order.
|
Various bits of what is known about busybox shells, in no particular order.
|
||||||
|
|
||||||
2007-05-03
|
2007-05-03
|
||||||
hush: new bug spotted: Ctrl-C on "while true; do true; done" kills shell,
|
hush: new bug spotted: Ctrl-C on "while true; do true; done" doesn't
|
||||||
not just the loop.
|
work right:
|
||||||
|
# while true; do true; done
|
||||||
|
[1] 0 true <-- pressing Ctrl-C several times...
|
||||||
|
[2] 0 true
|
||||||
|
[3] 0 true
|
||||||
|
Segmentation fault
|
||||||
|
|
||||||
2007-05-03
|
2007-05-03
|
||||||
hush: update on "sleep 1 | exit 3; echo $?" bug.
|
hush: update on "sleep 1 | exit 3; echo $?" bug.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user