From owner-freebsd-stable@freebsd.org Mon May 2 19:50:44 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B0764B2AD21 for ; Mon, 2 May 2016 19:50:44 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 79B0B151C for ; Mon, 2 May 2016 19:50:44 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from pi by home.opsec.eu with local (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1axJrj-0001ox-T4; Mon, 02 May 2016 21:50:47 +0200 Date: Mon, 2 May 2016 21:50:47 +0200 From: Kurt Jaeger To: Holger Kipp , "freebsd-stable@freebsd.org" Subject: Re: WARNING ioctl sign-extension ioctl FFFFFFFF8004667e / CommVault Message-ID: <20160502195047.GE2282@home.opsec.eu> References: <810DA7C4-041E-44BA-B471-4207EB223A6A@alogis.com> <20160502192330.GD2282@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160502192330.GD2282@home.opsec.eu> X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2016 19:50:44 -0000 Hi! > It seems this is a general problem, but mostly on the application > side. See for example: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=147938 > > which shows that the application code uses the wrong type > for an ioctl argument. See /usr/src/sys/kern/sys_generic.c:sys_ioctl() where the wrong parameter is detected and the error sent to the kernel log. -- pi@opsec.eu +49 171 3101372 4 years to go !