DescriptionAdd DropPrivileges().
DropPrivileges() is used in exception_port_tool, so that when it is
installed as a setuid executable, it only uses elevated privileges to
obtain a task port for its -p option, and then relinquishes those
privileges.
It is difficult to provide a test for this function, because it must be
running setuid or setgid in order to do anything interesting. However,
the function contains its own CHECKs to verify that it behaves properly.
R=rsesek@chromium.org
Committed: https://chromium.googlesource.com/crashpad/crashpad/+/49d7fdba9af9d465dc4eda940585523d810008e3
Patch Set 1 #Patch Set 2 : Rebase #
Total comments: 1
Messages
Total messages: 4 (1 generated)
|