]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r306318
authortijl <tijl@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 10 Oct 2016 11:53:54 +0000 (11:53 +0000)
committertijl <tijl@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 10 Oct 2016 11:53:54 +0000 (11:53 +0000)
commit42524858208b774b94a0682e7b49eb2b1623a194
treef6fcdcca07ef59f8f05cd2e420eaa276fcf09294
parente5bae3a3c269a56001f1806ded39c5c76ddf7875
MFC: r306318

Allocate a zeroed LDT.

Failing to do this might result in the LDT appearing to run out of free
descriptors because of random junk in the descriptor's 'sd_type' field.

http://lists.freebsd.org/pipermail/freebsd-amd64/2014-May/016088.html

PR:             212639
Submitted by:   wheelcomplex@gmail.com

git-svn-id: svn://svn.freebsd.org/base/stable/10@306961 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/i386/i386/sys_machdep.c