Thread (6 messages) 6 messages, 4 authors, 2021-04-01

Re: [PATCH] Document that PF_KTHREAD _is_ ABI

flat view

From: Christoph Hellwig <hch@infradead.org>
Date: 2021-03-22 07:55:39
Also in: lkml

On Sat, Mar 20, 2021 at 10:23:12AM -0700, Andy Lutomirski wrote:
quoted
https://github.com/systemd/systemd/blob/main/src/basic/process-util.c#L354
src/basic/process-util.c:is_kernel_thread()
Eww.

Could we fix it differently and more permanently by modifying the proc
code to display the values systemd expects?
Yes, do_task_stat needs a mapping from kernel flags to UABI flags.  And
we should already discard everything we think we can from the UABI
now, and only add the ones back that are required to not break
userspace.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help