Loading cmds/dumpstate/DumpstateInternal.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ bool DropRootUser() { static const std::vector<std::string> group_names{ "log", "sdcard_r", "sdcard_rw", "mount", "inet", "net_bw_stats", "readproc", "bluetooth", "wakelock"}; "readproc", "bluetooth", "wakelock", "nfc"}; std::vector<gid_t> groups(group_names.size(), 0); for (size_t i = 0; i < group_names.size(); ++i) { grp = getgrnam(group_names[i].c_str()); Loading cmds/dumpstate/dumpstate.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -1507,6 +1507,8 @@ static Dumpstate::RunStatus dumpstate() { /* Dump Bluetooth HCI logs */ ds.AddDir("/data/misc/bluetooth/logs", true); /* Dump Nfc NCI logs */ ds.AddDir("/data/misc/nfc/logs", true); if (ds.options_->do_screenshot && !ds.do_early_screenshot_) { MYLOGI("taking late screenshot\n"); Loading Loading
cmds/dumpstate/DumpstateInternal.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ bool DropRootUser() { static const std::vector<std::string> group_names{ "log", "sdcard_r", "sdcard_rw", "mount", "inet", "net_bw_stats", "readproc", "bluetooth", "wakelock"}; "readproc", "bluetooth", "wakelock", "nfc"}; std::vector<gid_t> groups(group_names.size(), 0); for (size_t i = 0; i < group_names.size(); ++i) { grp = getgrnam(group_names[i].c_str()); Loading
cmds/dumpstate/dumpstate.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -1507,6 +1507,8 @@ static Dumpstate::RunStatus dumpstate() { /* Dump Bluetooth HCI logs */ ds.AddDir("/data/misc/bluetooth/logs", true); /* Dump Nfc NCI logs */ ds.AddDir("/data/misc/nfc/logs", true); if (ds.options_->do_screenshot && !ds.do_early_screenshot_) { MYLOGI("taking late screenshot\n"); Loading