ohai 14.2.0 → 14.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Rakefile +1 -1
- data/lib/ohai/application.rb +29 -29
- data/lib/ohai/common/dmi.rb +5 -5
- data/lib/ohai/dsl/plugin.rb +3 -3
- data/lib/ohai/dsl/plugin/versionvii.rb +3 -3
- data/lib/ohai/mixin/azure_metadata.rb +2 -2
- data/lib/ohai/mixin/do_metadata.rb +3 -3
- data/lib/ohai/mixin/ec2_metadata.rb +8 -8
- data/lib/ohai/mixin/gce_metadata.rb +2 -2
- data/lib/ohai/mixin/network_constants.rb +1 -1
- data/lib/ohai/mixin/scaleway_metadata.rb +3 -3
- data/lib/ohai/mixin/softlayer_metadata.rb +1 -1
- data/lib/ohai/mixin/string.rb +2 -2
- data/lib/ohai/plugins/aix/cpu.rb +3 -3
- data/lib/ohai/plugins/aix/filesystem.rb +1 -1
- data/lib/ohai/plugins/aix/kernel.rb +1 -1
- data/lib/ohai/plugins/aix/memory.rb +1 -1
- data/lib/ohai/plugins/aix/network.rb +3 -3
- data/lib/ohai/plugins/bsd/virtualization.rb +1 -1
- data/lib/ohai/plugins/cloud.rb +1 -1
- data/lib/ohai/plugins/darwin/hardware.rb +1 -1
- data/lib/ohai/plugins/darwin/network.rb +5 -5
- data/lib/ohai/plugins/darwin/platform.rb +1 -1
- data/lib/ohai/plugins/dmi.rb +6 -6
- data/lib/ohai/plugins/filesystem.rb +5 -5
- data/lib/ohai/plugins/hostname.rb +5 -5
- data/lib/ohai/plugins/kernel.rb +8 -8
- data/lib/ohai/plugins/linux/lspci.rb +4 -4
- data/lib/ohai/plugins/linux/memory.rb +4 -4
- data/lib/ohai/plugins/linux/network.rb +16 -16
- data/lib/ohai/plugins/linux/platform.rb +7 -1
- data/lib/ohai/plugins/netbsd/network.rb +1 -1
- data/lib/ohai/plugins/network.rb +5 -5
- data/lib/ohai/plugins/openbsd/network.rb +1 -1
- data/lib/ohai/plugins/packages.rb +1 -1
- data/lib/ohai/plugins/passwd.rb +4 -4
- data/lib/ohai/plugins/ruby.rb +13 -13
- data/lib/ohai/plugins/solaris2/dmi.rb +3 -3
- data/lib/ohai/plugins/solaris2/filesystem.rb +6 -6
- data/lib/ohai/plugins/solaris2/memory.rb +2 -2
- data/lib/ohai/plugins/solaris2/network.rb +36 -36
- data/lib/ohai/plugins/windows/network.rb +2 -2
- data/lib/ohai/util/win32/group_helper.rb +1 -1
- data/lib/ohai/version.rb +1 -1
- data/spec/functional/application_spec.rb +6 -6
- data/spec/functional/loader_spec.rb +4 -4
- data/spec/functional/plugins/windows/uptime_spec.rb +1 -2
- data/spec/spec_helper.rb +5 -5
- data/spec/unit/application_spec.rb +11 -11
- data/spec/unit/config_spec.rb +5 -5
- data/spec/unit/dsl/plugin_spec.rb +5 -5
- data/spec/unit/hints_spec.rb +2 -2
- data/spec/unit/loader_spec.rb +41 -41
- data/spec/unit/mixin/azure_metadata_spec.rb +3 -3
- data/spec/unit/mixin/command_spec.rb +64 -64
- data/spec/unit/mixin/ec2_metadata_spec.rb +6 -6
- data/spec/unit/mixin/softlayer_metadata_spec.rb +1 -1
- data/spec/unit/plugin_config_spec.rb +9 -9
- data/spec/unit/plugins/abort_spec.rb +6 -6
- data/spec/unit/plugins/aix/cpu_spec.rb +16 -16
- data/spec/unit/plugins/aix/filesystem_spec.rb +57 -57
- data/spec/unit/plugins/aix/network_spec.rb +35 -35
- data/spec/unit/plugins/aix/virtualization_spec.rb +210 -210
- data/spec/unit/plugins/azure_spec.rb +49 -49
- data/spec/unit/plugins/bsd/filesystem_spec.rb +13 -13
- data/spec/unit/plugins/bsd/virtualization_spec.rb +10 -10
- data/spec/unit/plugins/c_spec.rb +54 -54
- data/spec/unit/plugins/chef_spec.rb +3 -3
- data/spec/unit/plugins/darwin/cpu_spec.rb +54 -54
- data/spec/unit/plugins/darwin/filesystem_spec.rb +34 -34
- data/spec/unit/plugins/darwin/hardware_system_profiler_output.rb +1070 -1070
- data/spec/unit/plugins/darwin/memory_spec.rb +16 -16
- data/spec/unit/plugins/darwin/network_spec.rb +382 -382
- data/spec/unit/plugins/digital_ocean_spec.rb +7 -7
- data/spec/unit/plugins/dmi_spec.rb +83 -83
- data/spec/unit/plugins/docker_spec.rb +2 -2
- data/spec/unit/plugins/ec2_spec.rb +156 -156
- data/spec/unit/plugins/eucalyptus_spec.rb +19 -19
- data/spec/unit/plugins/fail_spec.rb +14 -14
- data/spec/unit/plugins/freebsd/cpu_spec.rb +18 -18
- data/spec/unit/plugins/freebsd/kernel_spec.rb +1 -1
- data/spec/unit/plugins/gce_spec.rb +1 -1
- data/spec/unit/plugins/init_package_spec.rb +1 -1
- data/spec/unit/plugins/java_spec.rb +4 -4
- data/spec/unit/plugins/joyent_spec.rb +9 -9
- data/spec/unit/plugins/linux/block_device_spec.rb +1 -1
- data/spec/unit/plugins/linux/cpu_spec.rb +155 -155
- data/spec/unit/plugins/linux/filesystem_spec.rb +229 -229
- data/spec/unit/plugins/linux/kernel_spec.rb +9 -9
- data/spec/unit/plugins/linux/lsb_spec.rb +18 -18
- data/spec/unit/plugins/linux/lspci_spec.rb +58 -58
- data/spec/unit/plugins/linux/mdadm_spec.rb +54 -54
- data/spec/unit/plugins/linux/memory_spec.rb +35 -35
- data/spec/unit/plugins/linux/network_spec.rb +464 -464
- data/spec/unit/plugins/linux/platform_spec.rb +84 -68
- data/spec/unit/plugins/linux/systemd_paths_spec.rb +40 -40
- data/spec/unit/plugins/linux/uptime_spec.rb +1 -1
- data/spec/unit/plugins/linux/virtualization_spec.rb +197 -197
- data/spec/unit/plugins/mono_spec.rb +11 -11
- data/spec/unit/plugins/netbsd/kernel_spec.rb +1 -1
- data/spec/unit/plugins/network_spec.rb +2 -2
- data/spec/unit/plugins/openstack_spec.rb +43 -43
- data/spec/unit/plugins/os_spec.rb +1 -1
- data/spec/unit/plugins/passwd_spec.rb +9 -9
- data/spec/unit/plugins/php_spec.rb +22 -22
- data/spec/unit/plugins/powershell_spec.rb +13 -13
- data/spec/unit/plugins/rackspace_spec.rb +38 -38
- data/spec/unit/plugins/ruby_spec.rb +14 -14
- data/spec/unit/plugins/scaleway_spec.rb +6 -6
- data/spec/unit/plugins/scsi_spec.rb +7 -7
- data/spec/unit/plugins/solaris2/cpu_spec.rb +2594 -2594
- data/spec/unit/plugins/solaris2/dmi_spec.rb +91 -91
- data/spec/unit/plugins/solaris2/filesystem.rb +8 -8
- data/spec/unit/plugins/solaris2/kernel_spec.rb +1 -1
- data/spec/unit/plugins/solaris2/network_spec.rb +92 -93
- data/spec/unit/plugins/solaris2/platform_spec.rb +24 -24
- data/spec/unit/plugins/solaris2/virtualization_spec.rb +22 -22
- data/spec/unit/plugins/ssh_host_keys_spec.rb +12 -12
- data/spec/unit/plugins/sysconf_spec.rb +321 -321
- data/spec/unit/plugins/virtualbox_spec.rb +27 -27
- data/spec/unit/plugins/windows/cpu_spec.rb +9 -9
- data/spec/unit/plugins/windows/kernel_spec.rb +12 -12
- data/spec/unit/plugins/windows/uptime_spec.rb +1 -1
- data/spec/unit/plugins/zpools_spec.rb +41 -41
- data/spec/unit/runner_spec.rb +2 -2
- data/spec/unit/system_spec.rb +55 -55
- metadata +3 -4
- data/docs/man/man1/ohai.1 +0 -97
@@ -27,18 +27,18 @@ describe Ohai::System, "Solaris plugin platform" do
|
|
27
27
|
|
28
28
|
describe "on SmartOS" do
|
29
29
|
before(:each) do
|
30
|
-
@uname_x =
|
31
|
-
System = SunOS
|
32
|
-
Node = node.example.com
|
33
|
-
Release = 5.11
|
34
|
-
KernelID = joyent_20120130T201844Z
|
35
|
-
Machine = i86pc
|
36
|
-
BusType = <unknown>
|
37
|
-
Serial = <unknown>
|
38
|
-
Users = <unknown>
|
39
|
-
OEM# = 0
|
40
|
-
Origin# = 1
|
41
|
-
NumCPU = 16
|
30
|
+
@uname_x = <<~UNAME_X
|
31
|
+
System = SunOS
|
32
|
+
Node = node.example.com
|
33
|
+
Release = 5.11
|
34
|
+
KernelID = joyent_20120130T201844Z
|
35
|
+
Machine = i86pc
|
36
|
+
BusType = <unknown>
|
37
|
+
Serial = <unknown>
|
38
|
+
Users = <unknown>
|
39
|
+
OEM# = 0
|
40
|
+
Origin# = 1
|
41
|
+
NumCPU = 16
|
42
42
|
UNAME_X
|
43
43
|
|
44
44
|
allow(File).to receive(:exist?).with("/sbin/uname").and_return(true)
|
@@ -67,18 +67,18 @@ UNAME_X
|
|
67
67
|
|
68
68
|
describe "on Solaris 11" do
|
69
69
|
before(:each) do
|
70
|
-
@uname_x =
|
71
|
-
System = SunOS
|
72
|
-
Node = node.example.com
|
73
|
-
Release = 5.11
|
74
|
-
KernelID = 11.1
|
75
|
-
Machine = i86pc
|
76
|
-
BusType = <unknown>
|
77
|
-
Serial = <unknown>
|
78
|
-
Users = <unknown>
|
79
|
-
OEM# = 0
|
80
|
-
Origin# = 1
|
81
|
-
NumCPU = 1
|
70
|
+
@uname_x = <<~UNAME_X
|
71
|
+
System = SunOS
|
72
|
+
Node = node.example.com
|
73
|
+
Release = 5.11
|
74
|
+
KernelID = 11.1
|
75
|
+
Machine = i86pc
|
76
|
+
BusType = <unknown>
|
77
|
+
Serial = <unknown>
|
78
|
+
Users = <unknown>
|
79
|
+
OEM# = 0
|
80
|
+
Origin# = 1
|
81
|
+
NumCPU = 1
|
82
82
|
UNAME_X
|
83
83
|
|
84
84
|
allow(File).to receive(:exist?).with("/sbin/uname").and_return(true)
|
@@ -20,10 +20,10 @@ require_relative "../../../spec_helper.rb"
|
|
20
20
|
|
21
21
|
describe Ohai::System, "Solaris virtualization platform" do
|
22
22
|
before(:each) do
|
23
|
-
@psrinfo_pv =
|
24
|
-
The physical processor has 1 virtual processor (0)
|
25
|
-
|
26
|
-
|
23
|
+
@psrinfo_pv = <<~PSRINFO_PV
|
24
|
+
The physical processor has 1 virtual processor (0)
|
25
|
+
x86 (GenuineIntel family 6 model 2 step 3 clock 2667 MHz)
|
26
|
+
Intel Pentium(r) Pro
|
27
27
|
PSRINFO_PV
|
28
28
|
|
29
29
|
@plugin = get_plugin("solaris2/virtualization")
|
@@ -73,17 +73,17 @@ PSRINFO_PV
|
|
73
73
|
end
|
74
74
|
|
75
75
|
it "should set virtualpc guest if smbios detects Microsoft Virtual Machine" do
|
76
|
-
ms_vpc_smbios =
|
77
|
-
ID SIZE TYPE
|
78
|
-
1 72 SMB_TYPE_SYSTEM (system information)
|
76
|
+
ms_vpc_smbios = <<~MSVPC
|
77
|
+
ID SIZE TYPE
|
78
|
+
1 72 SMB_TYPE_SYSTEM (system information)
|
79
79
|
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
80
|
+
Manufacturer: Microsoft Corporation
|
81
|
+
Product: Virtual Machine
|
82
|
+
Version: VS2005R2
|
83
|
+
Serial Number: 1688-7189-5337-7903-2297-1012-52
|
84
84
|
|
85
|
-
|
86
|
-
|
85
|
+
UUID: D29974A4-BE51-044C-BDC6-EFBC4B87A8E9
|
86
|
+
Wake-Up Event: 0x6 (power switch)
|
87
87
|
MSVPC
|
88
88
|
allow(@plugin).to receive(:shell_out).with("/usr/sbin/smbios").and_return(mock_shell_out(0, ms_vpc_smbios, ""))
|
89
89
|
@plugin.run
|
@@ -92,17 +92,17 @@ MSVPC
|
|
92
92
|
end
|
93
93
|
|
94
94
|
it "should set vmware guest if smbios detects VMware Virtual Platform" do
|
95
|
-
vmware_smbios =
|
96
|
-
ID SIZE TYPE
|
97
|
-
1 72 SMB_TYPE_SYSTEM (system information)
|
95
|
+
vmware_smbios = <<~VMWARE
|
96
|
+
ID SIZE TYPE
|
97
|
+
1 72 SMB_TYPE_SYSTEM (system information)
|
98
98
|
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
99
|
+
Manufacturer: VMware, Inc.
|
100
|
+
Product: VMware Virtual Platform
|
101
|
+
Version: None
|
102
|
+
Serial Number: VMware-50 3f f7 14 42 d1 f1 da-3b 46 27 d0 29 b4 74 1d
|
103
103
|
|
104
|
-
|
105
|
-
|
104
|
+
UUID: a86cc405-e1b9-447b-ad05-6f8db39d876a
|
105
|
+
Wake-Up Event: 0x6 (power switch)
|
106
106
|
VMWARE
|
107
107
|
allow(@plugin).to receive(:shell_out).with("/usr/sbin/smbios").and_return(mock_shell_out(0, vmware_smbios, ""))
|
108
108
|
@plugin.run
|
@@ -75,12 +75,12 @@ describe Ohai::System, "ssh_host_key plugin" do
|
|
75
75
|
|
76
76
|
context "when an sshd_config exists" do
|
77
77
|
let :sshd_config_file do
|
78
|
-
|
79
|
-
# HostKeys for protocol version 2
|
80
|
-
HostKey /etc/ssh/ssh_host_rsa_key
|
81
|
-
HostKey /etc/ssh/ssh_host_dsa_key
|
82
|
-
HostKey /etc/ssh/ssh_host_ecdsa_key
|
83
|
-
HostKey /etc/ssh/ssh_host_ed25519_key
|
78
|
+
<<~EOS
|
79
|
+
# HostKeys for protocol version 2
|
80
|
+
HostKey /etc/ssh/ssh_host_rsa_key
|
81
|
+
HostKey /etc/ssh/ssh_host_dsa_key
|
82
|
+
HostKey /etc/ssh/ssh_host_ecdsa_key
|
83
|
+
HostKey /etc/ssh/ssh_host_ed25519_key
|
84
84
|
EOS
|
85
85
|
end
|
86
86
|
it_behaves_like "loads keys"
|
@@ -88,12 +88,12 @@ EOS
|
|
88
88
|
|
89
89
|
context "when an sshd_config exists with commented entries" do
|
90
90
|
let :sshd_config_file do
|
91
|
-
|
92
|
-
# HostKeys for protocol version 2
|
93
|
-
#HostKey /etc/ssh/ssh_host_rsa_key
|
94
|
-
#HostKey /etc/ssh/ssh_host_dsa_key
|
95
|
-
#HostKey /etc/ssh/ssh_host_ecdsa_key
|
96
|
-
#HostKey /etc/ssh/ssh_host_ed25519_key
|
91
|
+
<<~EOS
|
92
|
+
# HostKeys for protocol version 2
|
93
|
+
#HostKey /etc/ssh/ssh_host_rsa_key
|
94
|
+
#HostKey /etc/ssh/ssh_host_dsa_key
|
95
|
+
#HostKey /etc/ssh/ssh_host_ecdsa_key
|
96
|
+
#HostKey /etc/ssh/ssh_host_ed25519_key
|
97
97
|
EOS
|
98
98
|
end
|
99
99
|
it_behaves_like "loads keys"
|
@@ -22,327 +22,327 @@ describe Ohai::System, "sysconf plugin", :unix_only do
|
|
22
22
|
let(:plugin) { get_plugin("sysconf") }
|
23
23
|
|
24
24
|
it "should populate sysconf if getconf is found" do
|
25
|
-
getconf_out =
|
26
|
-
LINK_MAX 65000
|
27
|
-
_POSIX_LINK_MAX 65000
|
28
|
-
MAX_CANON 255
|
29
|
-
_POSIX_MAX_CANON 255
|
30
|
-
MAX_INPUT 255
|
31
|
-
_POSIX_MAX_INPUT 255
|
32
|
-
NAME_MAX 255
|
33
|
-
_POSIX_NAME_MAX 255
|
34
|
-
PATH_MAX 4096
|
35
|
-
_POSIX_PATH_MAX 4096
|
36
|
-
PIPE_BUF 4096
|
37
|
-
_POSIX_PIPE_BUF 4096
|
38
|
-
SOCK_MAXBUF
|
39
|
-
_POSIX_ASYNC_IO
|
40
|
-
_POSIX_CHOWN_RESTRICTED 1
|
41
|
-
_POSIX_NO_TRUNC 1
|
42
|
-
_POSIX_PRIO_IO
|
43
|
-
_POSIX_SYNC_IO
|
44
|
-
_POSIX_VDISABLE 0
|
45
|
-
ARG_MAX 2097152
|
46
|
-
ATEXIT_MAX 2147483647
|
47
|
-
CHAR_BIT 8
|
48
|
-
CHAR_MAX 127
|
49
|
-
CHAR_MIN -128
|
50
|
-
CHILD_MAX 63672
|
51
|
-
CLK_TCK 100
|
52
|
-
INT_MAX 2147483647
|
53
|
-
INT_MIN -2147483648
|
54
|
-
IOV_MAX 1024
|
55
|
-
LOGNAME_MAX 256
|
56
|
-
LONG_BIT 64
|
57
|
-
MB_LEN_MAX 16
|
58
|
-
NGROUPS_MAX 65536
|
59
|
-
NL_ARGMAX 4096
|
60
|
-
NL_LANGMAX 2048
|
61
|
-
NL_MSGMAX 2147483647
|
62
|
-
NL_NMAX 2147483647
|
63
|
-
NL_SETMAX 2147483647
|
64
|
-
NL_TEXTMAX 2147483647
|
65
|
-
NSS_BUFLEN_GROUP 1024
|
66
|
-
NSS_BUFLEN_PASSWD 1024
|
67
|
-
NZERO 20
|
68
|
-
OPEN_MAX 1024
|
69
|
-
PAGESIZE 4096
|
70
|
-
PAGE_SIZE 4096
|
71
|
-
PASS_MAX 8192
|
72
|
-
PTHREAD_DESTRUCTOR_ITERATIONS 4
|
73
|
-
PTHREAD_KEYS_MAX 1024
|
74
|
-
PTHREAD_STACK_MIN 16384
|
75
|
-
PTHREAD_THREADS_MAX
|
76
|
-
SCHAR_MAX 127
|
77
|
-
SCHAR_MIN -128
|
78
|
-
SHRT_MAX 32767
|
79
|
-
SHRT_MIN -32768
|
80
|
-
SSIZE_MAX 32767
|
81
|
-
TTY_NAME_MAX 32
|
82
|
-
TZNAME_MAX 6
|
83
|
-
UCHAR_MAX 255
|
84
|
-
UINT_MAX 4294967295
|
85
|
-
UIO_MAXIOV 1024
|
86
|
-
ULONG_MAX 18446744073709551615
|
87
|
-
USHRT_MAX 65535
|
88
|
-
WORD_BIT 32
|
89
|
-
_AVPHYS_PAGES 2101393
|
90
|
-
_NPROCESSORS_CONF 8
|
91
|
-
_NPROCESSORS_ONLN 8
|
92
|
-
_PHYS_PAGES 4096040
|
93
|
-
_POSIX_ARG_MAX 2097152
|
94
|
-
_POSIX_ASYNCHRONOUS_IO 200809
|
95
|
-
_POSIX_CHILD_MAX 63672
|
96
|
-
_POSIX_FSYNC 200809
|
97
|
-
_POSIX_JOB_CONTROL 1
|
98
|
-
_POSIX_MAPPED_FILES 200809
|
99
|
-
_POSIX_MEMLOCK 200809
|
100
|
-
_POSIX_MEMLOCK_RANGE 200809
|
101
|
-
_POSIX_MEMORY_PROTECTION 200809
|
102
|
-
_POSIX_MESSAGE_PASSING 200809
|
103
|
-
_POSIX_NGROUPS_MAX 65536
|
104
|
-
_POSIX_OPEN_MAX 1024
|
105
|
-
_POSIX_PII
|
106
|
-
_POSIX_PII_INTERNET
|
107
|
-
_POSIX_PII_INTERNET_DGRAM
|
108
|
-
_POSIX_PII_INTERNET_STREAM
|
109
|
-
_POSIX_PII_OSI
|
110
|
-
_POSIX_PII_OSI_CLTS
|
111
|
-
_POSIX_PII_OSI_COTS
|
112
|
-
_POSIX_PII_OSI_M
|
113
|
-
_POSIX_PII_SOCKET
|
114
|
-
_POSIX_PII_XTI
|
115
|
-
_POSIX_POLL
|
116
|
-
_POSIX_PRIORITIZED_IO 200809
|
117
|
-
_POSIX_PRIORITY_SCHEDULING 200809
|
118
|
-
_POSIX_REALTIME_SIGNALS 200809
|
119
|
-
_POSIX_SAVED_IDS 1
|
120
|
-
_POSIX_SELECT
|
121
|
-
_POSIX_SEMAPHORES 200809
|
122
|
-
_POSIX_SHARED_MEMORY_OBJECTS 200809
|
123
|
-
_POSIX_SSIZE_MAX 32767
|
124
|
-
_POSIX_STREAM_MAX 16
|
125
|
-
_POSIX_SYNCHRONIZED_IO 200809
|
126
|
-
_POSIX_THREADS 200809
|
127
|
-
_POSIX_THREAD_ATTR_STACKADDR 200809
|
128
|
-
_POSIX_THREAD_ATTR_STACKSIZE 200809
|
129
|
-
_POSIX_THREAD_PRIORITY_SCHEDULING 200809
|
130
|
-
_POSIX_THREAD_PRIO_INHERIT 200809
|
131
|
-
_POSIX_THREAD_PRIO_PROTECT 200809
|
132
|
-
_POSIX_THREAD_ROBUST_PRIO_INHERIT
|
133
|
-
_POSIX_THREAD_ROBUST_PRIO_PROTECT
|
134
|
-
_POSIX_THREAD_PROCESS_SHARED 200809
|
135
|
-
_POSIX_THREAD_SAFE_FUNCTIONS 200809
|
136
|
-
_POSIX_TIMERS 200809
|
137
|
-
TIMER_MAX
|
138
|
-
_POSIX_TZNAME_MAX 6
|
139
|
-
_POSIX_VERSION 200809
|
140
|
-
_T_IOV_MAX
|
141
|
-
_XOPEN_CRYPT 1
|
142
|
-
_XOPEN_ENH_I18N 1
|
143
|
-
_XOPEN_LEGACY 1
|
144
|
-
_XOPEN_REALTIME 1
|
145
|
-
_XOPEN_REALTIME_THREADS 1
|
146
|
-
_XOPEN_SHM 1
|
147
|
-
_XOPEN_UNIX 1
|
148
|
-
_XOPEN_VERSION 700
|
149
|
-
_XOPEN_XCU_VERSION 4
|
150
|
-
_XOPEN_XPG2 1
|
151
|
-
_XOPEN_XPG3 1
|
152
|
-
_XOPEN_XPG4 1
|
153
|
-
BC_BASE_MAX 99
|
154
|
-
BC_DIM_MAX 2048
|
155
|
-
BC_SCALE_MAX 99
|
156
|
-
BC_STRING_MAX 1000
|
157
|
-
CHARCLASS_NAME_MAX 2048
|
158
|
-
COLL_WEIGHTS_MAX 255
|
159
|
-
EQUIV_CLASS_MAX
|
160
|
-
EXPR_NEST_MAX 32
|
161
|
-
LINE_MAX 2048
|
162
|
-
POSIX2_BC_BASE_MAX 99
|
163
|
-
POSIX2_BC_DIM_MAX 2048
|
164
|
-
POSIX2_BC_SCALE_MAX 99
|
165
|
-
POSIX2_BC_STRING_MAX 1000
|
166
|
-
POSIX2_CHAR_TERM 200809
|
167
|
-
POSIX2_COLL_WEIGHTS_MAX 255
|
168
|
-
POSIX2_C_BIND 200809
|
169
|
-
POSIX2_C_DEV 200809
|
170
|
-
POSIX2_C_VERSION 200809
|
171
|
-
POSIX2_EXPR_NEST_MAX 32
|
172
|
-
POSIX2_FORT_DEV
|
173
|
-
POSIX2_FORT_RUN
|
174
|
-
_POSIX2_LINE_MAX 2048
|
175
|
-
POSIX2_LINE_MAX 2048
|
176
|
-
POSIX2_LOCALEDEF 200809
|
177
|
-
POSIX2_RE_DUP_MAX 32767
|
178
|
-
POSIX2_SW_DEV 200809
|
179
|
-
POSIX2_UPE
|
180
|
-
POSIX2_VERSION 200809
|
181
|
-
RE_DUP_MAX 32767
|
182
|
-
PATH /bin:/usr/bin
|
183
|
-
CS_PATH /bin:/usr/bin
|
184
|
-
LFS_CFLAGS
|
185
|
-
LFS_LDFLAGS
|
186
|
-
LFS_LIBS
|
187
|
-
LFS_LINTFLAGS
|
188
|
-
LFS64_CFLAGS -D_LARGEFILE64_SOURCE
|
189
|
-
LFS64_LDFLAGS
|
190
|
-
LFS64_LIBS
|
191
|
-
LFS64_LINTFLAGS -D_LARGEFILE64_SOURCE
|
192
|
-
_XBS5_WIDTH_RESTRICTED_ENVS XBS5_LP64_OFF64
|
193
|
-
XBS5_WIDTH_RESTRICTED_ENVS XBS5_LP64_OFF64
|
194
|
-
_XBS5_ILP32_OFF32
|
195
|
-
XBS5_ILP32_OFF32_CFLAGS
|
196
|
-
XBS5_ILP32_OFF32_LDFLAGS
|
197
|
-
XBS5_ILP32_OFF32_LIBS
|
198
|
-
XBS5_ILP32_OFF32_LINTFLAGS
|
199
|
-
_XBS5_ILP32_OFFBIG
|
200
|
-
XBS5_ILP32_OFFBIG_CFLAGS
|
201
|
-
XBS5_ILP32_OFFBIG_LDFLAGS
|
202
|
-
XBS5_ILP32_OFFBIG_LIBS
|
203
|
-
XBS5_ILP32_OFFBIG_LINTFLAGS
|
204
|
-
_XBS5_LP64_OFF64 1
|
205
|
-
XBS5_LP64_OFF64_CFLAGS -m64
|
206
|
-
XBS5_LP64_OFF64_LDFLAGS -m64
|
207
|
-
XBS5_LP64_OFF64_LIBS
|
208
|
-
XBS5_LP64_OFF64_LINTFLAGS
|
209
|
-
_XBS5_LPBIG_OFFBIG
|
210
|
-
XBS5_LPBIG_OFFBIG_CFLAGS
|
211
|
-
XBS5_LPBIG_OFFBIG_LDFLAGS
|
212
|
-
XBS5_LPBIG_OFFBIG_LIBS
|
213
|
-
XBS5_LPBIG_OFFBIG_LINTFLAGS
|
214
|
-
_POSIX_V6_ILP32_OFF32
|
215
|
-
POSIX_V6_ILP32_OFF32_CFLAGS
|
216
|
-
POSIX_V6_ILP32_OFF32_LDFLAGS
|
217
|
-
POSIX_V6_ILP32_OFF32_LIBS
|
218
|
-
POSIX_V6_ILP32_OFF32_LINTFLAGS
|
219
|
-
_POSIX_V6_WIDTH_RESTRICTED_ENVS POSIX_V6_LP64_OFF64
|
220
|
-
POSIX_V6_WIDTH_RESTRICTED_ENVS POSIX_V6_LP64_OFF64
|
221
|
-
_POSIX_V6_ILP32_OFFBIG
|
222
|
-
POSIX_V6_ILP32_OFFBIG_CFLAGS
|
223
|
-
POSIX_V6_ILP32_OFFBIG_LDFLAGS
|
224
|
-
POSIX_V6_ILP32_OFFBIG_LIBS
|
225
|
-
POSIX_V6_ILP32_OFFBIG_LINTFLAGS
|
226
|
-
_POSIX_V6_LP64_OFF64 1
|
227
|
-
POSIX_V6_LP64_OFF64_CFLAGS -m64
|
228
|
-
POSIX_V6_LP64_OFF64_LDFLAGS -m64
|
229
|
-
POSIX_V6_LP64_OFF64_LIBS
|
230
|
-
POSIX_V6_LP64_OFF64_LINTFLAGS
|
231
|
-
_POSIX_V6_LPBIG_OFFBIG
|
232
|
-
POSIX_V6_LPBIG_OFFBIG_CFLAGS
|
233
|
-
POSIX_V6_LPBIG_OFFBIG_LDFLAGS
|
234
|
-
POSIX_V6_LPBIG_OFFBIG_LIBS
|
235
|
-
POSIX_V6_LPBIG_OFFBIG_LINTFLAGS
|
236
|
-
_POSIX_V7_ILP32_OFF32
|
237
|
-
POSIX_V7_ILP32_OFF32_CFLAGS
|
238
|
-
POSIX_V7_ILP32_OFF32_LDFLAGS
|
239
|
-
POSIX_V7_ILP32_OFF32_LIBS
|
240
|
-
POSIX_V7_ILP32_OFF32_LINTFLAGS
|
241
|
-
_POSIX_V7_WIDTH_RESTRICTED_ENVS POSIX_V7_LP64_OFF64
|
242
|
-
POSIX_V7_WIDTH_RESTRICTED_ENVS POSIX_V7_LP64_OFF64
|
243
|
-
_POSIX_V7_ILP32_OFFBIG
|
244
|
-
POSIX_V7_ILP32_OFFBIG_CFLAGS
|
245
|
-
POSIX_V7_ILP32_OFFBIG_LDFLAGS
|
246
|
-
POSIX_V7_ILP32_OFFBIG_LIBS
|
247
|
-
POSIX_V7_ILP32_OFFBIG_LINTFLAGS
|
248
|
-
_POSIX_V7_LP64_OFF64 1
|
249
|
-
POSIX_V7_LP64_OFF64_CFLAGS -m64
|
250
|
-
POSIX_V7_LP64_OFF64_LDFLAGS -m64
|
251
|
-
POSIX_V7_LP64_OFF64_LIBS
|
252
|
-
POSIX_V7_LP64_OFF64_LINTFLAGS
|
253
|
-
_POSIX_V7_LPBIG_OFFBIG
|
254
|
-
POSIX_V7_LPBIG_OFFBIG_CFLAGS
|
255
|
-
POSIX_V7_LPBIG_OFFBIG_LDFLAGS
|
256
|
-
POSIX_V7_LPBIG_OFFBIG_LIBS
|
257
|
-
POSIX_V7_LPBIG_OFFBIG_LINTFLAGS
|
258
|
-
_POSIX_ADVISORY_INFO 200809
|
259
|
-
_POSIX_BARRIERS 200809
|
260
|
-
_POSIX_BASE
|
261
|
-
_POSIX_C_LANG_SUPPORT
|
262
|
-
_POSIX_C_LANG_SUPPORT_R
|
263
|
-
_POSIX_CLOCK_SELECTION 200809
|
264
|
-
_POSIX_CPUTIME 200809
|
265
|
-
_POSIX_THREAD_CPUTIME 200809
|
266
|
-
_POSIX_DEVICE_SPECIFIC
|
267
|
-
_POSIX_DEVICE_SPECIFIC_R
|
268
|
-
_POSIX_FD_MGMT
|
269
|
-
_POSIX_FIFO
|
270
|
-
_POSIX_PIPE
|
271
|
-
_POSIX_FILE_ATTRIBUTES
|
272
|
-
_POSIX_FILE_LOCKING
|
273
|
-
_POSIX_FILE_SYSTEM
|
274
|
-
_POSIX_MONOTONIC_CLOCK 200809
|
275
|
-
_POSIX_MULTI_PROCESS
|
276
|
-
_POSIX_SINGLE_PROCESS
|
277
|
-
_POSIX_NETWORKING
|
278
|
-
_POSIX_READER_WRITER_LOCKS 200809
|
279
|
-
_POSIX_SPIN_LOCKS 200809
|
280
|
-
_POSIX_REGEXP 1
|
281
|
-
_REGEX_VERSION
|
282
|
-
_POSIX_SHELL 1
|
283
|
-
_POSIX_SIGNALS
|
284
|
-
_POSIX_SPAWN 200809
|
285
|
-
_POSIX_SPORADIC_SERVER
|
286
|
-
_POSIX_THREAD_SPORADIC_SERVER
|
287
|
-
_POSIX_SYSTEM_DATABASE
|
288
|
-
_POSIX_SYSTEM_DATABASE_R
|
289
|
-
_POSIX_TIMEOUTS 200809
|
290
|
-
_POSIX_TYPED_MEMORY_OBJECTS
|
291
|
-
_POSIX_USER_GROUPS
|
292
|
-
_POSIX_USER_GROUPS_R
|
293
|
-
POSIX2_PBS
|
294
|
-
POSIX2_PBS_ACCOUNTING
|
295
|
-
POSIX2_PBS_LOCATE
|
296
|
-
POSIX2_PBS_TRACK
|
297
|
-
POSIX2_PBS_MESSAGE
|
298
|
-
SYMLOOP_MAX
|
299
|
-
STREAM_MAX 16
|
300
|
-
AIO_LISTIO_MAX
|
301
|
-
AIO_MAX
|
302
|
-
AIO_PRIO_DELTA_MAX 20
|
303
|
-
DELAYTIMER_MAX 2147483647
|
304
|
-
HOST_NAME_MAX 64
|
305
|
-
LOGIN_NAME_MAX 256
|
306
|
-
MQ_OPEN_MAX
|
307
|
-
MQ_PRIO_MAX 32768
|
308
|
-
_POSIX_DEVICE_IO
|
309
|
-
_POSIX_TRACE
|
310
|
-
_POSIX_TRACE_EVENT_FILTER
|
311
|
-
_POSIX_TRACE_INHERIT
|
312
|
-
_POSIX_TRACE_LOG
|
313
|
-
RTSIG_MAX 32
|
314
|
-
SEM_NSEMS_MAX
|
315
|
-
SEM_VALUE_MAX 2147483647
|
316
|
-
SIGQUEUE_MAX 63672
|
317
|
-
FILESIZEBITS 64
|
318
|
-
POSIX_ALLOC_SIZE_MIN 4096
|
319
|
-
POSIX_REC_INCR_XFER_SIZE
|
320
|
-
POSIX_REC_MAX_XFER_SIZE
|
321
|
-
POSIX_REC_MIN_XFER_SIZE 4096
|
322
|
-
POSIX_REC_XFER_ALIGN 4096
|
323
|
-
SYMLINK_MAX
|
324
|
-
GNU_LIBC_VERSION glibc 2.24
|
325
|
-
GNU_LIBPTHREAD_VERSION NPTL 2.24
|
326
|
-
POSIX2_SYMLINKS 1
|
327
|
-
LEVEL1_ICACHE_SIZE 32768
|
328
|
-
LEVEL1_ICACHE_ASSOC 8
|
329
|
-
LEVEL1_ICACHE_LINESIZE 64
|
330
|
-
LEVEL1_DCACHE_SIZE 32768
|
331
|
-
LEVEL1_DCACHE_ASSOC 8
|
332
|
-
LEVEL1_DCACHE_LINESIZE 64
|
333
|
-
LEVEL2_CACHE_SIZE 262144
|
334
|
-
LEVEL2_CACHE_ASSOC 4
|
335
|
-
LEVEL2_CACHE_LINESIZE 64
|
336
|
-
LEVEL3_CACHE_SIZE 8388608
|
337
|
-
LEVEL3_CACHE_ASSOC 16
|
338
|
-
LEVEL3_CACHE_LINESIZE 64
|
339
|
-
LEVEL4_CACHE_SIZE 0
|
340
|
-
LEVEL4_CACHE_ASSOC 0
|
341
|
-
LEVEL4_CACHE_LINESIZE 0
|
342
|
-
IPV6 200809
|
343
|
-
RAW_SOCKETS 200809
|
344
|
-
_POSIX_IPV6 200809
|
345
|
-
_POSIX_RAW_SOCKETS 200809
|
25
|
+
getconf_out = <<~GETCONF_OUT
|
26
|
+
LINK_MAX 65000
|
27
|
+
_POSIX_LINK_MAX 65000
|
28
|
+
MAX_CANON 255
|
29
|
+
_POSIX_MAX_CANON 255
|
30
|
+
MAX_INPUT 255
|
31
|
+
_POSIX_MAX_INPUT 255
|
32
|
+
NAME_MAX 255
|
33
|
+
_POSIX_NAME_MAX 255
|
34
|
+
PATH_MAX 4096
|
35
|
+
_POSIX_PATH_MAX 4096
|
36
|
+
PIPE_BUF 4096
|
37
|
+
_POSIX_PIPE_BUF 4096
|
38
|
+
SOCK_MAXBUF
|
39
|
+
_POSIX_ASYNC_IO
|
40
|
+
_POSIX_CHOWN_RESTRICTED 1
|
41
|
+
_POSIX_NO_TRUNC 1
|
42
|
+
_POSIX_PRIO_IO
|
43
|
+
_POSIX_SYNC_IO
|
44
|
+
_POSIX_VDISABLE 0
|
45
|
+
ARG_MAX 2097152
|
46
|
+
ATEXIT_MAX 2147483647
|
47
|
+
CHAR_BIT 8
|
48
|
+
CHAR_MAX 127
|
49
|
+
CHAR_MIN -128
|
50
|
+
CHILD_MAX 63672
|
51
|
+
CLK_TCK 100
|
52
|
+
INT_MAX 2147483647
|
53
|
+
INT_MIN -2147483648
|
54
|
+
IOV_MAX 1024
|
55
|
+
LOGNAME_MAX 256
|
56
|
+
LONG_BIT 64
|
57
|
+
MB_LEN_MAX 16
|
58
|
+
NGROUPS_MAX 65536
|
59
|
+
NL_ARGMAX 4096
|
60
|
+
NL_LANGMAX 2048
|
61
|
+
NL_MSGMAX 2147483647
|
62
|
+
NL_NMAX 2147483647
|
63
|
+
NL_SETMAX 2147483647
|
64
|
+
NL_TEXTMAX 2147483647
|
65
|
+
NSS_BUFLEN_GROUP 1024
|
66
|
+
NSS_BUFLEN_PASSWD 1024
|
67
|
+
NZERO 20
|
68
|
+
OPEN_MAX 1024
|
69
|
+
PAGESIZE 4096
|
70
|
+
PAGE_SIZE 4096
|
71
|
+
PASS_MAX 8192
|
72
|
+
PTHREAD_DESTRUCTOR_ITERATIONS 4
|
73
|
+
PTHREAD_KEYS_MAX 1024
|
74
|
+
PTHREAD_STACK_MIN 16384
|
75
|
+
PTHREAD_THREADS_MAX
|
76
|
+
SCHAR_MAX 127
|
77
|
+
SCHAR_MIN -128
|
78
|
+
SHRT_MAX 32767
|
79
|
+
SHRT_MIN -32768
|
80
|
+
SSIZE_MAX 32767
|
81
|
+
TTY_NAME_MAX 32
|
82
|
+
TZNAME_MAX 6
|
83
|
+
UCHAR_MAX 255
|
84
|
+
UINT_MAX 4294967295
|
85
|
+
UIO_MAXIOV 1024
|
86
|
+
ULONG_MAX 18446744073709551615
|
87
|
+
USHRT_MAX 65535
|
88
|
+
WORD_BIT 32
|
89
|
+
_AVPHYS_PAGES 2101393
|
90
|
+
_NPROCESSORS_CONF 8
|
91
|
+
_NPROCESSORS_ONLN 8
|
92
|
+
_PHYS_PAGES 4096040
|
93
|
+
_POSIX_ARG_MAX 2097152
|
94
|
+
_POSIX_ASYNCHRONOUS_IO 200809
|
95
|
+
_POSIX_CHILD_MAX 63672
|
96
|
+
_POSIX_FSYNC 200809
|
97
|
+
_POSIX_JOB_CONTROL 1
|
98
|
+
_POSIX_MAPPED_FILES 200809
|
99
|
+
_POSIX_MEMLOCK 200809
|
100
|
+
_POSIX_MEMLOCK_RANGE 200809
|
101
|
+
_POSIX_MEMORY_PROTECTION 200809
|
102
|
+
_POSIX_MESSAGE_PASSING 200809
|
103
|
+
_POSIX_NGROUPS_MAX 65536
|
104
|
+
_POSIX_OPEN_MAX 1024
|
105
|
+
_POSIX_PII
|
106
|
+
_POSIX_PII_INTERNET
|
107
|
+
_POSIX_PII_INTERNET_DGRAM
|
108
|
+
_POSIX_PII_INTERNET_STREAM
|
109
|
+
_POSIX_PII_OSI
|
110
|
+
_POSIX_PII_OSI_CLTS
|
111
|
+
_POSIX_PII_OSI_COTS
|
112
|
+
_POSIX_PII_OSI_M
|
113
|
+
_POSIX_PII_SOCKET
|
114
|
+
_POSIX_PII_XTI
|
115
|
+
_POSIX_POLL
|
116
|
+
_POSIX_PRIORITIZED_IO 200809
|
117
|
+
_POSIX_PRIORITY_SCHEDULING 200809
|
118
|
+
_POSIX_REALTIME_SIGNALS 200809
|
119
|
+
_POSIX_SAVED_IDS 1
|
120
|
+
_POSIX_SELECT
|
121
|
+
_POSIX_SEMAPHORES 200809
|
122
|
+
_POSIX_SHARED_MEMORY_OBJECTS 200809
|
123
|
+
_POSIX_SSIZE_MAX 32767
|
124
|
+
_POSIX_STREAM_MAX 16
|
125
|
+
_POSIX_SYNCHRONIZED_IO 200809
|
126
|
+
_POSIX_THREADS 200809
|
127
|
+
_POSIX_THREAD_ATTR_STACKADDR 200809
|
128
|
+
_POSIX_THREAD_ATTR_STACKSIZE 200809
|
129
|
+
_POSIX_THREAD_PRIORITY_SCHEDULING 200809
|
130
|
+
_POSIX_THREAD_PRIO_INHERIT 200809
|
131
|
+
_POSIX_THREAD_PRIO_PROTECT 200809
|
132
|
+
_POSIX_THREAD_ROBUST_PRIO_INHERIT
|
133
|
+
_POSIX_THREAD_ROBUST_PRIO_PROTECT
|
134
|
+
_POSIX_THREAD_PROCESS_SHARED 200809
|
135
|
+
_POSIX_THREAD_SAFE_FUNCTIONS 200809
|
136
|
+
_POSIX_TIMERS 200809
|
137
|
+
TIMER_MAX
|
138
|
+
_POSIX_TZNAME_MAX 6
|
139
|
+
_POSIX_VERSION 200809
|
140
|
+
_T_IOV_MAX
|
141
|
+
_XOPEN_CRYPT 1
|
142
|
+
_XOPEN_ENH_I18N 1
|
143
|
+
_XOPEN_LEGACY 1
|
144
|
+
_XOPEN_REALTIME 1
|
145
|
+
_XOPEN_REALTIME_THREADS 1
|
146
|
+
_XOPEN_SHM 1
|
147
|
+
_XOPEN_UNIX 1
|
148
|
+
_XOPEN_VERSION 700
|
149
|
+
_XOPEN_XCU_VERSION 4
|
150
|
+
_XOPEN_XPG2 1
|
151
|
+
_XOPEN_XPG3 1
|
152
|
+
_XOPEN_XPG4 1
|
153
|
+
BC_BASE_MAX 99
|
154
|
+
BC_DIM_MAX 2048
|
155
|
+
BC_SCALE_MAX 99
|
156
|
+
BC_STRING_MAX 1000
|
157
|
+
CHARCLASS_NAME_MAX 2048
|
158
|
+
COLL_WEIGHTS_MAX 255
|
159
|
+
EQUIV_CLASS_MAX
|
160
|
+
EXPR_NEST_MAX 32
|
161
|
+
LINE_MAX 2048
|
162
|
+
POSIX2_BC_BASE_MAX 99
|
163
|
+
POSIX2_BC_DIM_MAX 2048
|
164
|
+
POSIX2_BC_SCALE_MAX 99
|
165
|
+
POSIX2_BC_STRING_MAX 1000
|
166
|
+
POSIX2_CHAR_TERM 200809
|
167
|
+
POSIX2_COLL_WEIGHTS_MAX 255
|
168
|
+
POSIX2_C_BIND 200809
|
169
|
+
POSIX2_C_DEV 200809
|
170
|
+
POSIX2_C_VERSION 200809
|
171
|
+
POSIX2_EXPR_NEST_MAX 32
|
172
|
+
POSIX2_FORT_DEV
|
173
|
+
POSIX2_FORT_RUN
|
174
|
+
_POSIX2_LINE_MAX 2048
|
175
|
+
POSIX2_LINE_MAX 2048
|
176
|
+
POSIX2_LOCALEDEF 200809
|
177
|
+
POSIX2_RE_DUP_MAX 32767
|
178
|
+
POSIX2_SW_DEV 200809
|
179
|
+
POSIX2_UPE
|
180
|
+
POSIX2_VERSION 200809
|
181
|
+
RE_DUP_MAX 32767
|
182
|
+
PATH /bin:/usr/bin
|
183
|
+
CS_PATH /bin:/usr/bin
|
184
|
+
LFS_CFLAGS
|
185
|
+
LFS_LDFLAGS
|
186
|
+
LFS_LIBS
|
187
|
+
LFS_LINTFLAGS
|
188
|
+
LFS64_CFLAGS -D_LARGEFILE64_SOURCE
|
189
|
+
LFS64_LDFLAGS
|
190
|
+
LFS64_LIBS
|
191
|
+
LFS64_LINTFLAGS -D_LARGEFILE64_SOURCE
|
192
|
+
_XBS5_WIDTH_RESTRICTED_ENVS XBS5_LP64_OFF64
|
193
|
+
XBS5_WIDTH_RESTRICTED_ENVS XBS5_LP64_OFF64
|
194
|
+
_XBS5_ILP32_OFF32
|
195
|
+
XBS5_ILP32_OFF32_CFLAGS
|
196
|
+
XBS5_ILP32_OFF32_LDFLAGS
|
197
|
+
XBS5_ILP32_OFF32_LIBS
|
198
|
+
XBS5_ILP32_OFF32_LINTFLAGS
|
199
|
+
_XBS5_ILP32_OFFBIG
|
200
|
+
XBS5_ILP32_OFFBIG_CFLAGS
|
201
|
+
XBS5_ILP32_OFFBIG_LDFLAGS
|
202
|
+
XBS5_ILP32_OFFBIG_LIBS
|
203
|
+
XBS5_ILP32_OFFBIG_LINTFLAGS
|
204
|
+
_XBS5_LP64_OFF64 1
|
205
|
+
XBS5_LP64_OFF64_CFLAGS -m64
|
206
|
+
XBS5_LP64_OFF64_LDFLAGS -m64
|
207
|
+
XBS5_LP64_OFF64_LIBS
|
208
|
+
XBS5_LP64_OFF64_LINTFLAGS
|
209
|
+
_XBS5_LPBIG_OFFBIG
|
210
|
+
XBS5_LPBIG_OFFBIG_CFLAGS
|
211
|
+
XBS5_LPBIG_OFFBIG_LDFLAGS
|
212
|
+
XBS5_LPBIG_OFFBIG_LIBS
|
213
|
+
XBS5_LPBIG_OFFBIG_LINTFLAGS
|
214
|
+
_POSIX_V6_ILP32_OFF32
|
215
|
+
POSIX_V6_ILP32_OFF32_CFLAGS
|
216
|
+
POSIX_V6_ILP32_OFF32_LDFLAGS
|
217
|
+
POSIX_V6_ILP32_OFF32_LIBS
|
218
|
+
POSIX_V6_ILP32_OFF32_LINTFLAGS
|
219
|
+
_POSIX_V6_WIDTH_RESTRICTED_ENVS POSIX_V6_LP64_OFF64
|
220
|
+
POSIX_V6_WIDTH_RESTRICTED_ENVS POSIX_V6_LP64_OFF64
|
221
|
+
_POSIX_V6_ILP32_OFFBIG
|
222
|
+
POSIX_V6_ILP32_OFFBIG_CFLAGS
|
223
|
+
POSIX_V6_ILP32_OFFBIG_LDFLAGS
|
224
|
+
POSIX_V6_ILP32_OFFBIG_LIBS
|
225
|
+
POSIX_V6_ILP32_OFFBIG_LINTFLAGS
|
226
|
+
_POSIX_V6_LP64_OFF64 1
|
227
|
+
POSIX_V6_LP64_OFF64_CFLAGS -m64
|
228
|
+
POSIX_V6_LP64_OFF64_LDFLAGS -m64
|
229
|
+
POSIX_V6_LP64_OFF64_LIBS
|
230
|
+
POSIX_V6_LP64_OFF64_LINTFLAGS
|
231
|
+
_POSIX_V6_LPBIG_OFFBIG
|
232
|
+
POSIX_V6_LPBIG_OFFBIG_CFLAGS
|
233
|
+
POSIX_V6_LPBIG_OFFBIG_LDFLAGS
|
234
|
+
POSIX_V6_LPBIG_OFFBIG_LIBS
|
235
|
+
POSIX_V6_LPBIG_OFFBIG_LINTFLAGS
|
236
|
+
_POSIX_V7_ILP32_OFF32
|
237
|
+
POSIX_V7_ILP32_OFF32_CFLAGS
|
238
|
+
POSIX_V7_ILP32_OFF32_LDFLAGS
|
239
|
+
POSIX_V7_ILP32_OFF32_LIBS
|
240
|
+
POSIX_V7_ILP32_OFF32_LINTFLAGS
|
241
|
+
_POSIX_V7_WIDTH_RESTRICTED_ENVS POSIX_V7_LP64_OFF64
|
242
|
+
POSIX_V7_WIDTH_RESTRICTED_ENVS POSIX_V7_LP64_OFF64
|
243
|
+
_POSIX_V7_ILP32_OFFBIG
|
244
|
+
POSIX_V7_ILP32_OFFBIG_CFLAGS
|
245
|
+
POSIX_V7_ILP32_OFFBIG_LDFLAGS
|
246
|
+
POSIX_V7_ILP32_OFFBIG_LIBS
|
247
|
+
POSIX_V7_ILP32_OFFBIG_LINTFLAGS
|
248
|
+
_POSIX_V7_LP64_OFF64 1
|
249
|
+
POSIX_V7_LP64_OFF64_CFLAGS -m64
|
250
|
+
POSIX_V7_LP64_OFF64_LDFLAGS -m64
|
251
|
+
POSIX_V7_LP64_OFF64_LIBS
|
252
|
+
POSIX_V7_LP64_OFF64_LINTFLAGS
|
253
|
+
_POSIX_V7_LPBIG_OFFBIG
|
254
|
+
POSIX_V7_LPBIG_OFFBIG_CFLAGS
|
255
|
+
POSIX_V7_LPBIG_OFFBIG_LDFLAGS
|
256
|
+
POSIX_V7_LPBIG_OFFBIG_LIBS
|
257
|
+
POSIX_V7_LPBIG_OFFBIG_LINTFLAGS
|
258
|
+
_POSIX_ADVISORY_INFO 200809
|
259
|
+
_POSIX_BARRIERS 200809
|
260
|
+
_POSIX_BASE
|
261
|
+
_POSIX_C_LANG_SUPPORT
|
262
|
+
_POSIX_C_LANG_SUPPORT_R
|
263
|
+
_POSIX_CLOCK_SELECTION 200809
|
264
|
+
_POSIX_CPUTIME 200809
|
265
|
+
_POSIX_THREAD_CPUTIME 200809
|
266
|
+
_POSIX_DEVICE_SPECIFIC
|
267
|
+
_POSIX_DEVICE_SPECIFIC_R
|
268
|
+
_POSIX_FD_MGMT
|
269
|
+
_POSIX_FIFO
|
270
|
+
_POSIX_PIPE
|
271
|
+
_POSIX_FILE_ATTRIBUTES
|
272
|
+
_POSIX_FILE_LOCKING
|
273
|
+
_POSIX_FILE_SYSTEM
|
274
|
+
_POSIX_MONOTONIC_CLOCK 200809
|
275
|
+
_POSIX_MULTI_PROCESS
|
276
|
+
_POSIX_SINGLE_PROCESS
|
277
|
+
_POSIX_NETWORKING
|
278
|
+
_POSIX_READER_WRITER_LOCKS 200809
|
279
|
+
_POSIX_SPIN_LOCKS 200809
|
280
|
+
_POSIX_REGEXP 1
|
281
|
+
_REGEX_VERSION
|
282
|
+
_POSIX_SHELL 1
|
283
|
+
_POSIX_SIGNALS
|
284
|
+
_POSIX_SPAWN 200809
|
285
|
+
_POSIX_SPORADIC_SERVER
|
286
|
+
_POSIX_THREAD_SPORADIC_SERVER
|
287
|
+
_POSIX_SYSTEM_DATABASE
|
288
|
+
_POSIX_SYSTEM_DATABASE_R
|
289
|
+
_POSIX_TIMEOUTS 200809
|
290
|
+
_POSIX_TYPED_MEMORY_OBJECTS
|
291
|
+
_POSIX_USER_GROUPS
|
292
|
+
_POSIX_USER_GROUPS_R
|
293
|
+
POSIX2_PBS
|
294
|
+
POSIX2_PBS_ACCOUNTING
|
295
|
+
POSIX2_PBS_LOCATE
|
296
|
+
POSIX2_PBS_TRACK
|
297
|
+
POSIX2_PBS_MESSAGE
|
298
|
+
SYMLOOP_MAX
|
299
|
+
STREAM_MAX 16
|
300
|
+
AIO_LISTIO_MAX
|
301
|
+
AIO_MAX
|
302
|
+
AIO_PRIO_DELTA_MAX 20
|
303
|
+
DELAYTIMER_MAX 2147483647
|
304
|
+
HOST_NAME_MAX 64
|
305
|
+
LOGIN_NAME_MAX 256
|
306
|
+
MQ_OPEN_MAX
|
307
|
+
MQ_PRIO_MAX 32768
|
308
|
+
_POSIX_DEVICE_IO
|
309
|
+
_POSIX_TRACE
|
310
|
+
_POSIX_TRACE_EVENT_FILTER
|
311
|
+
_POSIX_TRACE_INHERIT
|
312
|
+
_POSIX_TRACE_LOG
|
313
|
+
RTSIG_MAX 32
|
314
|
+
SEM_NSEMS_MAX
|
315
|
+
SEM_VALUE_MAX 2147483647
|
316
|
+
SIGQUEUE_MAX 63672
|
317
|
+
FILESIZEBITS 64
|
318
|
+
POSIX_ALLOC_SIZE_MIN 4096
|
319
|
+
POSIX_REC_INCR_XFER_SIZE
|
320
|
+
POSIX_REC_MAX_XFER_SIZE
|
321
|
+
POSIX_REC_MIN_XFER_SIZE 4096
|
322
|
+
POSIX_REC_XFER_ALIGN 4096
|
323
|
+
SYMLINK_MAX
|
324
|
+
GNU_LIBC_VERSION glibc 2.24
|
325
|
+
GNU_LIBPTHREAD_VERSION NPTL 2.24
|
326
|
+
POSIX2_SYMLINKS 1
|
327
|
+
LEVEL1_ICACHE_SIZE 32768
|
328
|
+
LEVEL1_ICACHE_ASSOC 8
|
329
|
+
LEVEL1_ICACHE_LINESIZE 64
|
330
|
+
LEVEL1_DCACHE_SIZE 32768
|
331
|
+
LEVEL1_DCACHE_ASSOC 8
|
332
|
+
LEVEL1_DCACHE_LINESIZE 64
|
333
|
+
LEVEL2_CACHE_SIZE 262144
|
334
|
+
LEVEL2_CACHE_ASSOC 4
|
335
|
+
LEVEL2_CACHE_LINESIZE 64
|
336
|
+
LEVEL3_CACHE_SIZE 8388608
|
337
|
+
LEVEL3_CACHE_ASSOC 16
|
338
|
+
LEVEL3_CACHE_LINESIZE 64
|
339
|
+
LEVEL4_CACHE_SIZE 0
|
340
|
+
LEVEL4_CACHE_ASSOC 0
|
341
|
+
LEVEL4_CACHE_LINESIZE 0
|
342
|
+
IPV6 200809
|
343
|
+
RAW_SOCKETS 200809
|
344
|
+
_POSIX_IPV6 200809
|
345
|
+
_POSIX_RAW_SOCKETS 200809
|
346
346
|
GETCONF_OUT
|
347
347
|
allow(plugin).to receive(:which).with("getconf").and_return("/usr/bin/getconf")
|
348
348
|
allow(plugin).to receive(:shell_out).with("/usr/bin/getconf -a").and_return(mock_shell_out(0, getconf_out, ""))
|