head	1.3;
access;
symbols
	netbsd-11-0-RC4:1.2
	netbsd-11-0-RC3:1.2
	netbsd-11-0-RC2:1.2
	netbsd-11-0-RC1:1.2
	perseant-exfatfs-base-20250801:1.2
	netbsd-11:1.2.0.4
	netbsd-11-base:1.2
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.2
	perseant-exfatfs-base:1.2;
locks; strict;
comment	@# @;


1.3
date	2026.03.23.23.44.12;	author yamt;	state Exp;
branches;
next	1.2;
commitid	xnKriXlZ95QhO9zG;

1.2
date	2024.05.20.01.30.34;	author christos;	state Exp;
branches;
next	1.1;
commitid	aPmDkMHZjPJC1GaF;

1.1
date	2024.05.19.22.25.49;	author christos;	state Exp;
branches;
next	;
commitid	XqbzQiQAGyYD0FaF;


desc
@@


1.3
log
@swapctl: report npgbad

the current layout of swapent is like the following on amd64:
```
(gdb) ptype /o struct swapent
/* offset    |  size */  type = struct swapent {
/*    0      |     8 */    dev_t se_dev;
/*    8      |     4 */    int se_flags;
/*   12      |     4 */    int se_nblks;
/*   16      |     4 */    int se_inuse;
/*   20      |     4 */    int se_priority;
/*   24      |  1025 */    char se_path[1025];
/* XXX  7-byte padding  */

                           /* total size (bytes): 1056 */
                         }
```
while it's tempting to use the padding for the new member
to avoid versioning, i guess we can't because, on some
architectures, 64-bit value only has 32-bit alignment. (eg. i386)
@
text
@#	$NetBSD$

.include "../Makefile.inc"

.PATH:	${S}/compat/common

KMOD=	compat_110

CPPFLAGS+=	-DCOMPAT_110

SRCS+=	compat_110_mod.c uvm_110.c

.include <bsd.kmodule.mk>
@


1.2
log
@Rename dup3110 to dup3100 to match historical practice for NetBSD-11,
because we already have kevent100. Fix compat_dup3 to belong in compat_100
not compat_110.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2024/05/19 22:25:49 christos Exp $
d11 1
a11 1
SRCS+=	compat_110_mod.c
@


1.1
log
@version dup3
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2023/09/05 14:49:46 christos Exp $
d11 1
a11 1
SRCS+=	compat_110_mod.c sys_decrip_110.c
@

