This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Member session missing in signal_struct for 2.6.30-rc5
- From: Josh Stone <jistone at redhat dot com>
- To: wenji dot huang at oracle dot com
- Cc: SystemTAP <systemtap at sources dot redhat dot com>, Malte Nuhn <nuhn at physik dot rwth-aachen dot de>
- Date: Thu, 14 May 2009 09:02:26 -0700
- Subject: Re: Member session missing in signal_struct for 2.6.30-rc5
- References: <4A0BAF81.20606@oracle.com>
On 05/13/2009 10:43 PM, Wenji Huang wrote:
> Hi,
>
> The commit in kernel
>
> signals: check_kill_permission: check session under tasklist_lock
> author Oleg Nesterov <oleg@tv-sign.ru>
> Wed, 30 Apr 2008 07:53:01 +0000 (00:53 -0700)
> committer Linus Torvalds <torvalds@linux-foundation.org>
> Wed, 30 Apr 2008 15:29:37 +0000 (08:29 -0700)
> commit 2e2ba22ea4fd4bb85f0fa37c521066db6775cbef
>
> removed member session from signal_struct. This results in
> compilation error for sid() on latest kernel.
>
> I haven't found the replacement for the member or alike function.
> Guess need to make it available under %kernel_v or other solution
> if someone had.
Right -- I pointed this out to Malte Nuhn last week. I think the best
we can do is something like:
task_session_nr_ns(current, &init_pid_ns)
I don't have a running 2.6.30 -- can you try this out?
Josh