Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
*** 23,32 ****
--- 23,33 ----
* 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,396 ****
--- 386,404 ----
{ 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_amd64 = {
&auxv_layout,
&fltset_layout,
&lwpsinfo_layout,
&lwpstatus_layout,
*** 409,418 ****
--- 417,427 ----
&sysset_layout,
×truc_layout,
&utsname_layout,
&prfdinfo_layout,
&prsecflags_layout,
+ &prlwpname_layout,
};
const sl_arch_layout_t *
struct_layout_amd64(void)