search for: map_fixed_noreplace

Displaying 4 results from an estimated 4 matches for "map_fixed_noreplace".

2023 Dec 15
0
[PATCH] Allow MAP_NORESERVE in sandbox seccomp filter maps
...6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c index 23b40b643..a49c5ca99 100644 --- a/sandbox-seccomp-filter.c +++ b/sandbox-seccomp-filter.c @@ -190,9 +190,11 @@ #if defined(__NR_mmap) || defined(__NR_mmap2) # ifdef MAP_FIXED_NOREPLACE -# define SC_MMAP_FLAGS MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED|MAP_FIXED_NOREPLACE +# define SC_MMAP_FLAGS MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED \ + |MAP_NORESERVE|MAP_FIXED_NOREPLACE # else -# define SC_MMAP_FLAGS MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED +# define SC_MMAP_FLAGS MAP_PRIVATE|MAP_ANONYMO...
2020 Jul 17
0
Wine release 5.13
...ch for \??\unix file names only. ntdll: Fixup instruction pointer for EXCEPTION_BREAKPOINT in the Unix part on x86/x86_64. ntdll: Fix stack adjustment condition in call_user_exception_dispatcher on x86_64. ntdll: Stop search on mmap() error in try_map_free_area(). ntdll: Use MAP_FIXED_NOREPLACE flag in try_map_free_area() if available. ntdll: Always align stack pointer in __wine_syscall_dispatcher on x64. ntdll: Fix PE unwind info for %rsi, %rdi in KiUserExceptionDispatcher. ntdll/tests: Test KiUserExceptionDispatcher with RtlUnwind on i386. Piotr Caban (51): ntdl...
2019 Sep 11
6
[PATCH 0/4] HMM tests and minor fixes
These changes are based on Jason's latest hmm branch. Patch 1 was previously posted here [1] but was dropped from the orginal series. Hopefully, the tests will reduce concerns about edge conditions. I'm sure more tests could be usefully added but I thought this was a good starting point. [1] https://lore.kernel.org/linux-mm/20190726005650.2566-6-rcampbell at nvidia.com/ Ralph Campbell
2020 Jan 13
9
[PATCH v6 0/6] mm/hmm/test: add self tests for HMM
This series adds new functions to the mmu interval notifier API to allow device drivers with MMUs to dynamically mirror a process' page tables based on device faults and invalidation callbacks. The Nouveau driver is updated to use the extended API and a set of stand alone self tests is added to help validate and maintain correctness. The patches are based on linux-5.5.0-rc6 and are for