Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jan 1997 11:30:01 -0800 (PST)
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        freebsd-bugs
Subject:   Re: bin/2347: sysinstall: ppp: recursive call in malloc() 
Message-ID:  <199701011930.LAA20227@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/2347; it has been noted by GNATS.

From: Garrett Wollman <wollman@lcs.mit.edu>
To: Poul-Henning Kamp <phk@critter.dk.tfs.com>
Cc: freebsd-gnats-submit@freefall.freebsd.org
Subject: Re: bin/2347: sysinstall: ppp: recursive call in malloc() 
Date: Wed, 1 Jan 1997 14:25:20 -0500

 <<On Wed, 1 Jan 1997 02:00:02 -0800 (PST), Poul-Henning Kamp <phk@critter.dk.tfs.com> said:
 
 >  I'm not definitively sure what POSIX & friends say about the reentrancy
 >  of malloc(3) but I belive it is not required to be reentrant.
  
 >  Anybody know definitively what POSIX say here ?
  
 Well, I can't tell you what POSIX says, but I can tell you what ANSI
 X3J11 said: the only thing you can do inside a signal handler is set a
 variable of type `volatile sig_atomic_t'.
 
 Hearsay: one of the UNIX standards (maybe P1003.n, maybe XPGn, maybe
 Spec 1170) specifies a list of *system calls* which may be called from
 signal handlers.  I think one or more of them may also require that
 longjmp() work from a signal handler, but not necessarily that
 anything work after doing that.
 
 -GAWollman
 
 --
 Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
 wollman@lcs.mit.edu  | O Siem / The fires of freedom 
 Opinions not those of| Dance in the burning flame
 MIT, LCS, ANA, or NSA|                     - Susan Aglukark and Chad Irschick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701011930.LAA20227>