mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-08-21 16:31:14 +02:00

/proc/${pid}/status got Kthread field recently. Test that userspace program is not reported as kernel thread. Test that kernel thread is reported as kernel thread. Use kthreadd with pid 2 for this. Link: https://lkml.kernel.org/r/818c4c41-8668-4566-97a9-7254abf819ee@p183 Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: Chunguang Wu <fullspring2018@gmail.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
25 lines
424 B
Plaintext
25 lines
424 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
/fd-001-lookup
|
|
/fd-002-posix-eq
|
|
/fd-003-kthread
|
|
/proc-2-is-kthread
|
|
/proc-fsconfig-hidepid
|
|
/proc-loadavg-001
|
|
/proc-multiple-procfs
|
|
/proc-empty-vm
|
|
/proc-pid-vm
|
|
/proc-self-map-files-001
|
|
/proc-self-map-files-002
|
|
/proc-self-isnt-kthread
|
|
/proc-self-syscall
|
|
/proc-self-wchan
|
|
/proc-subset-pid
|
|
/proc-tid0
|
|
/proc-uptime-001
|
|
/proc-uptime-002
|
|
/read
|
|
/self
|
|
/setns-dcache
|
|
/setns-sysvipc
|
|
/thread-self
|