Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/miscfs/genfs/genfs.h,v rcsdiff: /ftp/cvs/cvsroot/src/sys/miscfs/genfs/genfs.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.23 retrieving revision 1.23.24.2 diff -u -p -r1.23 -r1.23.24.2 --- src/sys/miscfs/genfs/genfs.h 2008/01/28 14:31:18 1.23 +++ src/sys/miscfs/genfs/genfs.h 2009/07/23 23:32:46 1.23.24.2 @@ -1,4 +1,9 @@ -/* $NetBSD: genfs.h,v 1.23 2008/01/28 14:31:18 dholland Exp $ */ +/* $NetBSD: genfs.h,v 1.23.24.2 2009/07/23 23:32:46 jym Exp $ */ + +#ifndef _MISCFS_GENFS_GENFS_H_ +#define _MISCFS_GENFS_GENFS_H_ + +#include int genfs_badop(void *); int genfs_nullop(void *); @@ -30,3 +35,12 @@ int genfs_do_putpages(struct vnode *, of int genfs_renamelock_enter(struct mount *); void genfs_renamelock_exit(struct mount *); + +int genfs_can_access(enum vtype, mode_t, uid_t, gid_t, mode_t, + kauth_cred_t); +int genfs_can_chmod(vnode_t *, kauth_cred_t, uid_t, gid_t, mode_t); +int genfs_can_chown(vnode_t *, kauth_cred_t, uid_t, gid_t, uid_t, gid_t); +int genfs_can_mount(vnode_t *, mode_t, kauth_cred_t); +int genfs_can_chtimes(vnode_t *, u_int, uid_t, kauth_cred_t); + +#endif /* !_MISCFS_GENFS_GENFS_H_ */