Blame SOURCES/0019-syscall.c-set-MEMORY_MAPPING_CHANGE-in-stub-sysent.patch

2eae47
From 6f9c98e28df7cbc1e3417908604550956ca76f21 Mon Sep 17 00:00:00 2001
2eae47
From: Eugene Syromyatnikov <evgsyr@gmail.com>
2eae47
Date: Tue, 29 Jan 2019 15:35:00 +0100
2eae47
Subject: [PATCH 19/27] syscall.c: set MEMORY_MAPPING_CHANGE in stub sysent
2eae47
2eae47
As unknown syscalls may incur unknown side effects.
2eae47
2eae47
* syscall.c (stub_sysent): Set sys_flags to MEMORY_MAPPING_CHANGE.
2eae47
---
2eae47
 syscall.c | 1 +
2eae47
 1 file changed, 1 insertion(+)
2eae47
2eae47
diff --git a/syscall.c b/syscall.c
2eae47
index 40fcedb..b836cd6 100644
2eae47
--- a/syscall.c
2eae47
+++ b/syscall.c
2eae47
@@ -1176,6 +1176,7 @@ free_sysent_buf(void *ptr)
2eae47
 
2eae47
 const struct_sysent stub_sysent = {
2eae47
 	.nargs = MAX_ARGS,
2eae47
+	.sys_flags = MEMORY_MAPPING_CHANGE,
2eae47
 	.sen = SEN_printargs,
2eae47
 	.sys_func = printargs,
2eae47
 	.sys_name = "????",
2eae47
-- 
2eae47
2.1.4
2eae47