[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] do_set_gdt



Given that you that the first 256 GDT entries aren't reserved and you
explicitly state why, shouldn't the following check:

    if ( (entries <= LAST_RESERVED_GDT_ENTRY) || (entries > 8192) )
        return -EINVAL;

be:

    if ( (entries > FIRST_RESERVED_GDT_ENTRY &&
          entries <= LAST_RESERVED_GDT_ENTRY) || (entries > 8192) )
        return -EINVAL;




Thanks.

                        -Kip


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.