[CRIU] [PATCH 7/9] seccomp: test -- Add seccomp_filter_threads

Cyrill Gorcunov gorcunov at gmail.com
Fri May 4 23:20:53 MSK 2018


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 :)


More information about the CRIU mailing list