CVS commit: src/sys/rump/librump/rumpvfs

2023-04-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Apr 22 18:55:59 UTC 2023

Modified Files:
src/sys/rump/librump/rumpvfs: Makefile.rumpvfs

Log Message:
rumpvfs: Link in secmodel_extensions_vfs.c as intended, like kernel.

Forgot to commit this part when splitting up secmodel_extensions.c.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/rump/librump/rumpvfs/Makefile.rumpvfs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/librump/rumpvfs/Makefile.rumpvfs
diff -u src/sys/rump/librump/rumpvfs/Makefile.rumpvfs:1.51 src/sys/rump/librump/rumpvfs/Makefile.rumpvfs:1.52
--- src/sys/rump/librump/rumpvfs/Makefile.rumpvfs:1.51	Sat Apr 22 13:54:59 2023
+++ src/sys/rump/librump/rumpvfs/Makefile.rumpvfs	Sat Apr 22 18:55:59 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.rumpvfs,v 1.51 2023/04/22 13:54:59 riastradh Exp $
+#	$NetBSD: Makefile.rumpvfs,v 1.52 2023/04/22 18:55:59 riastradh Exp $
 #
 
 .include "${RUMPTOP}/Makefile.rump"
@@ -12,6 +12,7 @@ MAN=	rump_etfs.3 rumpfs.4
 
 .PATH:	${RUMPTOP}/librump/rumpvfs ${RUMPTOP}/librump		\
 	${RUMPTOP}/../kern	\
+	${RUMPTOP}/../secmodel/extensions			\
 	${RUMPTOP}/../miscfs/genfs\
 	${RUMPTOP}/../miscfs/specfs ${RUMPTOP}/../miscfs/deadfs	\
 	${RUMPTOP}/../compat/common ${RUMPTOP}/../uvm		\
@@ -42,6 +43,9 @@ SRCS+=	vfs_acl.c vfs_bio.c vfs_cache.c v
 # sys/kern module support
 SRCS+=	kern_module_vfs.c subr_kobj_vfs.c
 
+# sys/secmodel/extensions
+SRCS+=	secmodel_extensions_vfs.c
+
 # sys/uvm
 SRCS+=	uvm_vnode.c
 



CVS commit: src/sys/rump/librump/rumpvfs

2023-04-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Apr 22 18:55:59 UTC 2023

Modified Files:
src/sys/rump/librump/rumpvfs: Makefile.rumpvfs

Log Message:
rumpvfs: Link in secmodel_extensions_vfs.c as intended, like kernel.

Forgot to commit this part when splitting up secmodel_extensions.c.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/rump/librump/rumpvfs/Makefile.rumpvfs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/rump/librump/rumpvfs

2019-09-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Sep 25 16:44:42 UTC 2019

Modified Files:
src/sys/rump/librump/rumpvfs: rumpvfs_syscalls.c

Log Message:
Regen


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/rump/librump/rumpvfs/rumpvfs_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/librump/rumpvfs/rumpvfs_syscalls.c
diff -u src/sys/rump/librump/rumpvfs/rumpvfs_syscalls.c:1.6 src/sys/rump/librump/rumpvfs/rumpvfs_syscalls.c:1.7
--- src/sys/rump/librump/rumpvfs/rumpvfs_syscalls.c:1.6	Sun Sep 22 19:03:21 2019
+++ src/sys/rump/librump/rumpvfs/rumpvfs_syscalls.c	Wed Sep 25 12:44:42 2019
@@ -1,9 +1,9 @@
-/*	$NetBSD: rumpvfs_syscalls.c,v 1.6 2019/09/22 23:03:21 christos Exp $	*/
+/*	$NetBSD: rumpvfs_syscalls.c,v 1.7 2019/09/25 16:44:42 christos Exp $	*/
 
 /* AUTOMATICALLY GENERATED BY makerumpsyscalls.sh */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: rumpvfs_syscalls.c,v 1.6 2019/09/22 23:03:21 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rumpvfs_syscalls.c,v 1.7 2019/09/25 16:44:42 christos Exp $");
 
 #include 
 
@@ -107,6 +107,10 @@ extern sy_call_t sys_futimens;
 extern sy_call_t sys___quotactl;
 extern sy_call_t sys_posix_fallocate;
 extern sy_call_t sys_fdiscard;
+extern sy_call_t sys___getvfsstat90;
+extern sy_call_t sys___statvfs190;
+extern sy_call_t sys___fstatvfs190;
+extern sy_call_t sys___fhstatvfs190;
 
 static const struct rump_onesyscall mysys[] = {
 	{ 5,	sys_open },
@@ -207,6 +211,10 @@ static const struct rump_onesyscall mysy
 	{ 473,	sys___quotactl },
 	{ 479,	sys_posix_fallocate },
 	{ 480,	sys_fdiscard },
+	{ 483,	sys___getvfsstat90 },
+	{ 484,	sys___statvfs190 },
+	{ 485,	sys___fstatvfs190 },
+	{ 486,	sys___fhstatvfs190 },
 };
 
 RUMP_COMPONENT(RUMP_COMPONENT_SYSCALL)



Re: CVS commit: src/sys/rump/librump/rumpvfs

2010-11-30 Thread David Holland
On Tue, Nov 30, 2010 at 03:39:27PM +, Antti Kantee wrote:
  Modified Files:
   src/sys/rump/librump/rumpvfs: rump_vfs.c
  
  Log Message:
  fix broken rototill

I did ask you if that was going to work, and you didn't answer. :-p
(and the tests passed, and all componentname crap is going to
disappear eventually so even if it only worked it wouldn't have been
permanent.)

-- 
David A. Holland
dholl...@netbsd.org


CVS commit: src/sys/rump/librump/rumpvfs

2010-03-08 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Mar  8 12:17:45 UTC 2010

Modified Files:
src/sys/rump/librump/rumpvfs: Makefile.rumpvfs

Log Message:
mfs miniroot is mandatory


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/rump/librump/rumpvfs/Makefile.rumpvfs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/librump/rumpvfs/Makefile.rumpvfs
diff -u src/sys/rump/librump/rumpvfs/Makefile.rumpvfs:1.24 src/sys/rump/librump/rumpvfs/Makefile.rumpvfs:1.25
--- src/sys/rump/librump/rumpvfs/Makefile.rumpvfs:1.24	Tue Feb 16 20:42:47 2010
+++ src/sys/rump/librump/rumpvfs/Makefile.rumpvfs	Mon Mar  8 12:17:45 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.rumpvfs,v 1.24 2010/02/16 20:42:47 pooka Exp $
+#	$NetBSD: Makefile.rumpvfs,v 1.25 2010/03/08 12:17:45 pooka Exp $
 #
 
 .include ${RUMPTOP}/Makefile.rump
@@ -10,7 +10,7 @@
 	${RUMPTOP}/../miscfs/genfs ${RUMPTOP}/../miscfs/syncfs	\
 	${RUMPTOP}/../miscfs/specfs ${RUMPTOP}/../miscfs/deadfs	\
 	${RUMPTOP}/../compat/common ${RUMPTOP}/../uvm		\
-	${RUMPTOP}/../dev
+	${RUMPTOP}/../dev ${RUMPTOP}/../ufs/mfs
 
 #
 # Source modules, first the ones specifically implemented for librump.
@@ -48,6 +48,9 @@
 SRCS+=	subr_bufq.c bufq_disksort.c bufq_fcfs.c bufq_priocscan.c	\
 	bufq_readprio.c
 
+# MFS miniroot support
+SRCS+=	mfs_miniroot.c
+
 # dev
 # firmload is technically part of rumpdev, but it's pure vfs in nature.
 SRCS+=	firmload.c



CVS commit: src/sys/rump/librump/rumpvfs

2010-03-01 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Mar  1 13:03:30 UTC 2010

Modified Files:
src/sys/rump/librump/rumpvfs: rumpfs.c

Log Message:
support unmount of rumpfs


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/rump/librump/rumpvfs/rumpfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/rump/librump/rumpvfs

2010-03-01 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Mon Mar  1 13:03:30 UTC 2010

Modified Files:
src/sys/rump/librump/rumpvfs: rumpfs.c

Log Message:
support unmount of rumpfs


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/rump/librump/rumpvfs/rumpfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/librump/rumpvfs/rumpfs.c
diff -u src/sys/rump/librump/rumpvfs/rumpfs.c:1.36 src/sys/rump/librump/rumpvfs/rumpfs.c:1.37
--- src/sys/rump/librump/rumpvfs/rumpfs.c:1.36	Thu Dec  3 12:54:30 2009
+++ src/sys/rump/librump/rumpvfs/rumpfs.c	Mon Mar  1 13:03:30 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: rumpfs.c,v 1.36 2009/12/03 12:54:30 pooka Exp $	*/
+/*	$NetBSD: rumpfs.c,v 1.37 2010/03/01 13:03:30 pooka Exp $	*/
 
 /*
  * Copyright (c) 2009  Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: rumpfs.c,v 1.36 2009/12/03 12:54:30 pooka Exp $);
+__KERNEL_RCSID(0, $NetBSD: rumpfs.c,v 1.37 2010/03/01 13:03:30 pooka Exp $);
 
 #include sys/param.h
 #include sys/atomic.h
@@ -821,6 +821,10 @@
 rumpfs_unmount(struct mount *mp, int flags)
 {
 
+	/* if going for it, just lie about it */
+	if (panicstr)
+		return 0;
+
 	return EOPNOTSUPP; /* ;) */
 }
 



CVS commit: src/sys/rump/librump/rumpvfs

2010-01-27 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jan 27 22:03:12 UTC 2010

Modified Files:
src/sys/rump/librump/rumpvfs: rumpblk.c

Log Message:
Typecast memwinsize to off_t before taking the complement to be
'ed with an off_t.  Otherwise things go a bit wrong with 4GB
images ...


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/rump/librump/rumpvfs/rumpblk.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.