Received: by 10.223.164.221 with SMTP id h29csp2487951wrb; Mon, 30 Oct 2017 05:01:22 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TJlIOWo0d3KD8+8gf99+ApZhYPGxl8vBOlC+1HVyeSWt3K685rScZXYBMDpGyfGVaWJMud X-Received: by 10.84.160.200 with SMTP id v8mr6964748plg.55.1509364882866; Mon, 30 Oct 2017 05:01:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509364882; cv=none; d=google.com; s=arc-20160816; b=o0lImNV7MwiLnymiIwbfbkDYHV9AAm7kPA6ZMyJ7hLnRs6C3jqFhc/sFA7NGPp2gb2 UeOu/vq8exBlHurb7qr1FpWlw+TDQ3IMSSeHi66YYs4jIu2bzt5gmYkLf/49NxI+7wmh 4AsB9XAC6bmfyXYvjBQ/bk+NWa19Ku98UnnvIqYL0wFhj6OC2kqCBqIjRDTrWuL5z5NY a9g+ayPbTb+muDGlUO+n6VbuiE169aYAs7Zt5yo2/bzq+cqUN8+hqyWaB/Bf3P+4SSu4 fnIafHSQjmoweSN9wojUDQOEO2mSL6iP75e8Xkl0+l1Cmc5ea5qAUaY6FTMaIVvrayei CIJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :dkim-signature:arc-authentication-results; bh=0RS00c2u/lTTFWBkSHrXH2IA+NBcV1Zy2Ast30pon5U=; b=sPS7sJOixc8zcj993waAT8jViJRXsHXwmJ2Edce+6KvzUq6hulCxazt5ktSVf1ga2Z Cs244ILQsRBalvAiYuQvme/JL34KKMZP7hsgmEeK2cFQZ0Wr6YNn52VqrtELWsj4k2Hk 3xUEKrEqfNgQ/bUxqCogmscfzKzGTbF2T7x359ba4+JJww72ZgbBp0zwlkuwdfnLBVA8 CDTNuHVbnq53ScJO2mJvocNCK4jc/WoNFPumrs7feLGhuk68o82OnF7jrfxLjkB9Y/7F YXvbcUp9Sulb88fth6NMxc2XD7RBbPfXHNh3BsScldKgtZ0L16MECyzXXPNIEkYQnoHp VkPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@list.ru header.s=mail header.b=h2tchRO2; dkim=pass header.i=@list.ru header.s=mail header.b=h2tchRO2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=list.ru Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k6si6447182pgt.315.2017.10.30.05.01.09; Mon, 30 Oct 2017 05:01:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@list.ru header.s=mail header.b=h2tchRO2; dkim=pass header.i=@list.ru header.s=mail header.b=h2tchRO2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=list.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753243AbdJ3Ln1 (ORCPT + 99 others); Mon, 30 Oct 2017 07:43:27 -0400 Received: from fallback12.m.smailru.net ([94.100.179.29]:49144 "EHLO fallback.mail.ru" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752249AbdJ3LnZ (ORCPT ); Mon, 30 Oct 2017 07:43:25 -0400 X-Greylist: delayed 2694 seconds by postgrey-1.27 at vger.kernel.org; Mon, 30 Oct 2017 07:43:25 EDT DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=list.ru; s=mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject; bh=0RS00c2u/lTTFWBkSHrXH2IA+NBcV1Zy2Ast30pon5U=; b=h2tchRO2b940pJg9F2d52+guX1xreA9SwzeoUIHbkcEX7ANhTJbs7VdehlCjn9/KAid62IQVKcoT+gyHQS8vxBOB+Cx4FuylQs1kK8RVd+l7TPxvaC2MPKr3lI9kDLnYdTX63cA31A20ZRDu92orPi1p3Y4L2KwkEQtDCzMshhs=; Received: from [10.161.64.53] (port=52808 helo=smtp45.i.mail.ru) by fallback12.m.smailru.net with esmtp (envelope-from ) id 1e97lz-0004JC-W4; Mon, 30 Oct 2017 13:58:28 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=list.ru; s=mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject; bh=0RS00c2u/lTTFWBkSHrXH2IA+NBcV1Zy2Ast30pon5U=; b=h2tchRO2b940pJg9F2d52+guX1xreA9SwzeoUIHbkcEX7ANhTJbs7VdehlCjn9/KAid62IQVKcoT+gyHQS8vxBOB+Cx4FuylQs1kK8RVd+l7TPxvaC2MPKr3lI9kDLnYdTX63cA31A20ZRDu92orPi1p3Y4L2KwkEQtDCzMshhs=; Received: by smtp45.i.mail.ru with esmtpa (envelope-from ) id 1e97lq-0002E0-FZ; Mon, 30 Oct 2017 13:58:18 +0300 Subject: Re: Documenting sigaltstack SS_AUTODISRM To: "Michael Kerrisk (man-pages)" , wharms@bfs.de Cc: linux-man , Andy Lutomirski , Oleg Nesterov , lkml References: <08467ae1-7187-3b2a-9a78-8af0c10bf816@list.ru> <3907bc2a-0645-8d93-6ee5-3f99874e7022@gmail.com> <32d95303-5839-9279-a1d3-a06f34e3484e@list.ru> <50de8f3b-8a1e-df50-b5dd-d1b74cb77fad@list.ru> <026308b5-4e92-4439-1eb2-82b67584d548@gmail.com> <3a4f9f3e-fc33-cf98-2322-27087664813f@list.ru> <59F6FD39.40502@bfs.de> From: Stas Sergeev Message-ID: Date: Mon, 30 Oct 2017 13:58:11 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-MW X-7FA49CB5: 0D63561A33F958A506AAED145C5342382E64DB15C9B38C1D05A48EB79A94CF5F725E5C173C3A84C309A7649CC036878F1DC778750C4E5D9B1D6A3D1828C120DEC4224003CC836476C0CAF46E325F83A50BF2EBBBDD9D6B0F41B67924A99884D73B503F486389A921A5CC5B56E945C8DA X-Mailru-Sender: 262249EAF8EF1149DD59B264A707D22416BE4A25B51FEA668B45D187AA2645607A7473263BB6639E1653177920737CA72999BEE114A20FF4278B2D54D4112F244F0A872F021F905956A8FB0C6EBA5FCCEAB4BC95F72C04283CDA0F3B3F5B9367 X-Mras: OK X-7FA49CB5: 0D63561A33F958A5996845F3A8708B1E57FFC193313EDAA031EA771C1C80E9DC462275124DF8B9C938130EB80001CEACE5BFE6E7EFDEDCD789D4C264860C145E X-Mailru-Sender: A5480F10D64C900521F65ACE11A97E3DB2606819D843B418991A091707C5737CA82939391C8226F2BD9A213A94BF4775DDBB79867CC2C1EC5DD9ADBE8243F6ED0252A3EF2865ED2F733E9BFD465368085FEEDEB644C299C0ED14614B50AE0675 X-Mras: OK Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 30.10.2017 13:50, Michael Kerrisk (man-pages) пишет: > I see what you mean. The point is back then that SS_ONSTACK was > the only flag that could (on Linux) be specified in ss.ss_flags, > so that "SS_ONSTACK | SOMETHING_FLAG" was a nonexistent case. > These days, it's possible to specify the new SS_AUTODISARM > flag in ss.ss_flags, which I think is why you are doubtful > about the new page text. How about this, as a tightened-up > version: > > BUGS > In Linux 2.2 and earlier, the only flag that could be specified in > ss.sa_flags was SS_DISABLE. In the lead up to the release of the > Linux 2.4 kernel, a change was made to allow sigaltstack() to > allow ss.ss_flags==SS_ONSTACK with the same meaning as > ss.ss_flags==0 (i.e., the inclusion of SS_ONSTACK in ss.ss_flags > is a no-op). On other implementations, and according to POSIX.1, > SS_ONSTACK appears only as a reported flag in old_ss.ss_flags. On > Linux, there is no need ever to specify SS_ONSTACK in ss.ss_flags, > and indeed doing so should be avoided on portability grounds: var‐ > ious other systems give an error if SS_ONSTACK is specified in > ss.ss_flags. > And after all these amendments it seems to no longer belong to BUGS section but to NOTES. From 1582682202004282315@xxx Mon Oct 30 11:36:07 +0000 2017 X-GM-THRID: 1582678540934340950 X-Gmail-Labels: Inbox,Category Forums