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: [PATCH]: Bug in ppc32 ld.so



> This is a potential security hole, it'd be better to fix it in the kernel.

>From a performance viewpoint we do not want to icache synchronise all
zero pages we hand out. Its expensive. If a process creates code that
will be executed it should do the complete dcbst; sync; icbi; isync
sequence. I cant see how an application could gain information from a
stale icache, it cant read it.

For some ppc64 machines Im going to switch to using the per page execute
bit to lazily do icache synchonisation, but for the others (and most of
the ppc32 cpus) we have do not have this luxury.

Anton


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