summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/elf.h
diff options
context:
space:
mode:
authorBryan Cantrill <bryan@joyent.com>2013-04-02 13:52:19 -0700
committerRobert Mustacchi <rm@joyent.com>2013-04-12 12:00:00 -0700
commitf971a3462face662ae8ef220a18a98354d625d54 (patch)
tree5df66b69056387f6e3dd5e158930a663daab92dc /usr/src/uts/common/sys/elf.h
parentabc79d9dd51e98eafb6fc25b4a0b4f66bef40b00 (diff)
downloadillumos-joyent-f971a3462face662ae8ef220a18a98354d625d54.tar.gz
3673 core dumping is abysmally slow
3671 left behind enemy lines, agent LWP can go rogue 3670 add visibility into agent LWP's spymaster Reviewed by: Keith M Wesolowski <keith.wesolowski@joyent.com> Reviewed by: Joshua M. Clulow <jmc@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/uts/common/sys/elf.h')
-rw-r--r--usr/src/uts/common/sys/elf.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/src/uts/common/sys/elf.h b/usr/src/uts/common/sys/elf.h
index bc25aee9c4..dd1eecc70d 100644
--- a/usr/src/uts/common/sys/elf.h
+++ b/usr/src/uts/common/sys/elf.h
@@ -20,6 +20,7 @@
*/
/*
* Copyright 2012 DEY Storage Systems, Inc. All rights reserved.
+ * Copyright (c) 2013, Joyent, Inc. All rights reserved.
*/
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
@@ -366,6 +367,8 @@ typedef struct {
#define PF_MASKPROC 0xf0000000 /* processor specific values */
#define PF_SUNW_FAILURE 0x00100000 /* mapping absent due to failure */
+#define PF_SUNW_KILLED 0x00200000 /* signal received during dump */
+#define PF_SUNW_SIGINFO 0x00400000 /* segment has killing sig's siginfo */
#define PN_XNUM 0xffff /* extended program header index */
@@ -816,7 +819,8 @@ typedef Elf64_Word Elf64_Capchain;
#define NT_CONTENT 20 /* core_content_t <sys/corectl.h> */
#define NT_ZONENAME 21 /* string from getzonenamebyid(3C) */
#define NT_FDINFO 22 /* open fd info */
-#define NT_NUM 22
+#define NT_SPYMASTER 23 /* psinfo_t for agent LWP spymaster */
+#define NT_NUM 23
#ifdef _KERNEL