diff options
author | kib <kib@FreeBSD.org> | 2016-02-09 16:30:16 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2016-02-09 16:30:16 +0000 |
commit | 736e07849585def123cc8c3042c05c77f3d11e2e (patch) | |
tree | f8a43f8ccb9814c0d0a87fe0c006c312c7b28e59 /bin | |
parent | 6b818b637142586b9543f3a199b15896650af307 (diff) | |
download | FreeBSD-src-736e07849585def123cc8c3042c05c77f3d11e2e.zip FreeBSD-src-736e07849585def123cc8c3042c05c77f3d11e2e.tar.gz |
Rename P_KTHREAD struct proc p_flag to P_KPROC.
I left as is an apparent bug in ntoskrnl_var.h:AT_PASSIVE_LEVEL()
definition.
Suggested by: jhb
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'bin')
-rw-r--r-- | bin/pkill/pkill.c | 2 | ||||
-rw-r--r-- | bin/ps/ps.1 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/pkill/pkill.c b/bin/pkill/pkill.c index 8c814ce..abdc450 100644 --- a/bin/pkill/pkill.c +++ b/bin/pkill/pkill.c @@ -71,7 +71,7 @@ __FBSDID("$FreeBSD$"); /* Ignore system-processes (if '-S' flag is not specified) and myself. */ #define PSKIP(kp) ((kp)->ki_pid == mypid || \ - (!kthreads && ((kp)->ki_flag & P_KTHREAD) != 0)) + (!kthreads && ((kp)->ki_flag & P_KPROC) != 0)) enum listtype { LT_GENERIC, diff --git a/bin/ps/ps.1 b/bin/ps/ps.1 index e00d313..3d7c738 100644 --- a/bin/ps/ps.1 +++ b/bin/ps/ps.1 @@ -318,7 +318,7 @@ the include file .Bl -column P_SINGLE_BOUNDARY 0x40000000 .It Dv "P_ADVLOCK" Ta No "0x00001" Ta "Process may hold a POSIX advisory lock" .It Dv "P_CONTROLT" Ta No "0x00002" Ta "Has a controlling terminal" -.It Dv "P_KTHREAD" Ta No "0x00004" Ta "Kernel thread" +.It Dv "P_KPROC" Ta No "0x00004" Ta "Kernel process" .It Dv "P_FOLLOWFORK" Ta No "0x00008" Ta "Attach debugger to new children" .It Dv "P_PPWAIT" Ta No "0x00010" Ta "Parent is waiting for child to exec/exit" .It Dv "P_PROFIL" Ta No "0x00020" Ta "Has started profiling" |