Module Name: src
Committed By: christos
Date: Mon Jul 10 18:22:31 UTC 2023
Modified Files:
src/sys/sys: mman.h
Log Message:
remove struct memfd definition
To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/sys/mman.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/mman.h
diff -u src/sys/sys/mman.h:1.63 src/sys/sys/mman.h:1.64
--- src/sys/sys/mman.h:1.63 Sun Jul 9 22:31:55 2023
+++ src/sys/sys/mman.h Mon Jul 10 14:22:31 2023
@@ -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_ */