From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267984AbUHEWXG (ORCPT ); Thu, 5 Aug 2004 18:23:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267906AbUHEWKw (ORCPT ); Thu, 5 Aug 2004 18:10:52 -0400 Received: from the-village.bc.nu ([81.2.110.252]:22975 "EHLO localhost.localdomain") by vger.kernel.org with ESMTP id S267897AbUHEWId (ORCPT ); Thu, 5 Aug 2004 18:08:33 -0400 Subject: Re: ide-cd problems From: Alan Cox To: Jens Axboe Cc: Zinx Verituse , Linux Kernel Mailing List In-Reply-To: <20040805054056.GC10376@suse.de> References: <20040730193651.GA25616@bliss> <20040731153609.GG23697@suse.de> <20040731182741.GA21845@bliss> <20040731200036.GM23697@suse.de> <20040731210257.GA22560@bliss> <20040805054056.GC10376@suse.de> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1091739966.8418.38.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Thu, 05 Aug 2004 22:06:07 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Iau, 2004-08-05 at 06:40, Jens Axboe wrote: > Ok, that is definitely more acceptable. But then it should be done to > CDROM_SEND_PACKET as well, and we risk breaking programs doing so (ie > cdrecord run by user currently). Definitely. Irrespective of any questions like filtering commands having /dev device access allow you to compromise the entire system is not a good model. CAP_SYS_RAWIO is the capability for "can do anything" so seems appropriate here.