svn commit: r320810 - head/sys/compat/linuxkpi/common/include/linux

Mark Johnston markj at FreeBSD.org
Sat Jul 8 18:52:31 UTC 2017


Author: markj
Date: Sat Jul  8 18:52:29 2017
New Revision: 320810
URL: https://svnweb.freebsd.org/changeset/base/320810

Log:
  Add TASK_COMM_LEN to the LinuxKPI.
  
  MFC after:	1 week

Modified:
  head/sys/compat/linuxkpi/common/include/linux/sched.h

Modified: head/sys/compat/linuxkpi/common/include/linux/sched.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/sched.h	Sat Jul  8 17:53:00 2017	(r320809)
+++ head/sys/compat/linuxkpi/common/include/linux/sched.h	Sat Jul  8 18:52:29 2017	(r320810)
@@ -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;


More information about the svn-src-head mailing list