From: Andrew Morton <akpm@osdl.org>
To: Cedric Le Goater <clg@fr.ibm.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Sukadev Bhattiprolu <sukadev@us.ibm.com>,
Herbert Poetzl <herbert@13thfloor.at>,
"Eric W. Biederman" <ebiederm@xmission.com>,
Kirill Korotaev <dev@openvz.org>
Subject: Re: [PATCH] add process_session() helper routine
Date: Tue, 17 Oct 2006 14:51:42 -0700 [thread overview]
Message-ID: <20061017145142.518e4046.akpm@osdl.org> (raw)
In-Reply-To: <45349658.9060805@fr.ibm.com>
On Tue, 17 Oct 2006 10:37:44 +0200
Cedric Le Goater <clg@fr.ibm.com> wrote:
> This patch replaces occurences of task->signal->session by a new
> process_session() helper routine.
>
> It will be useful for pid namespaces to abstract the session pid
> number.
hm.
> +static inline pid_t process_session(struct task_struct *tsk)
> +{
> + return tsk->signal->session;
> +}
> +
We should rename signal_struct.session to something else
(session_dont_use_me_directly) so that any code which accidentally fails to
use the wrapper will reliably fail to build.
That means that we'll also need a helper function to set this field.
next prev parent reply other threads:[~2006-10-17 21:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-17 8:37 Cedric Le Goater
2006-10-17 21:51 ` Andrew Morton [this message]
2006-10-18 20:15 ` Cedric Le Goater
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=20061017145142.518e4046.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=clg@fr.ibm.com \
--cc=dev@openvz.org \
--cc=ebiederm@xmission.com \
--cc=herbert@13thfloor.at \
--cc=linux-kernel@vger.kernel.org \
--cc=sukadev@us.ibm.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
Powered by JetHome