lists.openwall.net   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:   Thu, 27 Oct 2016 09:37:42 -0700
From:   Linus Torvalds <torvalds@...ux-foundation.org>
To:     Tom Gundersen <teg@...m.no>
Cc:     Arnd Bergmann <arnd@...db.de>,
        Andy Lutomirski <luto@...capital.net>,
        David Herrmann <dh.herrmann@...il.com>,
        Hannes Reinecke <hare@...e.com>,
        Jiri Kosina <jikos@...nel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Josh Triplett <josh@...htriplett.org>,
        Greg KH <greg@...ah.com>, Steven Rostedt <rostedt@...dmis.org>
Subject: Re: [RFC v1 02/14] bus1: provide stub cdev /dev/bus1

On Thu, Oct 27, 2016 at 8:25 AM, Tom Gundersen <teg@...m.no> wrote:
>
> Could you elaborate on why you think syscalls would be more
> appropriate than ioctls?

ioctl's tend to be a horrid mess both for things like compat.but also
for things like system call tracing and filtering (ie BPF).

The compat mess is fixable by making sure you always use 64-bit fields
rather than pointers everywhere and everything is aligned.  The
tracing and filtering one not so much.

                    Linus

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ