Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6746472ybf; Fri, 6 Mar 2020 03:49:21 -0800 (PST) X-Google-Smtp-Source: ADFU+vubabwBpPbp6gZ+i/PW6gMS1jRQ+IO+F93Ib16pMofgJUSb8vPfZvt0PqbnOUiqUYgA53Kw X-Received: by 2002:aca:314f:: with SMTP id x76mr2292011oix.117.1583495361798; Fri, 06 Mar 2020 03:49:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583495361; cv=none; d=google.com; s=arc-20160816; b=a6ZUabEkCKGIh+YPyuB9tF/7IcyBIqley4G/+mH3mJx+mni5keaDMxPvGS9zE06/IF k7O8SDnn94cFrducCDFVisLXVHNqVaeBgSoHZ16BcrjWXBlW2Q58ZcBFAjvuSJoyBBlS 6UxEBUBpjgdclLf8n0aoDoD7uel/ei8vQXpmFAkvuJgluZQx6M9b8sLql9panMyqpwpN O+yvDV196+A1srXL7t6GRdvAqimL2JRSELknJRIb7hw1yWJVmrYbL2Guv/5YT/pyL5KI wcfL2crchA6BOAhjqW+kgd5ly8RmSovfO5/3Nmo5lzLW3rO9G6USaWkewtIDhjYzkate JvXg== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=gN1aZBfCKqA0nFPvrq091wIAZzh2bRBkQCsBkoDmt5o=; b=p0K5eH912vmwU4ijSgqmys3B/CFIxpWyO1CMiCGdP5hTYmkazrt5rKsOUfj2R8MWc5 FHMyvpltRc+6syoKTjIGpiqI+5dbdUmbAuh+UfXT8K3B+9lmJJhBMwAXG7iOsyiEwFjB A2u+kW3dnKu8NjOvyvgRnxWZ8jd5mrPB9ilgB+Ifxi56ogi3rnxGKWqyUxJCM9c5dXr4 Lw7rbVhVropMHyKhu0OU4vp0WAEfua6Kpzi17EfvieTCeujmQV6LYG9hmiKZxpmG8aZm DGwBythFc9oXXv/xaVMKPEowD1H1x88j1J4dXwYFwXYKqB6wpRidAu9g8k7GSOe9kLh+ kWOw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 71si1313524otm.111.2020.03.06.03.49.09; Fri, 06 Mar 2020 03:49:21 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726397AbgCFLss convert rfc822-to-8bit (ORCPT + 99 others); Fri, 6 Mar 2020 06:48:48 -0500 Received: from mail-qk1-f193.google.com ([209.85.222.193]:35648 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726185AbgCFLss (ORCPT ); Fri, 6 Mar 2020 06:48:48 -0500 Received: by mail-qk1-f193.google.com with SMTP id 145so1989896qkl.2; Fri, 06 Mar 2020 03:48:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=OssLuVfSGsrXqcB5wnFK1NjOnTzA8E64E6ohIGHT2Ks=; b=NG8097Wy8nVdiA9olEhHoh4B3VYmOA66jek11TPmim0Z+KoPmRgtUAS9ulV387ykUJ rRtdU/SQLjDpg5+vz4iCSgMjnH9jlU4h2+kKUJjzIgHhBg8igLzrxPlq/+AnNKJwcC5P GoTPY+4namw4XnoAXqib8QQYGGu2thVMlPuIPEHERJFZUO1Tr9n4dg+FytunzbuM2Z1j j5gZR16jtwPiVBBU/uUxJ7MnIoSG83WEzDXFmuxx8rpGHkgUnwAD5ojwfuuRqKfr51ey J+qmgKX77xfZjYSm+UxNueco95gtV1fboYY0Ve+LyhTC7LKCUFJBmlWI5/vYzNYiAwv+ 12Sw== X-Gm-Message-State: ANhLgQ3yC5s6MqRhWeTgqo5fTHG5qk3zHqzqRkZIPH7w+IMcoJPeuJZj acBYmhJI5EICZFFLMP5v/mpDwNbK4/rHCbKiihw= X-Received: by 2002:a37:73c7:: with SMTP id o190mr2545830qkc.490.1583495326750; Fri, 06 Mar 2020 03:48:46 -0800 (PST) MIME-Version: 1.0 References: <20200306080905.173466-1-syq@debian.org> <87r1y53npd.fsf@mid.deneb.enyo.de> <8441f497-61eb-5c14-bf1e-c90a464105a7@vivier.eu> <87mu8t3mlw.fsf@mid.deneb.enyo.de> <40da389d-4e74-2644-2e7c-04d988fcc26f@vivier.eu> <87v9nhzp6w.fsf@mid.deneb.enyo.de> In-Reply-To: <87v9nhzp6w.fsf@mid.deneb.enyo.de> From: YunQiang Su Date: Fri, 6 Mar 2020 19:48:35 +0800 Message-ID: Subject: Re: [PATCH] binfmt_misc: pass binfmt_misc P flag to the interpreter To: Florian Weimer Cc: Laurent Vivier , torvalds@linux-foundation.org, Greg KH , akpm@linux-foundation.org, Al Viro , James Bottomley , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org, libc-alpha@sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Florian Weimer 于2020年3月6日周五 下午7:42写道: > > * YunQiang Su: > > > AT_* only has 32 slot and now. I was afraid that maybe we shouldn't take one. > > /* AT_* values 18 through 22 are reserved */ > > 27,28,29,30 are not used now. > > Which should we use? > > Where does this limit of 32 tags come from? I don't see it from a > userspace perspective. Sorry it is my mistake: In linux/auxvec.h, I saw #define AT_RANDOM 25 /* address of 16 random bytes */ #define AT_HWCAP2 26 /* extension of AT_HWCAP */ #define AT_EXECFN 31 /* filename of program */ The number jump to 31 from 26. It is my fault: in x86_64-linux-gnu/bits/auxv.h, the max number is 47 now.