Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/librump/rumpvfs open VFS_EXTATTRCTL to user namespace



details:   https://anonhg.NetBSD.org/src/rev/4e99a6f61349
branches:  trunk
changeset: 755031:4e99a6f61349
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu May 20 15:46:47 2010 +0000

description:
open VFS_EXTATTRCTL to user namespace

diffstat:

 sys/rump/librump/rumpvfs/rump_vfs.c     |  12 ++++++++++--
 sys/rump/librump/rumpvfs/rumpvfs.ifspec |   4 +++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diffs (51 lines):

diff -r 8d2224bdb496 -r 4e99a6f61349 sys/rump/librump/rumpvfs/rump_vfs.c
--- a/sys/rump/librump/rumpvfs/rump_vfs.c       Thu May 20 14:43:42 2010 +0000
+++ b/sys/rump/librump/rumpvfs/rump_vfs.c       Thu May 20 15:46:47 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump_vfs.c,v 1.50 2010/05/11 14:49:07 pooka Exp $      */
+/*     $NetBSD: rump_vfs.c,v 1.51 2010/05/20 15:46:47 pooka Exp $      */
 
 /*
  * Copyright (c) 2008 Antti Kantee.  All Rights Reserved.
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_vfs.c,v 1.50 2010/05/11 14:49:07 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_vfs.c,v 1.51 2010/05/20 15:46:47 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -411,6 +411,14 @@
        return VFS_VPTOFH(vp, fid, fidsize);
 }
 
+int
+rump_vfs_extattrctl(struct mount *mp, int cmd, struct vnode *vp,
+       int attrnamespace, const char *attrname)
+{
+
+       return VFS_EXTATTRCTL(mp, cmd, vp, attrnamespace, attrname);
+}
+
 /*ARGSUSED*/
 void
 rump_vfs_syncwait(struct mount *mp)
diff -r 8d2224bdb496 -r 4e99a6f61349 sys/rump/librump/rumpvfs/rumpvfs.ifspec
--- a/sys/rump/librump/rumpvfs/rumpvfs.ifspec   Thu May 20 14:43:42 2010 +0000
+++ b/sys/rump/librump/rumpvfs/rumpvfs.ifspec   Thu May 20 15:46:47 2010 +0000
@@ -1,4 +1,4 @@
-;       $NetBSD: rumpvfs.ifspec,v 1.2 2010/04/14 14:12:48 pooka Exp $
+;       $NetBSD: rumpvfs.ifspec,v 1.3 2010/05/20 15:46:47 pooka Exp $
 
 NAME|vfs
 PUBHDR|include/rump/rumpvfs_if_pub.h
@@ -46,6 +46,8 @@
 int            |vfs_sync       |struct mount *, int, struct kauth_cred *
 int            |vfs_fhtovp     |struct mount *, struct fid *, struct vnode **
 int            |vfs_vptofh     |struct vnode *, struct fid *, size_t *
+int            |vfs_extattrctl |struct mount *, int, struct vnode *,   \
+                                int, const char *
 void           |vfs_syncwait   |struct mount *
 int            |vfs_getmp      |const char *, struct mount **
 



Home | Main Index | Thread Index | Old Index