From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by sourceware.org (Postfix) with ESMTP id 99E623858D35 for ; Tue, 14 Jul 2020 08:52:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 99E623858D35 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-185-M28eXs1sPH-CubdYlIk8XA-1; Tue, 14 Jul 2020 04:52:03 -0400 X-MC-Unique: M28eXs1sPH-CubdYlIk8XA-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 49DE91086; Tue, 14 Jul 2020 08:52:01 +0000 (UTC) Received: from oldenburg2.str.redhat.com (ovpn-112-246.ams2.redhat.com [10.36.112.246]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1D01C2DE6A; Tue, 14 Jul 2020 08:51:55 +0000 (UTC) From: Florian Weimer To: Mathieu Desnoyers Cc: Carlos O'Donell , Joseph Myers , Szabolcs Nagy , libc-alpha@sourceware.org Subject: Re: [RFC PATCH glibc] Linux: Use fixed rseq_len value for rseq registration References: <20200713193434.30440-1-mathieu.desnoyers@efficios.com> Date: Tue, 14 Jul 2020 10:51:54 +0200 In-Reply-To: <20200713193434.30440-1-mathieu.desnoyers@efficios.com> (Mathieu Desnoyers's message of "Mon, 13 Jul 2020 15:34:34 -0400") Message-ID: <87zh82bhsl.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2020 08:52:08 -0000 * Mathieu Desnoyers: > + /* The rseq_len parameter does not allow extending struct rseq. Fix its > + value to 32 as expected by the Linux kernel. */ > + ret = INTERNAL_SYSCALL_CALL (rseq, &__rseq_abi, 32, 0, RSEQ_SIG); If the layout of struct rseq can change in the kernel headers, than far more significant changes are needed. glibc cannot change its ABI depending on the version of the kernel headers it is compiled against. Thanks, Florian