Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/sgs/elfdump/common/gen_layout_obj.c
+++ new/usr/src/cmd/sgs/elfdump/common/gen_layout_obj.c
1 1 /*
2 2 * This file and its contents are supplied under the terms of the
3 3 * Common Development and Distribution License ("CDDL"), version 1.0.
↓ open down ↓ |
3 lines elided |
↑ open up ↑ |
4 4 * You may only use this file in accordance with the terms of version
5 5 * 1.0 of the CDDL.
6 6 *
7 7 * A full copy of the text of the CDDL should have accompanied this
8 8 * source. A copy of the CDDL is also available via the Internet at
9 9 * http://www.illumos.org/license/CDDL.
10 10 */
11 11
12 12 /*
13 13 * Copyright 2015 Nexenta Systems, Inc. All rights reserved.
14 + * Copyright 2018 Joyent, Inc.
14 15 */
15 16
16 17 /*
17 18 * A little program who's only purpose is to get all the
18 19 * CTF type information we want into an object.
19 20 */
20 21
21 22 #include <sys/types.h>
22 23 #include <sys/stat.h>
23 24 #include <sys/sysmacros.h>
24 25 #include <sys/corectl.h>
25 26 #define _STRUCTURED_PROC 1
26 27 #include <sys/procfs.h>
27 28 #include <sys/auxv.h>
28 29 #include <sys/old_procfs.h>
29 30 #include <sys/utsname.h>
30 31 #include <sys/secflags.h>
31 32
32 33 /* prgregset_t is a define on intel */
33 34 #ifdef prgregset_t
34 35 typedef prgregset_t
35 36 #undef prgregset_t
36 37 prgregset_t;
37 38 #endif
38 39
39 40 /* instantiate the types for CTF */
40 41 auxv_t auxv;
41 42 prgregset_t prgregset;
42 43 lwpstatus_t lwpstatus;
43 44 pstatus_t pstatus;
44 45 prstatus_t prstatus;
45 46 psinfo_t psinfo;
46 47 prpsinfo_t prpsinfo;
47 48 lwpsinfo_t lwpsinfo;
48 49 prcred_t prcred;
49 50 prpriv_t prpriv;
50 51 priv_impl_info_t priv_impl;
↓ open down ↓ |
27 lines elided |
↑ open up ↑ |
51 52 fltset_t fltset;
52 53 siginfo_t siginfo;
53 54 sigset_t sigset;
54 55 struct sigaction sigact;
55 56 stack_t stack;
56 57 sysset_t sysset;
57 58 timestruc_t ts;
58 59 struct utsname uts;
59 60 prfdinfo_t ptfd;
60 61 prsecflags_t psf;
62 +prlwpname_t psn;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX