mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Add read barrier protecting DES initialization
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2011-07-22 Ulrich Drepper <drepper@gmail.com>
|
||||||
|
|
||||||
|
* crypt/crypt_util.c (__init_des_r): Add read barrier as well.
|
||||||
|
|
||||||
2011-07-21 Andreas Schwab <schwab@redhat.com>
|
2011-07-21 Andreas Schwab <schwab@redhat.com>
|
||||||
|
|
||||||
* sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
|
* sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
* UFC-crypt: ultra fast crypt(3) implementation
|
* UFC-crypt: ultra fast crypt(3) implementation
|
||||||
*
|
*
|
||||||
* Copyright (C) 1991-1993,1996-1998,2000,2010 Free Software Foundation, Inc.
|
* Copyright (C) 1991-1993,1996-1998,2000,2010,2011
|
||||||
|
* Free Software Foundation, Inc.
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
@ -475,7 +476,8 @@ __init_des_r(__data)
|
|||||||
small_tables_done:
|
small_tables_done:
|
||||||
__libc_lock_unlock(_ufc_tables_lock);
|
__libc_lock_unlock(_ufc_tables_lock);
|
||||||
#endif
|
#endif
|
||||||
}
|
} else
|
||||||
|
atomic_read_barrier ();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Create the sb tables:
|
* Create the sb tables:
|
||||||
|
Reference in New Issue
Block a user