mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-14 21:47:19 +02:00
* rndunix.c (my_popen): Make sure that stdin and stderr are
connected to a file. This is to avoid NetBSD to complain about set{u,g}id programs invoked with fd 0, 2 closed. Reported by Cristian Biere. (start_gatherer): Likewise. Reordered code. * configure.ac (NAME_OF_DEV_URANDOM): Don't use /dev/srandom for NetBSD. Noted by Christian Biere.
This commit is contained in:
parent
1d79b75b9c
commit
0aa7112f1c
4 changed files with 55 additions and 25 deletions
|
@ -468,7 +468,7 @@ AC_DEFINE_UNQUOTED(PRINTABLE_OS_NAME, "$PRINTABLE_OS_NAME",
|
|||
NAME_OF_DEV_RANDOM="/dev/random"
|
||||
NAME_OF_DEV_URANDOM="/dev/urandom"
|
||||
case "${target}" in
|
||||
*-openbsd* | *-netbsd*)
|
||||
*-openbsd*)
|
||||
NAME_OF_DEV_RANDOM="/dev/srandom"
|
||||
NAME_OF_DEV_URANDOM="/dev/urandom"
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue