[Bugme-new] [Bug 4184] New: insertion into task_struct breaks the kernel

bugme-daemon at osdl.org bugme-daemon at osdl.org
Wed Feb 9 07:52:23 PST 2005


http://bugme.osdl.org/show_bug.cgi?id=4184

           Summary: insertion into task_struct breaks the kernel
    Kernel Version: 2.6.10
            Status: NEW
          Severity: normal
             Owner: process_other at kernel-bugs.osdl.org
         Submitter: xiao at unice.fr


Distribution: pristine kernel source compilation
Hardware Environment: UML-i386 on AMD Athlon 2.5G
Software Environment: 
Problem Description: Kernel panicked when an item is inserted into
task_struct table in include/linux/sched.h

Steps to reproduce:

I am experimenting personal additions to the kernel, and am testing it on
UML-i386.

When I insert an (or several) integer into the definition of task_struct, after
line 598 (struct user_struct *user;), the recompiled kernel panicks at boot time.

Moreover, the kernel panick changes behavior according to the number of integers
inserted at that place. I then moved my insertion towards the end of the table,
and everything is OK, including my insertion which is well taken into account.

The original code (#ifdef) suggests that insertions after line 598 should not
change kernel behavior. Maybe someone out there is making weird assumptions on
the order of items in the table.

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Bugme-new mailing list