diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2015-10-19 04:27:17 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-10-19 04:27:17 +0200 |
commit | 526d85831e7480b9c7a3673d8dd356a438e6dd74 (patch) | |
tree | 0063fe2362ecaf3252ccf2a5042bf541546eedd6 /libbb/appletlib.c | |
parent | f3d58a29be7cbf5c0bf94f1a12ac747f706b3d99 (diff) | |
download | busybox-w32-526d85831e7480b9c7a3673d8dd356a438e6dd74.tar.gz busybox-w32-526d85831e7480b9c7a3673d8dd356a438e6dd74.tar.bz2 busybox-w32-526d85831e7480b9c7a3673d8dd356a438e6dd74.zip |
libbb: get_uidgid() always called with allow_numeric=1
function old new delta
xget_uidgid 30 25 -5
make_device 2188 2183 -5
main 797 792 -5
get_uidgid 240 225 -15
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/appletlib.c')
-rw-r--r-- | libbb/appletlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c index 24253cf27..0f83eda4b 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c | |||
@@ -437,7 +437,7 @@ static void parse_config_file(void) | |||
437 | goto pe_label; | 437 | goto pe_label; |
438 | } | 438 | } |
439 | *e = ':'; /* get_uidgid needs USER:GROUP syntax */ | 439 | *e = ':'; /* get_uidgid needs USER:GROUP syntax */ |
440 | if (get_uidgid(&sct->m_ugid, s, /*allow_numeric:*/ 1) == 0) { | 440 | if (get_uidgid(&sct->m_ugid, s) == 0) { |
441 | errmsg = "unknown user/group"; | 441 | errmsg = "unknown user/group"; |
442 | goto pe_label; | 442 | goto pe_label; |
443 | } | 443 | } |