Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261455AbUK1MxA (ORCPT ); Sun, 28 Nov 2004 07:53:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261456AbUK1Mw7 (ORCPT ); Sun, 28 Nov 2004 07:52:59 -0500 Received: from rev.193.226.233.139.euroweb.hu ([193.226.233.139]:42722 "EHLO dorka.pomaz.szeredi.hu") by vger.kernel.org with ESMTP id S261455AbUK1Mw6 (ORCPT ); Sun, 28 Nov 2004 07:52:58 -0500 To: viro@parcelfarce.linux.theplanet.co.uk CC: ecki-news2004-05@lina.inka.de, linux-kernel@vger.kernel.org In-reply-to: <20041128124847.GA26051@parcelfarce.linux.theplanet.co.uk> (message from Al Viro on Sun, 28 Nov 2004 12:48:47 +0000) Subject: Re: Problem with ioctl command TCGETS References: <20041128121800.GZ26051@parcelfarce.linux.theplanet.co.uk> <20041128124847.GA26051@parcelfarce.linux.theplanet.co.uk> Message-Id: From: Miklos Szeredi Date: Sun, 28 Nov 2004 13:52:41 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 785 Lines: 20 > > > Think read(2)/write(2). We already have several barfbags too many, > > > and that includes both ioctl() and setsockopt(). We are stuck with > > > them for compatibility reasons, but why the hell would we need yet > > > another one? > > > > You can't replace either ioctl() or setsockopt() with read/write can > > you? Both of them set out-of-band information on file descriptors. > > Out-of-band == should be on a separate channel... Tell me how? E.g. how would you set/get sound stream parameters if not with ioctl()? Miklos - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/