![]() |
|
|||
0001 /* 0002 * Common NFSv4 ACL handling definitions. 0003 * 0004 * Copyright (c) 2002 The Regents of the University of Michigan. 0005 * All rights reserved. 0006 * 0007 * Marius Aamodt Eriksen <marius@umich.edu> 0008 * 0009 * Redistribution and use in source and binary forms, with or without 0010 * modification, are permitted provided that the following conditions 0011 * are met: 0012 * 0013 * 1. Redistributions of source code must retain the above copyright 0014 * notice, this list of conditions and the following disclaimer. 0015 * 2. Redistributions in binary form must reproduce the above copyright 0016 * notice, this list of conditions and the following disclaimer in the 0017 * documentation and/or other materials provided with the distribution. 0018 * 3. Neither the name of the University nor the names of its 0019 * contributors may be used to endorse or promote products derived 0020 * from this software without specific prior written permission. 0021 * 0022 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED 0023 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 0024 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 0025 * DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 0026 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 0027 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 0028 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 0029 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 0030 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 0031 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 0032 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 0033 */ 0034 0035 #ifndef LINUX_NFS4_ACL_H 0036 #define LINUX_NFS4_ACL_H 0037 0038 struct nfs4_acl; 0039 struct svc_fh; 0040 struct svc_rqst; 0041 struct nfsd_attrs; 0042 enum nfs_ftype4; 0043 0044 int nfs4_acl_bytes(int entries); 0045 int nfs4_acl_get_whotype(char *, u32); 0046 __be32 nfs4_acl_write_who(struct xdr_stream *xdr, int who); 0047 0048 int nfsd4_get_nfs4_acl(struct svc_rqst *rqstp, struct dentry *dentry, 0049 struct nfs4_acl **acl); 0050 __be32 nfsd4_acl_to_attr(enum nfs_ftype4 type, struct nfs4_acl *acl, 0051 struct nfsd_attrs *attr); 0052 0053 #endif /* LINUX_NFS4_ACL_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |