From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 MIME-Version: 1.0 In-Reply-To: References: <20090925075819.GA12530@lks.home> Date: Fri, 25 Sep 2009 11:23:47 +0300 Message-ID: From: "Kirill A. Shutemov" To: "Kirill A. Shutemov" , ALT Linux Team development discussions , "Dmitry V. Levin" , "Konstantin A. Lepikhov" , Michail Yakushin Content-Type: text/plain; charset=UTF-8 Subject: Re: [devel] suid binaries and ELF Auxiliary Vectors X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2009 08:23:54 -0000 Archived-At: List-Archive: List-Post: On Fri, Sep 25, 2009 at 11:15 AM, Kirill A. Shutemov wrote: > 2009/9/25 Konstantin A. Lepikhov : >> http://people.redhat.com/drepper/elftut1.ps - > > Thanks for link. > >> "The function create_elf_tables is responsible for >> creating the user stack which includes creating the auxiliary vector." > > Yep, I see. It really creates auxv on suid binaries. At least it reaches > copy_to_user(sp, elf_info, ei_index * sizeof(elf_addr_t)) > But still there is no auxv in userspace. :( > It seems problem is in glibc. When I compiled similar code with klibc, it works fine. Dmitry, could you comment it? Probably, it's security-related thing. What's the point?