Re: [PATCH] x86/split_lock: Sanitize userspace and guest error output

2020-06-05 Thread Xiaoyao Li
On 6/6/2020 12:42 AM, Prarit Bhargava wrote: On 6/5/20 11:29 AM, Xiaoyao Li wrote: On 6/5/2020 7:44 PM, Prarit Bhargava wrote: There are two problems with kernel messages in fatal mode that were found during testing of guests and userspace programs. The first is that no kernel message is out

Re: [PATCH] x86/split_lock: Sanitize userspace and guest error output

2020-06-05 Thread Prarit Bhargava
On 6/5/20 11:29 AM, Xiaoyao Li wrote: > On 6/5/2020 7:44 PM, Prarit Bhargava wrote: >> There are two problems with kernel messages in fatal mode that >> were found during testing of guests and userspace programs. >> >> The first is that no kernel message is output when the split lock detector >>

Re: [PATCH] x86/split_lock: Sanitize userspace and guest error output

2020-06-05 Thread Xiaoyao Li
On 6/5/2020 7:44 PM, Prarit Bhargava wrote: There are two problems with kernel messages in fatal mode that were found during testing of guests and userspace programs. The first is that no kernel message is output when the split lock detector is triggered with a userspace program. As a result th

[PATCH] x86/split_lock: Sanitize userspace and guest error output

2020-06-05 Thread Prarit Bhargava
There are two problems with kernel messages in fatal mode that were found during testing of guests and userspace programs. The first is that no kernel message is output when the split lock detector is triggered with a userspace program. As a result the userspace process dies from receiving SIGBUS