mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 15:09:59 -04:00
1998. [bug] Restrict handling of fifos as sockets to just SunOS.
This allows named to connect to entropy gathering
daemons that use fifos instead of sockets. [RT #15840]
This commit is contained in:
parent
1d7b3b6dac
commit
b6d199bd6a
2 changed files with 6 additions and 2 deletions
4
CHANGES
4
CHANGES
|
|
@ -1,3 +1,7 @@
|
|||
1998. [bug] Restrict handling of fifos as sockets to just SunOS.
|
||||
This allows named to connect to entropy gathering
|
||||
daemons that use fifos instead of sockets. [RT #15840]
|
||||
|
||||
1997. [bug] Named was failing to replace negative cache entries
|
||||
when a positive one for the type was learnt.
|
||||
[RT #15818]
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: entropy.c,v 1.76 2006/01/06 00:01:44 marka Exp $ */
|
||||
/* $Id: entropy.c,v 1.77 2006/03/02 23:25:05 marka Exp $ */
|
||||
|
||||
/* \file unix/entropy.c
|
||||
* \brief
|
||||
|
|
@ -504,7 +504,7 @@ isc_entropy_createfilesource(isc_entropy_t *ent, const char *fname) {
|
|||
if (S_ISSOCK(_stat.st_mode))
|
||||
is_usocket = ISC_TRUE;
|
||||
#endif
|
||||
#if defined(S_ISFIFO)
|
||||
#if defined(S_ISFIFO) && defined(sun)
|
||||
if (S_ISFIFO(_stat.st_mode))
|
||||
is_usocket = ISC_TRUE;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue