summaryrefslogtreecommitdiffstats
path: root/mount/mount.c
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:26:02 +0100
committerKarel Zak2006-12-07 00:26:02 +0100
commit0e6f4a203d8715710ff09683390be2897cca3804 (patch)
tree982a4e50be23b6c30245c61bfed170c592b34e41 /mount/mount.c
parentImported from util-linux-2.11u tarball. (diff)
downloadkernel-qcow2-util-linux-0e6f4a203d8715710ff09683390be2897cca3804.tar.gz
kernel-qcow2-util-linux-0e6f4a203d8715710ff09683390be2897cca3804.tar.xz
kernel-qcow2-util-linux-0e6f4a203d8715710ff09683390be2897cca3804.zip
Imported from util-linux-2.11v tarball.
Diffstat (limited to 'mount/mount.c')
-rw-r--r--mount/mount.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mount/mount.c b/mount/mount.c
index fb1ca716f..1f9fc6e62 100644
--- a/mount/mount.c
+++ b/mount/mount.c
@@ -1411,6 +1411,8 @@ main (int argc, char *argv[]) {
bindtextdomain(PACKAGE, LOCALEDIR);
textdomain(PACKAGE);
+ umask(033);
+
/* People report that a mount called from init without console
writes error messages to /etc/mtab
Let us try to avoid getting fd's 0,1,2 */