Date: Tue, 18 Jan 2011 16:43:01 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/amd64 sys_machdep.c src/sys/i386/i386 sys_machdep.c Message-ID: <201101181643.p0IGhwmL090896@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2011-01-18 16:43:01 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 sys_machdep.c
sys/i386/i386 sys_machdep.c
Log:
SVN rev 217543 on 2011-01-18 16:43:01Z by jhb
- Remove some always-true checks (checking for unsigned < 0).
- Only check largs->num against max_ldt_segment on amd64 for I386_SET_LDT
when descriptors are provided. Specifically, allow the 'start == 0'
and 'num == 0' special case used to free all LDT entries that previously
failed with EINVAL.
Submitted by: clang via rdivacky (some of 1)
Reviewed by: kib
Revision Changes Path
1.97 +4 -4 src/sys/amd64/amd64/sys_machdep.c
1.124 +2 -3 src/sys/i386/i386/sys_machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101181643.p0IGhwmL090896>
