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  linux-hardening  linux-cve-announce  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:   Tue, 15 Jan 2019 15:47:14 +0100
From:   Arnd Bergmann <>
To:     Russell King - ARM Linux admin <>
Cc:     y2038 Mailman List <>,
        Linux API <>,
        Linux Kernel Mailing List <>,
        Ivan Kokshaysky <>,
        Matt Turner <>,
        Catalin Marinas <>,
        Will Deacon <>,
        Tony Luck <>,
        Fenghua Yu <>,
        Geert Uytterhoeven <>,
        Michal Simek <>,
        Paul Burton <>,
        Helge Deller <>,
        Michael Ellerman <>,
        Martin Schwidefsky <>,
        Heiko Carstens <>,
        Rich Felker <>,
        David Miller <>,
        Andy Lutomirski <>,
        Thomas Gleixner <>,
        Ingo Molnar <>,
        "H. Peter Anvin" <>,
        "the arch/x86 maintainers" <>,
        Max Filippov <>,
        Firoz Khan <>,
        "Eric W . Biederman" <>,
        Deepa Dinamani <>,
        Dominik Brodowski <>,
        Andrew Morton <>,
        Davidlohr Bueso <>,
        alpha <>,
        Linux ARM <>,,
        linux-m68k <>,,
        Parisc List <>,
        linuxppc-dev <>,
        linux-s390 <>,
        Linux-sh list <>,
        sparclinux <>
Subject: Re: [PATCH 15/15] arch: add pkey and rseq syscall numbers everywhere

On Tue, Jan 15, 2019 at 12:52 PM Russell King - ARM Linux admin
<> wrote:
> On Thu, Jan 10, 2019 at 05:24:35PM +0100, Arnd Bergmann wrote:
> > Most architectures define system call numbers for the rseq and pkey system
> > calls, even when they don't support the features, and perhaps never will.
> >
> > Only a few architectures are missing these, so just define them anyway
> > for consistency. If we decide to add them later to one of these, the
> > system call numbers won't get out of sync then.
> I was lambasted for adding the pkey syscalls for 32-bit ARM in 2016,
> which will probably never support it.  Why has the attitude towards
> this kind of thing now apparently become acceptable?

I was (and still am) a bit unsure about this one. A number of architectures
added the numbers that won't ever support them, but I wasn't sure if
any of those that didn't add them might need it later.

I tried to just go by the rule that anything that we list in
is probably important enough that we want to list it everywhere, even if
that includes a couple that we end up being rather architecture specific.

I'm happy to drop this patch if you or others feel that we're better off
without it though.


Powered by blists - more mailing lists