ppc64 vDSO in mainline
Ulrich Drepper
drepper@redhat.com
Fri Mar 25 00:07:00 GMT 2005
Steve Munroe wrote:
> I can see how randomized VDSO for platforms using
> NEED_DL_SYSINFO/DL_SYSINFO_IMPLEMENTATION might prevent a virus attacker
> from using syscalls. But powerpc is a NEED_DL_SYSINFO_DSO only
> implemention and so can't prevent anyone from using syscalls inline. And I
> don't see how calling gettimeofday is a security threat?
It doesn't matter whether inline syscalls can be made. The issue is to
avoid fixed addresses for code at all costs. Therefore the vDSO must be
randomizable without cost. That has all been discussed, and Ben wrote
the vDSO code to allow just that. The fact that it means a minimal
amount of additional work in the users of the vDSO is not important.
The code in the vDSO doesn't need the TOC so a lot of corners can be cut.
Just look into the efforts to get the vDSO used for gettimeofday as it
is today. If it wurns out too much work, changes to the vDSO can be
considered. Otherwise leave it as is.
--
â§ Ulrich Drepper â§ Red Hat, Inc. â§ 444 Castro St â§ Mountain View, CA â
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20050325/7deec449/attachment.sig>
More information about the Libc-alpha
mailing list