Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
@@ -23,10 +23,11 @@
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* Copyright 2012 DEY Storage Systems, Inc. All rights reserved.
+ * Copyright 2018 Joyent, Inc.
*/
#include <struct_layout.h>
@@ -385,12 +386,19 @@
{ 24, 8, 0, 0 }, /* pr_lower */
{ 32, 8, 0, 0 }, /* pr_upper */
};
+static const sl_prlwpname_layout_t prlwpname_layout = {
+ { 0, 40, 0, 0 }, /* sizeof (prlwpname_t) */
+ { 0, 8, 0, 0 }, /* pr_lwpid */
+ { 8, 1, 32, 0 }, /* pr_lwpname[] */
+};
+
+
static const sl_arch_layout_t layout_i386 = {
&auxv_layout,
&fltset_layout,
&lwpsinfo_layout,
&lwpstatus_layout,
@@ -409,10 +417,11 @@
&sysset_layout,
×truc_layout,
&utsname_layout,
&prfdinfo_layout,
&prsecflags_layout,
+ &prlwpname_layout,
};
const sl_arch_layout_t *
struct_layout_i386(void)