After I succesfully build shadow with libmudflap, I have some warnings,
which is at attachment, when I want to create passwd.
Filip Bartmann
*******
mudflap violation 1 (check/read): time=1156355023.848126 ptr=0xb7db2f00 size=8
pc=0xb7df0a8c location=`passwd.c:833 (main)'
/usr/lib/libmudflap.so.0(__mf_check+0x5c) [0xb7df0a8c]
passwd(main+0x1668) [0x80005148]
/usr/lib/libmudflap.so.0(__wrap_main+0x60) [0xb7df04c0]
Nearby object 1: checked region begins 1089B after and ends 1096B after
mudflap object 0x80012350: name=`env.c:47 environ'
bounds=[0xb7db2abc,0xb7db2abf] size=4 area=static check=0r/0w liveness=0
alloc time=1156355023.843868 pc=0xb7df042c
number of nearby objects: 1
*******
mudflap violation 2 (check/read): time=1156355023.848322 ptr=0xb7db2f00 size=32
pc=0xb7df0a8c location=`isexpired.c:67 (isexpired)'
/usr/lib/libmudflap.so.0(__mf_check+0x5c) [0xb7df0a8c]
passwd(isexpired+0x37c) [0x80007eac]
passwd(main+0x610) [0x800040f0]
Nearby object 1: checked region begins 1329B after and ends 1360B after
mudflap object 0x8001a570: name=`getpw*() return'
bounds=[0xb7db29b4,0xb7db29cf] size=28 area=static check=0r/0w liveness=0
alloc time=1156355023.847756 pc=0xb7df042c
Nearby object 2: checked region begins 1293B after and ends 1324B after
mudflap object 0x80019678: name=`getpw*() return'
bounds=[0xb7db29d8,0xb7db29f3] size=28 area=static check=1r/0w liveness=1
alloc time=1156355023.847373 pc=0xb7df042c
Nearby object 3: checked region begins 1089B after and ends 1120B after
mudflap object 0x80012350: name=`env.c:47 environ'
number of nearby objects: 3
*******
mudflap violation 3 (check/read): time=1156355023.848477 ptr=0xb7db2f00 size=12
pc=0xb7df0a8c location=`isexpired.c:78 (isexpired)'
/usr/lib/libmudflap.so.0(__mf_check+0x5c) [0xb7df0a8c]
passwd(isexpired+0x302) [0x80007e32]
passwd(main+0x610) [0x800040f0]
Nearby object 1: checked region begins 1089B after and ends 1100B after
mudflap object 0x80012350: name=`env.c:47 environ'
number of nearby objects: 1
*******
mudflap violation 4 (check/read): time=1156355023.848598 ptr=0xb7db2f00 size=20
pc=0xb7df0a8c location=`isexpired.c:81 (isexpired)'
/usr/lib/libmudflap.so.0(__mf_check+0x5c) [0xb7df0a8c]
passwd(isexpired+0x29f) [0x80007dcf]
passwd(main+0x610) [0x800040f0]
Nearby object 1: checked region begins 1089B after and ends 1108B after
mudflap object 0x80012350: name=`env.c:47 environ'
number of nearby objects: 1
*******
mudflap violation 5 (check/read): time=1156355023.848716 ptr=0xb7db2f00 size=28
pc=0xb7df0a8c location=`isexpired.c:81 (isexpired)'
/usr/lib/libmudflap.so.0(__mf_check+0x5c) [0xb7df0a8c]
passwd(isexpired+0x2dc) [0x80007e0c]
passwd(main+0x610) [0x800040f0]
Nearby object 1: checked region begins 1329B after and ends 1356B after
mudflap object 0x8001a570: name=`getpw*() return'
Nearby object 2: checked region begins 1293B after and ends 1320B after
mudflap object 0x80019678: name=`getpw*() return'
Nearby object 3: checked region begins 1089B after and ends 1116B after
mudflap object 0x80012350: name=`env.c:47 environ'
number of nearby objects: 3
*******
mudflap violation 6 (check/read): time=1156355028.438650 ptr=0xb7db2f40 size=36
pc=0xb7df0a8c location=`shadowio.c:20 (__spw_dup)'
/usr/lib/libmudflap.so.0(__mf_check+0x5c) [0xb7df0a8c]
/lib/libshadow.so.0(__spw_dup+0x2e3) [0xb7eeaed3]
/lib/libshadow.so.0(__mf_lookup_cache+0x18f88) [0xb7eeaf88]
Nearby object 1: checked region begins 1393B after and ends 1428B after
mudflap object 0x8001a570: name=`getpw*() return'
Nearby object 2: checked region begins 1357B after and ends 1392B after
mudflap object 0x80019678: name=`getpw*() return'
Nearby object 3: checked region begins 1153B after and ends 1188B after
mudflap object 0x80012350: name=`env.c:47 environ'
number of nearby objects: 3
*******
mudflap violation 7 (check/read): time=1156355028.438821 ptr=0xb7db2f40 size=4
pc=0xb7df0a8c location=`shadowio.c:21 (__spw_dup)'
/usr/lib/libmudflap.so.0(__mf_check+0x5c) [0xb7df0a8c]
/lib/libshadow.so.0(__spw_dup+0x2a6) [0xb7eeae96]
/lib/libshadow.so.0(__mf_lookup_cache+0x18f88) [0xb7eeaf88]
Nearby object 1: checked region begins 1393B after and ends 1396B after
mudflap object 0x8001a570: name=`getpw*() return'
Nearby object 2: checked region begins 1357B after and ends 1360B after
mudflap object 0x80019678: name=`getpw*() return'
Nearby object 3: checked region begins 1153B after and ends 1156B after
mudflap object 0x80012350: name=`env.c:47 environ'
number of nearby objects: 3
*******
mudflap violation 8 (check/read): time=1156355028.439023 ptr=0xb7db2f40 size=8
pc=0xb7df0a8c location=`shadowio.c:23 (__spw_dup)'
/usr/lib/libmudflap.so.0(__mf_check+0x5c) [0xb7df0a8c]
/lib/libshadow.so.0(__spw_dup+0x349) [0xb7eeaf39]
/lib/libshadow.so.0(__mf_lookup_cache+0x18f88) [0xb7eeaf88]
Nearby object 1: checked region begins 1393B after and ends 1400B after
mudflap object 0x8001a570: name=`getpw*() return'
Nearby object 2: checked region begins 1357B after and ends 1364B after
mudflap object 0x80019678: name=`getpw*() return'
Nearby object 3: checked region begins 1153B after and ends 1160B after
mudflap object 0x80012350: name=`env.c:47 environ'
number of nearby objects: 3
*******
mudflap violation 9 (check/read): time=1156355028.455368 ptr=0xb7d9f3c2 size=2
pc=0xb7df0a8c location=`(strdup region)'
/usr/lib/libmudflap.so.0(__mf_check+0x5c) [0xb7df0a8c]
/usr/lib/libmudflap.so.0(__mfwrap_strdup+0x1a3) [0xb7e00453]
passwd(main+0xad0) [0x800045b0]
number of nearby objects: 0
--
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page