[CRIU] [PATCH 7/9] seccomp: test -- Add seccomp_filter_threads
Dmitry Safonov
0x7f454c46 at gmail.com
Fri May 4 23:33:34 MSK 2018
2018-05-04 21:20 GMT+01:00 Cyrill Gorcunov <gorcunov at gmail.com>:
> On Fri, May 04, 2018 at 09:17:54PM +0100, Dmitry Safonov wrote:
>>
>> Hmm, I got the idea where the pointer comes from.
>> I'm about:
>> SYSCALL_DEFINE1(exit, int, error_code)
>> {
>> do_exit((error_code&0xff)<<8);
>> }
>>
>> I think it should work on little-endian, but maybe
>> simplify it with syscall(__NR_exit, !!p), hmm?
>
> I think we can do that. But I don't see a strict reason for it :)
> Look, the series gonna be improved on top (we will need kdat testing
> to eliminate redundant prctl call) so I might do this as well. But
> at moment I don't see a strong need you know :)
That's ok - I tried to figure out why tests passed with a bug in 4/9 patch.
--
Dmitry
More information about the CRIU
mailing list