OpenVZ Forum


Home » Mailing lists » Devel » task_session() and task->signal->session
Re: task_session() and task->signal->session [message #16754 is a reply to message #16752] Thu, 16 November 2006 23:46 Go to previous messageGo to previous message
ebiederm is currently offline  ebiederm
Messages: 1354
Registered: February 2006
Senior Member
Sukadev Bhattiprolu <sukadev@us.ibm.com> writes:

> I am trying to understand the diff between task_session() and
> task->signal-session and why we have the two notions of session.
> Are we just phasing out one of them ?

Yes.

> In general each process has a single session id. The only exception
> being a process that unshares its pid ns. Such process will have
> exactly two session ids, one for each pid ns. No ?

Each process has a single session.

That session can potentially have a different session id in each
pid namespace.

So for internal tests we want to compare the struct pid pointers
instead of the numbers visible to user space.

Eric
_______________________________________________
Containers mailing list
Containers@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [RFC] [PATCH 0/3] user ns and vfs: Introduction
Next Topic: [PATCH] mounstats NULL pointer dereference
Goto Forum:
  


Current Time: Fri Jul 25 12:25:04 GMT 2025

Total time taken to generate the page: 0.19479 seconds