Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
@@ -23,11 +23,13 @@
* 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>
static const sl_auxv_layout_t auxv_layout = {
{ 0, 8, 0, 0 }, /* sizeof (auxv_t) */
@@ -384,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_sparc = {
&auxv_layout,
&fltset_layout,
&lwpsinfo_layout,
&lwpstatus_layout,
@@ -408,10 +417,11 @@
&sysset_layout,
×truc_layout,
&utsname_layout,
&prfdinfo_layout,
&prsecflags_layout,
+ &prlwpname_layout,
};
const sl_arch_layout_t *
struct_layout_sparc(void)