Re: [PATCH] selftests/x86/ldt_gdt_32: Work around a glibc sigaction bug

2017-03-22 Thread Andy Lutomirski
On Tue, Mar 21, 2017 at 11:48 PM, Ingo Molnar wrote: > > * Andy Lutomirski wrote: > >> i386 glibc is buggy and calls the sigaction syscall incorrectly. >> This is asymptomatic for normal programs, but it blows up on >> programs that do evil things with segmentation. ldt_gdt an example >> of such

Re: [PATCH] selftests/x86/ldt_gdt_32: Work around a glibc sigaction bug

2017-03-21 Thread Ingo Molnar
* Andy Lutomirski wrote: > i386 glibc is buggy and calls the sigaction syscall incorrectly. > This is asymptomatic for normal programs, but it blows up on > programs that do evil things with segmentation. ldt_gdt an example > of such an evil program. > > This doesn't appear to be a regression

[PATCH] selftests/x86/ldt_gdt_32: Work around a glibc sigaction bug

2017-03-21 Thread Andy Lutomirski
i386 glibc is buggy and calls the sigaction syscall incorrectly. This is asymptomatic for normal programs, but it blows up on programs that do evil things with segmentation. ldt_gdt an example of such an evil program. This doesn't appear to be a regression -- I think I just got lucky with the uni