Re: [hacklet] handle kernel > 5.12 rename of task_struct.state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> Greetings fellow crash users.  The hacklet below keeps crash working
> (for the nonce) into the 5.14 kernel cycle.  I doubt it's applicable (despite being kinda sorta disguised
> as a patch just in case;), but it should serve as a bandaid until the real deal comes along.
> 
> Handle kernel rename of task_struct.state to __state
> 
> Kernels post 5.13 renamed task->state to task->__state.  Check the
> validity of 'state', and upon failure, rashly presume that "__state"
> exists, and isn't going to change again any time soon.

Hi Mike,

Thanks for the patch.  but Alex also had addressed the same issue, and
this patch just got merged:
https://github.com/crash-utility/crash/commit/d6b4f36d6b22b70fb14e692f36d20910ef5563c1

Could you try this?

Thanks,
Kazu


--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/crash-utility




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux