Commit 6cc36d5b authored by Cameron Norman's avatar Cameron Norman
Browse files

* SECURITY UPDATE: insecure mount permissions (LP: #1390183)

    - The mount utility now honours process umask when mounting certain
      filesystems, resulting in them being potentially mounted with
      inappropriate permissions.
    - src/mountall.c: don't specifically set umask when running as a
      daemon, inherit the umask Upstart sets instead.
    - CVE-2014-1421
parent fe6a07f3
......@@ -4079,7 +4079,6 @@ main (int argc,
/* Usual daemon cleanups */
if (chdir ("/"))
;
umask (0);
/* Send all logging output to syslog */
//openlog (program_name, LOG_PID, LOG_DAEMON);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment