diff options
author | green <green@FreeBSD.org> | 2001-12-11 20:48:20 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2001-12-11 20:48:20 +0000 |
commit | b40c254986521a7b9ec49e1e51f1582def697b80 (patch) | |
tree | 9fa32734117ef1f2935525d0fe0cb897b8b74d6c /sys/fs/pseudofs/pseudofs.h | |
parent | a3fff002fac556e3f3c4707f3d2f16a2b895a50a (diff) | |
download | FreeBSD-src-b40c254986521a7b9ec49e1e51f1582def697b80.zip FreeBSD-src-b40c254986521a7b9ec49e1e51f1582def697b80.tar.gz |
Add VOP_GETEXTATTR(9) passthrough support to pseudofs.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'sys/fs/pseudofs/pseudofs.h')
-rw-r--r-- | sys/fs/pseudofs/pseudofs.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/fs/pseudofs/pseudofs.h b/sys/fs/pseudofs/pseudofs.h index 2432748..ba0a93b 100644 --- a/sys/fs/pseudofs/pseudofs.h +++ b/sys/fs/pseudofs/pseudofs.h @@ -133,6 +133,18 @@ typedef int (*pfs_vis_t)(PFS_VIS_ARGS); typedef int (*pfs_ioctl_t)(PFS_IOCTL_ARGS); /* + * Getextattr callback + */ +#define PFS_GETEXTATTR_ARGS \ + struct thread *td, struct proc *p, struct pfs_node *pn, \ + int attrnamespace, const char *name, struct uio *uio, \ + struct ucred *cred +#define PFS_GETEXTATTR_PROTO(name) \ + int name(PFS_GETEXTATTR_ARGS); +struct ucred; +typedef int (*pfs_getextattr_t)(PFS_GETEXTATTR_ARGS); + +/* * Last-close callback */ #define PFS_CLOSE_ARGS \ @@ -172,6 +184,7 @@ struct pfs_node { pfs_close_t pn_close; pfs_attr_t pn_attr; pfs_vis_t pn_vis; + pfs_getextattr_t pn_getextattr; void *pn_data; int pn_flags; |