From: Steve Dickson <SteveD@redhat.com>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: nfs@lists.sourceforge.net
Subject: Re: [PATCH] -o intr mount option prevents core dumps on 2.4 kernel
Date: Tue, 11 Jan 2005 15:58:09 -0500 [thread overview]
Message-ID: <41E43DE1.5080703@RedHat.com> (raw)
In-Reply-To: <1105474246.11430.1.camel@lade.trondhjem.org>
Trond Myklebust wrote:
>ty den 11.01.2005 Klokka 14:36 (-0500) skreiv Steve Dickson:
>
>
>
>>>Firstly, how is "cl_intr" preventing core dumps? Normally, we should be
>>>masking all signals except SIGKILL, SIGINT and SIGQUIT. I can see that
>>>masking SIGINT and SIGQUIT might be useful here, but not SIGKILL...
>>>
>>>
>>>
>>>
>>Because __rpc_execute() notices that signalled() is set and aborts the
>>write by
>>returning -ERESTARTSYS makes the core dumping code stop dumping.
>>
>>
>
>Err... That's what the sigmask is for. signalled() only looks at those
>signals that are enabled by the sigmask.
>
>
hmm... I'll admit kernel signal process is not an area I've ventured
into much so
correct me if I'm wrong.... But if SIGKILL is masked off, would that stop
the process from getting the signal and in turn stop the core dropping
as well???
steved.
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2005-01-11 20:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-06 18:31 [PATCH] -o intr mount option prevents core dumps on 2.4 kernel Steve Dickson
2005-01-07 17:14 ` Trond Myklebust
2005-01-11 19:36 ` Steve Dickson
2005-01-11 20:10 ` Trond Myklebust
2005-01-11 20:58 ` Steve Dickson [this message]
2005-01-11 21:59 ` Trond Myklebust
2005-01-12 18:18 ` Steve Dickson
2005-01-12 18:25 ` Trond Myklebust
2005-01-12 19:11 ` Steve Dickson
2005-01-13 0:38 ` Trond Myklebust
2005-01-13 14:01 ` Steve Dickson
2005-01-13 21:37 ` Steve Dickson
2005-01-14 2:57 ` Trond Myklebust
2005-01-14 19:52 ` Steve Dickson
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=41E43DE1.5080703@RedHat.com \
--to=steved@redhat.com \
--cc=nfs@lists.sourceforge.net \
--cc=trond.myklebust@fys.uio.no \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.