Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp483605pxk; Fri, 11 Sep 2020 12:05:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCPQz3hRkcAcEDbZEGmMq4LiSXyq9fBt/r6WpjB74PYrHd/AqW1FWmlusQlqyZabhTm6iH X-Received: by 2002:a05:6402:1212:: with SMTP id c18mr3812580edw.344.1599851129732; Fri, 11 Sep 2020 12:05:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599851129; cv=none; d=google.com; s=arc-20160816; b=djACafglCw/LWB9qWQ1T2Gc9G7CIjRt2bi+DqWAgetyUyOM/w+byfwg1KLF3JzhyrI C1VBhA6EZIq6Etrv+MzAg6HVHLADHFdMZYrNkDvDxUOnAlpcI+e8x+mQLcPipXHZTVp9 MipIlZDIbUyf0IRIs1JpeqbXiQcE3kmwgpZK+W95IO0jeOJM8mpmkVX3of7GruoOH4Ba ir40i+SffykgwywbeI51MejqMq/FIDR+m3+6d0za9+WDWgWkrTR1qsX7IwEohDbk16w9 4uD6o9I2id2GWpCdjHnMLpqcAe+5lAMJyoY7KYHW9seqjkhUvtVV3VtFRzH6HP1uihDa NZag== 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:mime-version :message-id:date:subject:cc:to:from; bh=ZGxXz2IVkznwU6oJRLAGNAwG23GG2FYB61TPZTS9R3E=; b=puv2/7ZsZ23lPymKGMn3cSWAgHmL8t2nrT6GeoQ6xDEvyfveRUiJrSjle13DW+OGzy qRa5YN0gei+E6RCd9VuS1Vr12Zh+QBiiu/fGVw6l2htfVyirJRg0m88OaKv9ISfgBJWc XpMpWS3FT8zx/Xg5Y+H9rqEHJ5uS0C/Uj56qfQQtVAqdFb7Xn8MB9HxnKRxZppxLnxUG gT/XxAHe+3R6jw7Q26kpe9LKHusmBNsJrKVp8x2GXyEpqCPM83ziVKAcZIv4Yf339V9K qYfupnQRvXzWn5bHzZ9weE4iAiCBF5Bkw6OEUM6dcgq8NraWOkIQ9tdFXv0u9WlWKT/X 8lTQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j24si1865949edt.105.2020.09.11.12.05.05; Fri, 11 Sep 2020 12:05:29 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725786AbgIKTCO (ORCPT + 99 others); Fri, 11 Sep 2020 15:02:14 -0400 Received: from 5.mo177.mail-out.ovh.net ([46.105.39.154]:38219 "EHLO 5.mo177.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725774AbgIKTCN (ORCPT ); Fri, 11 Sep 2020 15:02:13 -0400 Received: from player772.ha.ovh.net (unknown [10.108.54.36]) by mo177.mail-out.ovh.net (Postfix) with ESMTP id CFDAB140855 for ; Fri, 11 Sep 2020 21:02:10 +0200 (CEST) Received: from sk2.org (82-65-25-201.subs.proxad.net [82.65.25.201]) (Authenticated sender: steve@sk2.org) by player772.ha.ovh.net (Postfix) with ESMTPSA id 0C2161620AD18; Fri, 11 Sep 2020 19:02:06 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-105G0064e52adae-e863-4d66-a4f7-f870f57de118, B3063C92EDE29B5A09E12E435EF56C89C4C75BBC) smtp.auth=steve@sk2.org From: Stephen Kitt To: Jonathan Corbet , linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Stephen Kitt Subject: [PATCH] docs: rewrite admin-guide/sysctl/abi.rst Date: Fri, 11 Sep 2020 21:01:52 +0200 Message-Id: <20200911190152.29730-1-steve@sk2.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 14533678950405000581 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduiedrudehledgudefhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkofgggfestdekredtredttdenucfhrhhomhepufhtvghphhgvnhcumfhithhtuceoshhtvghvvgesshhkvddrohhrgheqnecuggftrfgrthhtvghrnhepteegudfgleekieekteeggeetveefueefteeugfduieeitdfhhedtfeefkedvfeefnecukfhppedtrddtrddtrddtpdekvddrieehrddvhedrvddtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdqohhuthdphhgvlhhopehplhgrhigvrhejjedvrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepshhtvghvvgesshhkvddrohhrghdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrgh Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Following the structure used in sysctl/kernel.rst, this updates abi.rst to use ReStructured Text more fully and updates the entries to match current kernels: * the list of files is now the table of contents; * links are used to point to other documentation and other sections; * all the existing entries are no longer present, so this removes them; * document vsyscall32. Mentions of the kernel version are dropped. Since the document is entirely rewritten, I've replaced the copyright statement. Signed-off-by: Stephen Kitt --- Documentation/admin-guide/sysctl/abi.rst | 71 ++++++------------------ 1 file changed, 18 insertions(+), 53 deletions(-) diff --git a/Documentation/admin-guide/sysctl/abi.rst b/Documentation/admin-guide/sysctl/abi.rst index 599bcde7f0b7..d88b48db8bf9 100644 --- a/Documentation/admin-guide/sysctl/abi.rst +++ b/Documentation/admin-guide/sysctl/abi.rst @@ -2,66 +2,31 @@ Documentation for /proc/sys/abi/ ================================ -kernel version 2.6.0.test2 +.. See scripts/check-sysctl-docs to keep this up to date: +.. scripts/check-sysctl-docs -vtable="abi" \ +.. Documentation/admin-guide/sysctl/abi.rst \ +.. $(git grep -l register_sysctl_) -Copyright (c) 2003, Fabian Frederick +Copyright (c) 2020, Stephen Kitt -For general info: index.rst. +For general info, see :doc:`index`. ------------------------------------------------------------------------------ -This path is binary emulation relevant aka personality types aka abi. -When a process is executed, it's linked to an exec_domain whose -personality is defined using values available from /proc/sys/abi. -You can find further details about abi in include/linux/personality.h. +The files in ``/proc/sys/abi`` can be used to see and modify +ABI-related settings. -Here are the files featuring in 2.6 kernel: +Currently, these files might (depending on your configuration) +show up in ``/proc/sys/kernel``: -- defhandler_coff -- defhandler_elf -- defhandler_lcall7 -- defhandler_libcso -- fake_utsname -- trace +.. contents:: :local: -defhandler_coff ---------------- +vsyscall32 (x86) +================ -defined value: - PER_SCOSVR3:: +Determines whether the kernels maps a vDSO page into 32-bit processes; +can be set to 1 to enable, or 0 to disable. Defaults to enabled if +``CONFIG_COMPAT_VDSO`` is set, disabled otherwide. - 0x0003 | STICKY_TIMEOUTS | WHOLE_SECONDS | SHORT_INODE - -defhandler_elf --------------- - -defined value: - PER_LINUX:: - - 0 - -defhandler_lcall7 ------------------ - -defined value : - PER_SVR4:: - - 0x0001 | STICKY_TIMEOUTS | MMAP_PAGE_ZERO, - -defhandler_libsco ------------------ - -defined value: - PER_SVR4:: - - 0x0001 | STICKY_TIMEOUTS | MMAP_PAGE_ZERO, - -fake_utsname ------------- - -Unused - -trace ------ - -Unused +This controls the same setting as the ``vdso32`` kernel boot +parameter. base-commit: 5ff4aa70bf347e13ec87697b1c732ce86060c47d -- 2.20.1