From 8cd823ecf77e9bbb6796de0bf15ce18b314429e9 Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Sat, 8 Jul 2017 18:52:29 +0000 Subject: Add TASK_COMM_LEN to the LinuxKPI. MFC after: 1 week --- sys/compat/linuxkpi/common/include/linux/sched.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/compat/linuxkpi/common/include/linux') 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; -- cgit v1.2.3