Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 31280 Details for
Bug 50864
frandom/SSP implementation for glibc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
glibc-2.3.3-frandom-detect.patch
glibc-2.3.3-frandom-detect.patch (text/plain), 1.73 KB, created by
Cory Visi (RETIRED)
on 2004-05-12 10:56:50 UTC
(
hide
)
Description:
glibc-2.3.3-frandom-detect.patch
Filename:
MIME Type:
Creator:
Cory Visi (RETIRED)
Created:
2004-05-12 10:56:50 UTC
Size:
1.73 KB
patch
obsolete
>diff -Naur glibc-2.3.2-orig/config.h.in glibc-2.3.2/config.h.in >--- glibc-2.3.2-orig/config.h.in 2004-05-11 21:44:51.000000000 -0400 >+++ glibc-2.3.2/config.h.in 2004-05-11 22:41:34.903935791 -0400 >@@ -208,6 +208,9 @@ > /* Defined of libidn is available. */ > #undef HAVE_LIBIDN > >+/* Defined if economical random device is available. */ >+#undef HAVE_DEV_ERANDOM >+ > /* > */ > >diff -Naur glibc-2.3.2-orig/configure.in glibc-2.3.2/configure.in >--- glibc-2.3.2-orig/configure.in 2004-05-11 21:44:51.000000000 -0400 >+++ glibc-2.3.2/configure.in 2004-05-11 22:32:57.999546229 -0400 >@@ -289,6 +289,13 @@ > []) > AC_SUBST(all_warnings) > >+dnl See whether the user wants to disable checking for /dev/erandom >+AC_ARG_ENABLE([dev-erandom], >+ AC_HELP_STRING([--disable-dev-erandom], >+ [disable testing for /dev/erandom]), >+ [try_dev_erandom=$enableval], >+ [try_dev_erandom=yes]) >+ > AC_CANONICAL_HOST > > # The way shlib-versions is used to generate soversions.mk uses a >@@ -1911,6 +1918,21 @@ > sizeof_long_double=$ac_cv_sizeof_long_double > AC_SUBST(sizeof_long_double) > >+dnl check whether we have an economical random device >+if test "$try_dev_erandom" = yes ; then >+ AC_CACHE_CHECK(for economical random device, ac_cv_have_dev_random, >+ [if test -r "/dev/erandom" ; then >+ ac_cv_have_dev_erandom=yes; else ac_cv_have_dev_erandom=no; fi]) >+ if test "$ac_cv_have_dev_erandom" = yes; then >+ AC_DEFINE(HAVE_DEV_ERANDOM,1, >+ [defined if the system supports an economical random device] ) >+ fi >+else >+ AC_MSG_CHECKING(for economical random device) >+ ac_cv_have_dev_erandom=no >+ AC_MSG_RESULT(has been disabled) >+fi >+ > ### End of automated tests. > ### Now run sysdeps configure fragments. >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 50864
:
31277
|
31278
|
31279
| 31280 |
31281
|
31282
|
31434
|
31435
|
32075