From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/chromium/fix-unittests-sandbox.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 repo/chromium/fix-unittests-sandbox.patch (limited to 'repo/chromium/fix-unittests-sandbox.patch') diff --git a/repo/chromium/fix-unittests-sandbox.patch b/repo/chromium/fix-unittests-sandbox.patch new file mode 100644 index 0000000..e11face --- /dev/null +++ b/repo/chromium/fix-unittests-sandbox.patch @@ -0,0 +1,11 @@ +--- ./sandbox/linux/syscall_broker/broker_file_permission_unittest.cc.orig ++++ ./sandbox/linux/syscall_broker/broker_file_permission_unittest.cc +@@ -134,7 +134,7 @@ + #endif + + const int kNumberOfBitsInOAccMode = 2; +- static_assert(O_ACCMODE == ((1 << kNumberOfBitsInOAccMode) - 1), ++ static_assert(O_ACCMODE == (((1 << kNumberOfBitsInOAccMode) - 1) | O_PATH), + "incorrect number of bits"); + // check every possible flag and act accordingly. + // Skipping AccMode bits as they are present in every case. -- cgit v1.2.1