diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-01-11 04:40:39 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-01-11 04:40:39 +0000 |
commit | 5b656a0d301740e1be7062f950d0a4f00c471434 (patch) | |
tree | 53a01fb3d9648769f80b3d16c7bc8dae9db7ae7f /csu/libc-start.c | |
parent | 8be96dd183a5e70b3924f5e85da05591238014be (diff) | |
download | glibc-5b656a0d301740e1be7062f950d0a4f00c471434.tar.gz glibc-5b656a0d301740e1be7062f950d0a4f00c471434.tar.xz glibc-5b656a0d301740e1be7062f950d0a4f00c471434.zip |
[!SHARED] (libc_start_main): Pass _dl_random to _dl_setup_stack_chk_guard.
Diffstat (limited to 'csu/libc-start.c')
-rw-r--r-- | csu/libc-start.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |