nvidia machdep.c patch still useful ?

Matthew Dillon dillon at apollo.backplane.com
Wed Apr 7 09:05:35 PDT 2004


:My kernel's not quite up-to-date, but the snippet below successfully 
:queries and sets %fs.
:
:I'm fairly certain that setting any i386 segment register (except %cs) 
:is a non-privileged instruction.  Of course, the descriptor must support 
:the appropriate access to actually *use* it...
:

    Yup, ok.  Hmm.  Well, 5.x is still restoring %fs so I think for now
    we should do the same, especially since fixing %gs seems to have 
    cleaned up known existing userland problems.

						-Matt





More information about the Kernel mailing list