Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3b809ba authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

Add socket dumps via ss to bugreports.

Bug: 23113288
Change-Id: I6304425f968fcb22c75c3f6e64bf7992e34e0889
parent 6cc1933a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1373,6 +1373,9 @@ int main(int argc, char *argv[]) {
    add_mountinfo();
    dump_iptables();

    // Run ss as root so we can see socket marks.
    run_command("DETAILED SOCKET STATE", 10, "ss", "-eionptu", NULL);

    if (!drop_root_user()) {
        return -1;
    }