[Bug 4496] passwd applet ruins UID field in /etc/passwd

bugzilla at busybox.net bugzilla at busybox.net
Mon Nov 21 14:43:59 UTC 2011


https://bugs.busybox.net/show_bug.cgi?id=4496

--- Comment #6 from Jelle Martijn Kok <jmkok at youcom.nl> 2011-11-21 14:43:59 UTC ---
I attached the libbb/update_passwd.s.
Once when debug is enabled (and it works correctly) and once when compiled
without debugging and the issue occurs.

Note that the command line used to compile it was:
(copy and paste after "make V=1")

arm-none-linux-gnueabi-gcc -Wp,-MD,libbb/.update_passwd.s.d   -std=gnu99
-Iinclude -Ilibbb  -include include/autoconf.h -D_GNU_SOURCE -DNDEBUG
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D"BB_VER=KBUILD_STR(1.19.3)" -DBB_BT=AUTOCONF_TIMESTAMP -Wall -mcpu=arm926ej-s
-O3 -I/home/jmkok/Projects/ARM9/rootfs/include
-I/home/jmkok/Projects/ARM9/rootfs/usr/include
-I/home/jmkok/Projects/ARM9/rootfs/usr/local/include -Wall -Wshadow
-Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter
-Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations
-Wdeclaration-after-statement -Wold-style-definition -fno-builtin-strlen
-finline-limit=0 -fomit-frame-pointer -ffunction-sections -fdata-sections
-fno-guess-branch-probability -funsigned-char -static-libgcc
-falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -Os    
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(update_passwd)" 
-D"KBUILD_MODNAME=KBUILD_STR(update_passwd)" -fverbose-asm -S -o
libbb/update_passwd.s libbb/update_passwd.c

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list