◆ ScopedPrSetDumpable()
crashpad::ScopedPrSetDumpable::ScopedPrSetDumpable |
( |
bool |
may_log | ) |
|
|
explicit |
Uses PR_SET_DUMPABLE
to make the current process dumpable.
Restores the dumpable flag to its original value on destruction. If the original value couldn't be determined, the destructor attempts to restore the flag to 0 (non-dumpable).
- Parameters
-
[in] | may_log | true if this object may log error messages. |
The documentation for this class was generated from the following files:
- util/linux/scoped_pr_set_dumpable.h
- util/linux/scoped_pr_set_dumpable.cc