Crashpad
Public Member Functions | List of all members
crashpad::ScopedPrSetDumpable Class Reference

Public Member Functions

 ScopedPrSetDumpable (bool may_log)
 Uses PR_SET_DUMPABLE to make the current process dumpable. More...
 

Constructor & Destructor Documentation

◆ 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_logtrue if this object may log error messages.

The documentation for this class was generated from the following files: