From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23203 invoked by alias); 16 Sep 2002 17:14:46 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 23183 invoked from network); 16 Sep 2002 17:14:45 -0000 Received: from unknown (HELO myware.akkadia.org) (24.221.190.179) by sources.redhat.com with SMTP; 16 Sep 2002 17:14:45 -0000 Received: from redhat.com (myware.akkadia.org [192.168.7.70]) (authenticated bits=0) by myware.akkadia.org (8.12.5/8.12.5) with ESMTP id g8GHEeCn009753; Mon, 16 Sep 2002 10:14:40 -0700 Message-ID: <3D861180.2070903@redhat.com> Date: Mon, 16 Sep 2002 10:14:00 -0000 From: Ulrich Drepper User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020812 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakub Jelinek CC: Andreas Jaeger , Alexandre Oliva , GNU libc hacker Subject: Re: Fix _exit for Linux References: <20020916185406.G1013@sunsite.ms.mff.cuni.cz> X-Enigmail-Version: 0.65.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00041.txt.bz2 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jakub Jelinek wrote: > There is a difference between libc_hidden_def in .S files and in .c files. > In .S files it will work even if libc_hidden_proto () was not declared > in header files (usually the assembly doesn't even include those headers), > while if you use libc_hidden_{def,weak} without previous libc_hidden_proto, > things will break badly... Anyway, the _exit code can now be hidden. The implementation in glibc itself is now correct if compiled with the new kernel headers so there is no need to allow it to be overwritten. Let's change include/unistd.h and add hidden everywhere for _exit. - -- - ---------------. ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Red Hat `--' drepper at redhat.com `------------------------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9hhGA2ijCOnn/RHQRAodIAKDGKsw02EoXxh2IKij3axJlDlb80ACgtfNr bj9Y/7TEIN7bdij2o/pIUfU= =/JH9 -----END PGP SIGNATURE-----