open VFS_EXTATTRCTL to user namespace
This commit is contained in:
parent
85e1ce333a
commit
e1f101dffa
@ -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.
|
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
|
||||||
@ -29,7 +29,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#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/param.h>
|
||||||
#include <sys/buf.h>
|
#include <sys/buf.h>
|
||||||
@ -411,6 +411,14 @@ rump_vfs_vptofh(struct vnode *vp, struct fid *fid, size_t *fidsize)
|
|||||||
return VFS_VPTOFH(vp, fid, fidsize);
|
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*/
|
/*ARGSUSED*/
|
||||||
void
|
void
|
||||||
rump_vfs_syncwait(struct mount *mp)
|
rump_vfs_syncwait(struct mount *mp)
|
||||||
|
@ -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
|
NAME|vfs
|
||||||
PUBHDR|include/rump/rumpvfs_if_pub.h
|
PUBHDR|include/rump/rumpvfs_if_pub.h
|
||||||
@ -46,6 +46,8 @@ int |vfs_statvfs |struct mount *, struct statvfs *
|
|||||||
int |vfs_sync |struct mount *, int, struct kauth_cred *
|
int |vfs_sync |struct mount *, int, struct kauth_cred *
|
||||||
int |vfs_fhtovp |struct mount *, struct fid *, struct vnode **
|
int |vfs_fhtovp |struct mount *, struct fid *, struct vnode **
|
||||||
int |vfs_vptofh |struct vnode *, struct fid *, size_t *
|
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 *
|
void |vfs_syncwait |struct mount *
|
||||||
int |vfs_getmp |const char *, struct mount **
|
int |vfs_getmp |const char *, struct mount **
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user