Clarification on CAN-2005-1913 patch in linux-source-2.6.10_2.6.10-34.7.diff.gz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Clarification on CAN-2005-1913 patch in linux-source-2.6.10_2.6.10-34.7.diff.gz

Santosh Eraniose
Hi,

In the patch provided for CAN-2005-1913,
I notice that that the patch is similar to
http://linux.bkbits.net:8080/linux-2.6/gnupatch@42b47ebe56XpYGPtyrsIEb9tsF3E1A
except for this
+ sig->real_timer.data = (unsigned long)current;

The real_timer was moved to signal_struct around 2.6.12 and hence
this would not be applicable to the 2.6.10 kernel.
But should not the task_struct real_timer.data be set to current
before exec?

The CAN entry mentions the problem is that
when a non group leader does an exec, if there exists
a pending itimer, it would be sent to the old group leader
task which may not exist.

So before exec, if the execing thread sets the parent to
self, it would get the signal later.

Please let me know your feedback.

Regards,
--
Santosh Eraniose

--
ubuntu-users mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users