svn commit: r324933 - stable/11/sys/sys

Bryan Drewery bdrewery at FreeBSD.org
Mon Oct 23 19:00:19 UTC 2017


Author: bdrewery
Date: Mon Oct 23 19:00:17 2017
New Revision: 324933
URL: https://svnweb.freebsd.org/changeset/base/324933

Log:
  struct ksiginfo has MD size, so use it as the padding type to avoid the wrong size.
  
  This is a direct commit to stable/11 to fix r324932.
  
  Spotted by:	kib

Modified:
  stable/11/sys/sys/proc.h

Modified: stable/11/sys/sys/proc.h
==============================================================================
--- stable/11/sys/sys/proc.h	Mon Oct 23 18:25:21 2017	(r324932)
+++ stable/11/sys/sys/proc.h	Mon Oct 23 19:00:17 2017	(r324933)
@@ -275,7 +275,7 @@ struct thread {
 	char		td_name[MAXCOMLEN + 1];	/* (*) Thread name. */
 	struct file	*td_fpop;	/* (k) file referencing cdev under op */
 	int		td_dbgflags;	/* (c) Userland debugger flags */
-	uint64_t	padding3[14];
+	struct ksiginfo	padding3;
 	int		td_ng_outbound;	/* (k) Thread entered ng from above. */
 	struct osd	td_osd;		/* (k) Object specific data. */
 	struct vm_map_entry *td_map_def_user; /* (k) Deferred entries. */


More information about the svn-src-stable mailing list