{get,set}_fsbase, {get,set}_gsbase and Valgrind

John Baldwin jhb at FreeBSD.org
Thu Sep 15 08:36:28 PDT 2005


On Thursday 15 September 2005 06:48 am, Simon Barner wrote:
> Doug,
> hackers,
>
> a user of the valgrind port reported that it crashed due to an unhandled
> sysarch call (ports/86007).
>
> I found out, that this was because of the get_fsbase, set_fsbase,
> get_gsbase and set_gsbase calls, which were introduced in FreeBSD 6.
>
> I'd be happy if somebody could review my attached patch. It's quite
> possible that it does not make sense at all since I created it by
> adopting the code for the other cases without having a real clue about
> what I was doing :-/
>
> Also, since I could not find any documentation for these calls, it would
> be very nice to know what they are good for, and if programs like
> valgrind have to take special care of them.
>
> Best regards,
>  Simon

Your best bet is probably to mail the patch in a followup to the PR so that it 
doesn't get lost.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-hackers mailing list