Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964881AbcJ0Qhs (ORCPT ); Thu, 27 Oct 2016 12:37:48 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:33242 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933101AbcJ0Qho (ORCPT ); Thu, 27 Oct 2016 12:37:44 -0400 MIME-Version: 1.0 In-Reply-To: References: <20161026191810.12275-1-dh.herrmann@gmail.com> <2469565.N6oiQLH2B8@wuerfel> From: Linus Torvalds Date: Thu, 27 Oct 2016 09:37:42 -0700 X-Google-Sender-Auth: aYOg2iSGNVZ6bn1ejrnkKMDXm1k Message-ID: Subject: Re: [RFC v1 02/14] bus1: provide stub cdev /dev/bus1 To: Tom Gundersen Cc: Arnd Bergmann , Andy Lutomirski , David Herrmann , Hannes Reinecke , Jiri Kosina , "linux-kernel@vger.kernel.org" , Andrew Morton , Josh Triplett , Greg KH , Steven Rostedt Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 492 Lines: 13 On Thu, Oct 27, 2016 at 8:25 AM, Tom Gundersen 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