Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Side by Side Diff: tools/exception_port_tool.ad

Issue 728973002: Add TaskForPID() (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@process_info
Patch Set: Rebase Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | tools/exception_port_tool.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Crashpad Authors. All rights reserved. 1 // Copyright 2014 The Crashpad Authors. All rights reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License. 4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 *--show_bootstrap*='SERVICE':: 82 *--show_bootstrap*='SERVICE'::
83 Looks up 'SERVICE' with the bootstrap server and shows it. Normally, the handler 83 Looks up 'SERVICE' with the bootstrap server and shows it. Normally, the handler
84 port values displayed by the other *--show_** options are meaningless 84 port values displayed by the other *--show_** options are meaningless
85 handles, but by comparing them to the port values for known bootstrap services, 85 handles, but by comparing them to the port values for known bootstrap services,
86 it is possible to verify that they are set as intended. 86 it is possible to verify that they are set as intended.
87 87
88 *-p*, *--pid*='PID':: 88 *-p*, *--pid*='PID'::
89 For operations on the task target, including *--set_handler* with 'TARGET' set 89 For operations on the task target, including *--set_handler* with 'TARGET' set
90 to *task*, *--show_task*, and *--show_new_task*, operates on the task associated 90 to *task*, *--show_task*, and *--show_new_task*, operates on the task associated
91 with process id 'PID' instead of the current task associated with the tool. This 91 with process id 'PID' instead of the current task associated with the tool. When
92 option may be restricted to use by the superuser or processes permitted by 92 this option is supplied, 'COMMAND' must not be specified.
93 taskgated(8) to use +task_for_pid()+. When this option is supplied, 'COMMAND' 93 +
94 must not be specified. 94 This option uses +task_for_pid()+ to access the process’ task port. This
95 operation may be restricted to use by the superuser or processes permitted by
96 taskgated(8). Consequently, this program must normally be invoked by root to use
97 this option. It is possible to install this program as a setuid root executable
98 to overcome this limitation.
95 99
96 *-h*, *--show_host*:: 100 *-h*, *--show_host*::
97 Shows the original host exception ports before making any changes requested by 101 Shows the original host exception ports before making any changes requested by
98 *--set_handler*. This option is restricted to the superuser. 102 *--set_handler*. This option is restricted to the superuser.
99 103
100 *-t*, *--show_task*:: 104 *-t*, *--show_task*::
101 Shows the original task exception ports before making any changes requested by 105 Shows the original task exception ports before making any changes requested by
102 *--set_handler*. 106 *--set_handler*.
103 107
104 *--show_thread*:: 108 *--show_thread*::
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 Failure, with a message printed to the standard error stream. 174 Failure, with a message printed to the standard error stream.
171 175
172 *126*:: 176 *126*::
173 The program specified by 'COMMAND' was found, but could not be invoked. 177 The program specified by 'COMMAND' was found, but could not be invoked.
174 178
175 *127*:: 179 *127*::
176 The program specified by 'COMMAND' could not be found. 180 The program specified by 'COMMAND' could not be found.
177 181
178 == See Also 182 == See Also
179 183
180 exception_port_tool(1), 184 catch_exception_tool(1),
181 on_demand_service_tool(1) 185 on_demand_service_tool(1)
182 186
183 include::man_footer.ad[] 187 include::man_footer.ad[]
OLDNEW
« no previous file with comments | « no previous file | tools/exception_port_tool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698