From: Roland McGrath <roland@redhat.com>
To: Prasanna Meda <pmeda@akamai.com>
Cc: akpm@osdl.org, linux-mm@kvack.org
Subject: Re: [patch] ptrace: unlocked access to last_siginfo (resending)
Date: Wed, 26 Jan 2005 19:40:02 -0800 [thread overview]
Message-ID: <200501270340.j0R3e2KX011157@magilla.sf.frob.com> (raw)
In-Reply-To: Prasanna Meda's message of Wednesday, 26 January 2005 19:36:05 -0800 <41F861A5.1C21FE1@akamai.com>
> Thanks, but looks like we fixed only part of the problem. If the
> child is on the exit path and releases sighand, we need to check for
> its existence too. The attached patch should work.
That's correct. Technically you don't need read_lock_irq, but just
spin_lock_irq, not that it really makes a difference. Myself, I would
change that and also use struct assignment instead of memcpy.
But your patch is fine as it is.
Thanks,
Roland
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
next prev parent reply other threads:[~2005-01-27 3:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-12 3:11 pmeda
2005-01-14 7:46 ` Roland McGrath
2005-01-27 3:36 ` Prasanna Meda
2005-01-27 3:40 ` Roland McGrath [this message]
2005-01-27 6:30 Meda, Prasanna
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=200501270340.j0R3e2KX011157@magilla.sf.frob.com \
--to=roland@redhat.com \
--cc=akpm@osdl.org \
--cc=linux-mm@kvack.org \
--cc=pmeda@akamai.com \
/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