Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys remove struct memfd definition
details: https://anonhg.NetBSD.org/src/rev/2afcb4807ccc
branches: trunk
changeset: 377399:2afcb4807ccc
user: christos <christos%NetBSD.org@localhost>
date: Mon Jul 10 18:22:31 2023 +0000
description:
remove struct memfd definition
diffstat:
sys/sys/mman.h | 20 +-------------------
1 files changed, 1 insertions(+), 19 deletions(-)
diffs (34 lines):
diff -r a779b2f0a1d0 -r 2afcb4807ccc sys/sys/mman.h
--- a/sys/sys/mman.h Mon Jul 10 16:20:52 2023 +0000
+++ b/sys/sys/mman.h Mon Jul 10 18:22:31 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mman.h,v 1.63 2023/07/10 02:31:55 christos Exp $ */
+/* $NetBSD: mman.h,v 1.64 2023/07/10 18:22:31 christos Exp $ */
/*-
* Copyright (c) 1982, 1986, 1993
@@ -247,24 +247,6 @@ int shm_open(const char *, int, mode_t);
int shm_unlink(const char *);
__END_DECLS
-#else
-
-#include <sys/syslimits.h> /* for NAME_MAX */
-#include <sys/timespec.h> /* for struct timespec */
-#include <sys/mutex.h> /* for kmutex_t */
-
-struct memfd {
- char mfd_name[NAME_MAX+1];
- struct uvm_object *mfd_uobj;
- size_t mfd_size;
- int mfd_seals;
- kmutex_t mfd_lock; /* for truncate */
-
- struct timespec mfd_btime;
- struct timespec mfd_atime;
- struct timespec mfd_mtime;
-};
-
#endif /* !_KERNEL */
#endif /* !_SYS_MMAN_H_ */
Home |
Main Index |
Thread Index |
Old Index