Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jul 2017 18:52:29 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320810 - head/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201707081852.v68IqT6K048997@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707081852.v68IqT6K048997>