mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Ulrich Drepper" <drepper@gmail.com>
To: "John Z. Bohach" <jzb2@aexorsyst.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: __kernel_vsyscall () hangs in SIGCHLD handler
Date: Wed, 26 Sep 2007 10:03:33 -0700	[thread overview]
Message-ID: <a36005b50709261003j923835fu621882c54706d476@mail.gmail.com> (raw)
In-Reply-To: <200709260757.20478.jzb2@aexorsyst.com>

On 9/26/07, John Z. Bohach <jzb2@aexorsyst.com> wrote:
> Is there some reason that syslog() sleeps in __kernel_vsyscall() when
> invoked from a signal handler?

Only very few functions are allowed to be called from signal handlers.
 This is clearly spelled out in the POSIX spec.  Section XSH 2.4.3
lists the allowed functions.  syslog of course is not on it.

  reply	other threads:[~2007-09-26 17:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-26 14:57 John Z. Bohach
2007-09-26 17:03 ` Ulrich Drepper [this message]
2007-09-26 18:51   ` John Z. Bohach
2007-09-26 19:11   ` Mikael Pettersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a36005b50709261003j923835fu621882c54706d476@mail.gmail.com \
    --to=drepper@gmail.com \
    --cc=jzb2@aexorsyst.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®