aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2017-07-08 18:52:29 +0000
committerMark Johnston <markj@FreeBSD.org>2017-07-08 18:52:29 +0000
commit8cd823ecf77e9bbb6796de0bf15ce18b314429e9 (patch)
treefb1b825c7d8edd487511a3578cc7af1c7dedd9d0 /sys/compat/linuxkpi/common/include/linux
parent0f827d7a9672979efabcab42248fb192b9621a95 (diff)
downloadsrc-8cd823ecf77e9bbb6796de0bf15ce18b314429e9.tar.gz
src-8cd823ecf77e9bbb6796de0bf15ce18b314429e9.zip
Add TASK_COMM_LEN to the LinuxKPI.
MFC after: 1 week
Notes
Notes: svn path=/head/; revision=320810
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/sched.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/sched.h b/sys/compat/linuxkpi/common/include/linux/sched.h
index 589c0f1e50db..56af57733cfa 100644
--- a/sys/compat/linuxkpi/common/include/linux/sched.h
+++ b/sys/compat/linuxkpi/common/include/linux/sched.h
@@ -56,6 +56,8 @@
#define TASK_WAKING 0x0100
#define TASK_PARKED 0x0200
+#define TASK_COMM_LEN (MAXCOMLEN + 1)
+
struct task_struct {
struct thread *task_thread;
struct mm_struct *mm;