Latest Glibc from CVS has segmentation problems.

Momchil Velikov velco@fadata.bg
Mon Mar 8 08:54:00 GMT 2004


>>>>> "Momchil" == Momchil Velikov <velco@fadata.bg> writes:

>>>>> "Danilo" == Danilo Segan <dsegan@gmx.net> writes:
Danilo> If you want to compare, get yourself enough privileges, and try
Danilo> overwriting your current running kernel with a new image directly in
Danilo> memory.

Momchil>   I'd like to point out that doing ``cp libc.so /lib/libc.so'',
Momchil> however disastrous it might be, is NOT equivalent to overwriting
Momchil> anything of the old libc, disk blocks and mapped pages including.

Well, this is apparently not (entirely) true, the destination file is
opened with O_TRUNC, moreover this broken behavior is mandated by
POSIX/SUSv3 :/

~velco



More information about the Libc-alpha mailing list