diff options
Diffstat (limited to 'www/chromium/files/patch-chrome_browser_native__file__system_chrome__native__file__system__permission__context.cc')
-rw-r--r-- | www/chromium/files/patch-chrome_browser_native__file__system_chrome__native__file__system__permission__context.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/www/chromium/files/patch-chrome_browser_native__file__system_chrome__native__file__system__permission__context.cc b/www/chromium/files/patch-chrome_browser_native__file__system_chrome__native__file__system__permission__context.cc index cea7509438b9..34eb6cc1c96c 100644 --- a/www/chromium/files/patch-chrome_browser_native__file__system_chrome__native__file__system__permission__context.cc +++ b/www/chromium/files/patch-chrome_browser_native__file__system_chrome__native__file__system__permission__context.cc @@ -1,11 +1,11 @@ ---- chrome/browser/native_file_system/chrome_native_file_system_permission_context.cc.orig 2020-05-13 18:39:37 UTC +--- chrome/browser/native_file_system/chrome_native_file_system_permission_context.cc.orig 2020-11-13 06:36:37 UTC +++ chrome/browser/native_file_system/chrome_native_file_system_permission_context.cc -@@ -150,7 +150,7 @@ const struct { - {base::DIR_APP_DATA, nullptr, true}, - {base::DIR_HOME, FILE_PATH_LITERAL("Library"), true}, +@@ -138,7 +138,7 @@ const struct { + {base::DIR_APP_DATA, nullptr, kBlockAllChildren}, + {base::DIR_HOME, FILE_PATH_LITERAL("Library"), kBlockAllChildren}, #endif --#if defined(OS_LINUX) -+#if defined(OS_LINUX) || defined(OS_BSD) +-#if defined(OS_LINUX) || defined(OS_CHROMEOS) ++#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) // On Linux also block access to devices via /dev, as well as security // sensitive data in /sys and /proc. - {kNoBasePathKey, FILE_PATH_LITERAL("/dev"), true}, + {kNoBasePathKey, FILE_PATH_LITERAL("/dev"), kBlockAllChildren}, |