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

Santosh Eraniose santosh.e at ap.sony.com
Wed Nov 16 08:26:59 UTC 2005


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




More information about the ubuntu-users mailing list