[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/7] bsd-user: Remove openbsd system call inclusion and defines
From: |
Warner Losh |
Subject: |
[PATCH 4/7] bsd-user: Remove openbsd system call inclusion and defines |
Date: |
Fri, 31 Mar 2023 08:18:30 -0600 |
Remove OpenBSD system call inclusion and defines. We've not supported
building all the BSDs into one module for some time, and the OpenBSD
support hasn't even built since the meson conversion.
---
bsd-user/syscall_defs.h | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/bsd-user/syscall_defs.h b/bsd-user/syscall_defs.h
index 8352ab783c..a3a0fdbb52 100644
--- a/bsd-user/syscall_defs.h
+++ b/bsd-user/syscall_defs.h
@@ -26,7 +26,6 @@
#include "errno_defs.h"
#include "freebsd/syscall_nr.h"
-#include "openbsd/syscall_nr.h"
/*
* machine/_types.h
@@ -65,17 +64,7 @@ struct target_iovec {
#define TARGET_FREEBSD_MAP_FLAGMASK 0x1ff7
-#define TARGET_OPENBSD_MAP_INHERIT 0x0080 /* region is retained after */
- /* exec */
-#define TARGET_OPENBSD_MAP_NOEXTEND 0x0100 /* for MAP_FILE, don't change
*/
- /* file size */
-#define TARGET_OPENBSD_MAP_TRYFIXED 0x0400 /* attempt hint address, */
- /* even within heap */
-
-#define TARGET_OPENBSD_MAP_FLAGMASK 0x17f7
-
-/* XXX */
-#define TARGET_BSD_MAP_FLAGMASK 0x3ff7
+#define TARGET_BSD_MAP_FLAGMASK 0x1ff7
/*
* sys/time.h
--
2.39.2
- [PATCH 0/7] bsd-user: remove bitrotted NetBSD and OpenBSD bsd-user support, Warner Losh, 2023/03/31
- Re: [PATCH 0/7] bsd-user: remove bitrotted NetBSD and OpenBSD bsd-user support, Warner Losh, 2023/03/31
- [PATCH 4/7] bsd-user: Remove openbsd system call inclusion and defines,
Warner Losh <=
- [PATCH 1/7] bsd-user: Remove obsolete prototypes, Warner Losh, 2023/03/31
- [PATCH 2/7] bsd-user: Remove netbsd system call inclusion and defines, Warner Losh, 2023/03/31
- [PATCH 5/7] bsd-user: Remove openbsd system call tracing, Warner Losh, 2023/03/31
- [PATCH 3/7] bsd-user: Remove netbsd system call tracing, Warner Losh, 2023/03/31
- [PATCH 7/7] bsd-user: Remove openbsd directory, Warner Losh, 2023/03/31
- [PATCH 6/7] bsd-user: Remove netbsd directory, Warner Losh, 2023/03/31
- Re: [PATCH 0/7] bsd-user: remove bitrotted NetBSD and OpenBSD bsd-user support, Richard Henderson, 2023/03/31