This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Latest Glibc from CVS has segmentation problems.


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]