Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/include/rump Add RUMP_SYS_FILEOPS for syscalls whic...
details: https://anonhg.NetBSD.org/src/rev/297b5f5a706a
branches: trunk
changeset: 752006:297b5f5a706a
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Feb 11 01:13:58 2010 +0000
description:
Add RUMP_SYS_FILEOPS for syscalls which operate on files (or at least
close to that).
diffstat:
sys/rump/include/rump/rump.h | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r ee6fd1ea804c -r 297b5f5a706a sys/rump/include/rump/rump.h
--- a/sys/rump/include/rump/rump.h Thu Feb 11 00:27:09 2010 +0000
+++ b/sys/rump/include/rump/rump.h Thu Feb 11 01:13:58 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump.h,v 1.35 2009/12/23 17:17:59 stacktic Exp $ */
+/* $NetBSD: rump.h,v 1.36 2010/02/11 01:13:58 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -146,4 +146,13 @@
#define pwritev(a,b,c,d) rump_sys_pwritev(a,b,c,d)
#endif /* RUMP_SYS_READWRITE */
+#ifdef RUMP_SYS_FILEOPS
+#define mkdir(a,b) rump_sys_mkdir(a,b)
+#define rmdir(a) rump_sys_rmdir(a)
+#define link(a,b) rump_sys_link(a,b)
+#define symlink(a,b) rump_sys_symlink(a,b)
+#define unlink(a) rump_sys_unlink(a)
+#define readlink(a,b,c) rump_sys_readlink(a,b,c)
+#endif /* RUMP_SYS_FILEOPS */
+
#endif /* _RUMP_RUMP_H_ */
Home |
Main Index |
Thread Index |
Old Index