lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 13 Jun 2018 15:53:38 -0400 (EDT)
From:   Mathieu Desnoyers <>
To:     heiko carstens <>
Cc:     carlos <>, Florian Weimer <>,
        Peter Zijlstra <>,
        "Paul E. McKenney" <>,
        Boqun Feng <>,
        Thomas Gleixner <>,
        linux-kernel <>,
        libc-alpha <>
Subject: Re: Restartable Sequences system call merged into Linux

----- On Jun 13, 2018, at 12:14 PM, Mathieu Desnoyers wrote:

> ----- On Jun 13, 2018, at 7:48 AM, heiko carstens
> wrote:
>> Is there any documentation available of what is the exact semantics of the
>> functions that have to be implemented for additional architectures?
> It's documented on top of kernel/rseq.c:


> The first architecture implemented was rseq-x86.h. Boqun derived rseq-ppc.h
> from it, and I derived rseq-arm.h from it. Feel free to start from whichever
> architecture has the instruction set which is most similar to yours.

One more thing: adding full support for your architecture to the rseq selftests
also requires to extend tools/testing/selftests/rseq/param_test.c to implement
macros for your architecture. Those are simply defining the inline asm operands
and assembly code needed to inject delay loops within the rseq critical sections,
which greatly facilitates testing.



Mathieu Desnoyers
EfficiOS Inc.

Powered by blists - more mailing lists