Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp989855ybz; Thu, 16 Apr 2020 00:14:58 -0700 (PDT) X-Google-Smtp-Source: APiQypLM+j5kSdwKp1RjmAYgKNL83eTA4TPzYBc8fqCHLjGNbXi2h1WtC6xCYqgkZkQkBD1/3ro4 X-Received: by 2002:a50:bb2a:: with SMTP id y39mr15767219ede.292.1587021298170; Thu, 16 Apr 2020 00:14:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587021298; cv=none; d=google.com; s=arc-20160816; b=ARZnnXKf2YwSJwtwdY0DbdiyAWP0A3iUrFX1/IILGn5cpQyAaFIO8gaIhcAf1DP8Jf txpOzzpzVQxxkF2QXXggC5LvKQ89RHJkpZlFbqDpZp44EeQn/srY951uDKJ3hmdmJand Q22H8eos+TI5oWiHwzzjjFjf7P+Af3Vv+NGZwo78HogT+p7cFTspVxdrrr2uv9pHZg5x 0CEzABEK0Y8hn4d5i8elwK4qKb3kMaWkyyjAEZ7zyzkGFJdmePpWlZ9bF7nGTuM9Epj1 nSolO7VXNxZfBdIwTwNAb6Z7QIGxjE0xAwE53O+k3ngEq8GdXEmUM4rMGjfWi9lcO25x peTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:subject:from:dkim-signature; bh=5dN5oxpwy9nSWFYmHgWall5d4CLbrW0LWzFjFt92VW8=; b=mDoDODqZ9p72paUGnLExvUCxl1w3wHoXLHEK4FcCMYBDqsiGfyaJAqR83WBEJh8F/q txSurTxmQ2cJztniy5Z0V+f0OFdXDIj4JWWVf9hjBsiIOvwZZMoHp5wEiyKRsd5vyYeJ 94INH4EhAtzgQUmxPExq+BbyD3bJm8e9lPIn5FaATY4X82vsF5o9CWgLvQjKYcNnhTlS zwv/gLgzhQMu9LZyIhzjGGNf2Qdixqnp8MukoS7ZjJr+njs5oE4XauFzwZStlUWGabM6 0nK42d18YFMLEopqSpu5GDvfpu7dahAkzgAKBo2EzEFyAM8TWOUh3u77GqJtRV7aZ4na sYlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=m+x5Ir3O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o15si8623791eje.13.2020.04.16.00.14.34; Thu, 16 Apr 2020 00:14:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=m+x5Ir3O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438556AbgDPHKw (ORCPT + 99 others); Thu, 16 Apr 2020 03:10:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2437186AbgDPHKq (ORCPT ); Thu, 16 Apr 2020 03:10:46 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5222EC061A0C; Thu, 16 Apr 2020 00:10:46 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id h26so3521957wrb.7; Thu, 16 Apr 2020 00:10:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=5dN5oxpwy9nSWFYmHgWall5d4CLbrW0LWzFjFt92VW8=; b=m+x5Ir3OUCeDFFwt2ZRIJgCEn0yllxTi4y1s94otYe4s2zRw84Sk0gSkCHj+l6uq/A 56sx0Aqh8tHFsRbQt7K3kw6UyI5LrED+itKFV8OBTXNrOubsRNzZL2rQFfQpdh+vdH3b N//I51NW5XUl34hSlq5WHBXc3nocNVnzta5Fg8jkfxloJEZf9puUVGrnHnK9IeqzPliF inWlFnQ36/gkrwpxzTpCS686THujWbvQk2BJ8bG5E0vb/4xiNOIDt41D+eBzdrwXP30o NnmgDfUTJ5XDq/MxzB9loSM+JYKC8mwvm6IFzaWQxRJfO2a6JrT/azl3Y6QXW9UGobmh sj9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=5dN5oxpwy9nSWFYmHgWall5d4CLbrW0LWzFjFt92VW8=; b=IaEnMfzmQd9wfLlHC7975rfNMYCVwYDGVnWVON17yAGAtiXXyAdONG85FXitIOJG2w XnY1IG28FxlD8aJK1a4rhLQkvUnEceh0cDhfB3Tn++XNbmriSKjEtgoRB18Ffp21A5cJ WgoCrv4V4YA6Fbu00U9qF7fSgkrAtoUkD79IOv92G7acW3/NghGjKHel+GmDqsWC2af9 YmfitXNb8xlS/VXnBU1uz2P6L+FtUIzI4Av7p/EBk6J1xF0By+SGgazRbM+C+4a4AfhV MEdsYFt0u0MpzpVI2Agtcx+Ms3E6mvVmXP3TSkJiW/7/mYtXv4MvIHHoFPXSFV92hIiq l5kA== X-Gm-Message-State: AGi0PubP5OzJ9taDidtVH3hJGUGBXrDE1Fl3ZjoHe6sWV/7LB/0ep8UL YlBOCMT8QHrJtLiTZka1TjY5osKf X-Received: by 2002:adf:9cc8:: with SMTP id h8mr32095572wre.167.1587021044877; Thu, 16 Apr 2020 00:10:44 -0700 (PDT) Received: from ?IPv6:2001:a61:2482:101:3351:6160:8173:cc31? ([2001:a61:2482:101:3351:6160:8173:cc31]) by smtp.gmail.com with ESMTPSA id s14sm2412615wmh.18.2020.04.16.00.10.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Apr 2020 00:10:44 -0700 (PDT) From: "Michael Kerrisk (man-pages)" Subject: Removal of the ioctl_list(2) manual page (was: Re: ioctl_list.2: complete overhaul needed) To: Heinrich Schuchardt , Eugene Syromyatnikov Cc: mtk.manpages@gmail.com, linux-man , Mike Christie , lkml , Linux API References: <545F8D2E.5030308@gmx.de> <5e9b4408-410f-6fb4-9c8b-0bd68e64577d@gmx.de> Message-ID: Date: Thu, 16 Apr 2020 09:10:43 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <5e9b4408-410f-6fb4-9c8b-0bd68e64577d@gmx.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [CC widened] Hello Heinrich, Eugene, On 4/14/20 6:21 PM, Heinrich Schuchardt wrote: > On 2020-04-14 17:37, Eugene Syromyatnikov wrote: >> On Tue, Apr 14, 2020 at 5:18 PM Michael Kerrisk (man-pages) >> wrote: >>> >>> Hello Heinrich, >>> >>> On Sun, 9 Nov 2014 at 16:52, Heinrich Schuchardt wrote: [...] >>> As you suggest, I've removed the hex values from the lists. >> >> Those can be replaced with the _IO* macro definitions. Meanwhile, the >> list is somewhat far from complete; strace has some approximation that >> can be uses a basis of a more complete and reliable list >> (linux/{32,64}/ioctls_inc*.h and linux/*/ioctls_arch*.h), but I'm not >> sure if it is worth adding to the man page (moreover, entries are >> constantly being added and changed there; yes, breaking the kernel ABI >> in the process sometimes). > > Man-pages like netdevices.7 or ioctl_fat.2 are what is needed to help a > user who does not want to read through the kernel code. > > If ioctl_list.2 has not been reasonably maintained since Linux 1.3.27 > and hence is not a reliable source of information, shouldn't it be dropped? As already noted, I'm inclined to agree that yes, this page probably should be removed. What really is needed is pages such as ioctl_fat(2), ioctl_userfaultfd(2), and ioctl_ns(2) that give useful details to user-space programmers. Just FYI, I've queued a change that removes the ioctl_list(2) page in a private branch. By the time of the next release, I'll merge that branch, unless someone has (good) objections. There is one piece of ioctl_list(2) that is perhaps worth preserving: the "ioctl structure" subsection. As part of these changes, I've migrated that text to ioctl(2). Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/