Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267362AbUJDNjD (ORCPT ); Mon, 4 Oct 2004 09:39:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267449AbUJDNjD (ORCPT ); Mon, 4 Oct 2004 09:39:03 -0400 Received: from ns.virtualhost.dk ([195.184.98.160]:37032 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id S267362AbUJDNjB (ORCPT ); Mon, 4 Oct 2004 09:39:01 -0400 Date: Mon, 4 Oct 2004 15:36:10 +0200 From: Jens Axboe To: Luke Kenneth Casson Leighton , linux-kernel@vger.kernel.org Subject: Re: [bug] 2.6.8: CDROM_SEND_PACKET ioctls failing as non-root on ide scsi drives Message-ID: <20041004133610.GT2287@suse.de> References: <20041004130941.GE19341@lkcl.net> <6u4qlaehlw.fsf@zork.zork.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6u4qlaehlw.fsf@zork.zork.net> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 677 Lines: 18 On Mon, Oct 04 2004, Sean Neakums wrote: > CDROM_SEND_PACKET calls down to sg_io, which calls verify_command, > which will not permit anyone but root to use any unrecognised > commands. GET CONFIGURATION does not seems to be one of those > recognised. This check for unrecognised commands is a fairly recent > addition, IIRC. 2.6.8 didn't have any command granularity, you must be root to issue any comand there. -- Jens Axboe - 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/