On 2012-10-21 14:26, Aurelien Jarno wrote:
>> > +static inline void setup_guest_base_seg(void)
>> > +{
>> > +    if (syscall(__NR_arch_prctl, ARCH_SET_GS, GUEST_BASE) == 0) {
>> > +        guest_base_flags = P_GS;
>> > +    }
> Why calling the syscall directly instead of using arch_prctl(2)?
> 

Err... there is no such function in libc.  Ah, I see there is a prctl
declaration and a <sys/prctl.h> now.  I can definitely update that.


r~

Reply via email to