From f9c5546a16da89a758254365ebd215d34b302b3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 2 Feb 2005 06:49:45 +0000 Subject: [PATCH] unistd/open.c should be changed to contain this variable when it's compiled for the kernel - but since we still compile libroot.so with kernel build rules, I place it there for now. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11210 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/fs/vfs.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kernel/core/fs/vfs.cpp b/src/kernel/core/fs/vfs.cpp index c8da24b97a..0bbcd6cf1f 100755 --- a/src/kernel/core/fs/vfs.cpp +++ b/src/kernel/core/fs/vfs.cpp @@ -158,6 +158,8 @@ static struct vnode *sRoot; static hash_table *sMountsTable; static mount_id sNextMountID = 1; +mode_t __gUmask = 022; + // This can be used by other code to see if there is a boot file system already dev_t gBootDevice = -1;