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

Commit e73fc3ab authored by Nick Kralevich's avatar Nick Kralevich Committed by Android Git Automerger
Browse files

am 039b9cef: am 5529de0f: Merge "logd_write: set SOCK_CLOEXEC on socket"

* commit '039b9cef':
  logd_write: set SOCK_CLOEXEC on socket
parents b18d44e4 039b9cef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ static int __write_to_log_initialize()
        close(i);
    }

    i = socket(PF_UNIX, SOCK_DGRAM, 0);
    i = socket(PF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC, 0);
    if (i < 0) {
        ret = -errno;
        write_to_log = __write_to_log_null;