From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76736 invoked by alias); 12 Jan 2018 16:40:43 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 76711 invoked by uid 89); 12 Jan 2018 16:40:43 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy= X-HELO: mx0a-001b2d01.pphosted.com From: "Tulio Magno Quites Machado Filho" To: Florian Weimer , libc-alpha@sourceware.org Cc: Adhemerval Zanella , aurelien@aurel32.net Cc: Subject: Re: [PATCHv2] powerpc: Fix syscalls during early process initialization [BZ #22685] In-Reply-To: <5edfa606-9c49-8bde-46bf-35dc43fa2bc5@redhat.com> References: <2bc5bd27-1901-495e-6026-6440f2434f01@linaro.org> <20180112160704.20107-1-tuliom@linux.vnet.ibm.com> <5edfa606-9c49-8bde-46bf-35dc43fa2bc5@redhat.com> User-Agent: Notmuch/0.25 (http://notmuchmail.org) Emacs/25.3.1 (x86_64-redhat-linux-gnu) Date: Fri, 12 Jan 2018 16:40:00 -0000 MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-GCONF: 00 x-cbid: 18011216-0008-0000-0000-000002BEEC41 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008365; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000245; SDB=6.00974004; UDB=6.00493571; IPR=6.00753949; BA=6.00005775; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00019003; XFM=3.00000015; UTC=2018-01-12 16:40:39 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18011216-0009-0000-0000-000037E3EAA4 Message-Id: <876087uj25.fsf@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-01-12_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1801120228 X-SW-Source: 2018-01/txt/msg00459.txt.bz2 Florian Weimer writes: > On 01/12/2018 05:07 PM, Tulio Magno Quites Machado Filho wrote: >> +/* __access_noerrno is used during process initialization in elf/dl-tunables.c >> + before the TCB is initialized, prohibiting the usage of >> + ABORT_TRANSACTION. */ >> +#undef ABORT_TRANSACTION >> +#define ABORT_TRANSACTION >> + >> +#include "sysdeps/unix/sysv/linux/not-errno.h" > > This #define isn't properly scoped, so I really don't like this approach > for a header file. Do you think that checking for TUNABLES_INTERNAL would be enough? -- Tulio Magno