OLD | NEW |
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 19 matching lines...) Expand all Loading... |
30 This program is Crashpad’s main exception-handling server. This server is | 30 This program is Crashpad’s main exception-handling server. This server is |
31 normally started by its initial client, and it performs a handshake with this | 31 normally started by its initial client, and it performs a handshake with this |
32 client via a pipe established by the client that is inherited by the server, | 32 client via a pipe established by the client that is inherited by the server, |
33 referenced by the *--handshake-fd* argument. During the handshake, the server | 33 referenced by the *--handshake-fd* argument. During the handshake, the server |
34 furnishes the client with a send right that the client may use as an exception | 34 furnishes the client with a send right that the client may use as an exception |
35 port. The server retains the corresponding receive right, which it monitors for | 35 port. The server retains the corresponding receive right, which it monitors for |
36 exception messages. When the receive right loses all senders, the server exits. | 36 exception messages. When the receive right loses all senders, the server exits. |
37 | 37 |
38 It is not normally appropriate to invoke this program directly. Usually, it will | 38 It is not normally appropriate to invoke this program directly. Usually, it will |
39 be invoked by a Crashpad client using the Crashpad client library. Arbitrary | 39 be invoked by a Crashpad client using the Crashpad client library. Arbitrary |
40 programs may be run with a Crashpad handler by using run_with_crashpad(1) to | 40 programs may be run with a Crashpad handler by using |
41 establish the Crashpad client environment before running a program. | 41 man_link:run_with_crashpad[1] to establish the Crashpad client environment |
| 42 before running a program. |
42 | 43 |
43 == Options | 44 == Options |
44 *-h*, *--handshake-fd*='FD':: | 45 *-h*, *--handshake-fd*='FD':: |
45 Perform the handshake with the initial client on the file descriptor at 'FD'. | 46 Perform the handshake with the initial client on the file descriptor at 'FD'. |
46 | 47 |
47 *--help*:: | 48 *--help*:: |
48 Display help and exit. | 49 Display help and exit. |
49 | 50 |
50 *--version*:: | 51 *--version*:: |
51 Output version information and exit. | 52 Output version information and exit. |
52 | 53 |
53 == Exit Status | 54 == Exit Status |
54 | 55 |
55 *0*:: | 56 *0*:: |
56 Success. | 57 Success. |
57 | 58 |
58 *1*:: | 59 *1*:: |
59 Failure, with a message printed to the standard error stream. | 60 Failure, with a message printed to the standard error stream. |
60 | 61 |
61 == See Also | 62 == See Also |
62 | 63 |
63 catch_exception_tool(1), | 64 man_link:catch_exception_tool[1], |
64 generate_dump(1), | 65 man_link:generate_dump[1], |
65 run_with_crashpad(1) | 66 man_link:run_with_crashpad[1] |
66 | 67 |
67 include::../../doc/man_footer.ad[] | 68 include::../../doc/man_footer.ad[] |
OLD | NEW |