]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r289055 (by mjg@):
authordchagin <dchagin@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 9 Jan 2016 18:32:52 +0000 (18:32 +0000)
committerdchagin <dchagin@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 9 Jan 2016 18:32:52 +0000 (18:32 +0000)
commit37ba4ab1ee5ad761d0fa47f6dfe2cf0520607364
tree00db1fb832b4ba9a1535eded7fcd67bab7140966
parent38bc29280960a96264214fb9fde9d222648455fe
MFC r289055 (by mjg@):

 linux: fix handling of out-of-bounds syscall attempts

 Due to an off by one the code would read an entry past the table, as
 opposed to the last entry which contains the nosys handler.

 This fixes my fault.

MFC r289058 (by cem@):

 Fix missing semi-colon from r289055.

MFC r289768 (by jhb@):

 Merge r289055 to amd64/linux32:

 linux: fix handling of out-of-bounds syscall attempts

 Due to an off by one the code would read an entry past the table, as
 opposed to the last entry which contains the nosys handler.

git-svn-id: svn://svn.freebsd.org/base/stable/10@293609 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/amd64/linux/linux_sysvec.c
sys/amd64/linux32/linux32_sysvec.c
sys/i386/linux/linux_sysvec.c