From 5b656a0d301740e1be7062f950d0a4f00c471434 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 11 Jan 2009 04:40:39 +0000 Subject: [!SHARED] (libc_start_main): Pass _dl_random to _dl_setup_stack_chk_guard. --- csu/libc-start.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'csu/libc-start.c') diff --git a/csu/libc-start.c b/csu/libc-start.c index a14ed71616..80b672f88d 100644 --- a/csu/libc-start.c +++ b/csu/libc-start.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998-2006, 2007 Free Software Foundation, Inc. +/* Copyright (C) 1998-2006, 2007, 2009 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -140,7 +140,7 @@ LIBC_START_MAIN (int (*main) (int, char **, char ** MAIN_AUXVEC_DECL), __pthread_initialize_minimal (); /* Set up the stack checker's canary. */ - uintptr_t stack_chk_guard = _dl_setup_stack_chk_guard (); + uintptr_t stack_chk_guard = _dl_setup_stack_chk_guard (_dl_random); # ifdef THREAD_SET_STACK_GUARD THREAD_SET_STACK_GUARD (stack_chk_guard); # else -- cgit v1.2.3