SVNews r324433

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-10-09 15:39:43 - r324433 by kib (Konstantin Belousov)

Complete list of files affected by revision r324433:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/i386/i386/machdep.c  
  History   Contents   Diff   MODIFY   /head/sys/i386/i386/sys_machdep.c  
  History   Contents   Diff   MODIFY   /head/sys/i386/include/md_var.h  

Commit message:

Reset the fs and gs bases on exec(2).

The values from the old address space do not make sense for the new
program. In particular, gsbase might be the TLS base for the old
program but the new program has no TLS now.

amd64 already handles this correctly.

Reported and reviewed by: bde
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 7 ms, 3 files printed. Current time is 2017-12-16 15:02:24. All times are in UTC/GMT.