ia64/linux-2.6.18-xen.hg

annotate fs/cifs/cifsacl.h @ 524:7f8b544237bf

netfront: Allow netfront in domain 0.

This is useful if your physical network device is in a utility domain.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Apr 15 15:18:58 2008 +0100 (2008-04-15)
parents 831230e53067
children
rev   line source
ian@0 1 /*
ian@0 2 * fs/cifs/cifsacl.h
ian@0 3 *
ian@0 4 * Copyright (c) International Business Machines Corp., 2005
ian@0 5 * Author(s): Steve French (sfrench@us.ibm.com)
ian@0 6 *
ian@0 7 * This library is free software; you can redistribute it and/or modify
ian@0 8 * it under the terms of the GNU Lesser General Public License as published
ian@0 9 * by the Free Software Foundation; either version 2.1 of the License, or
ian@0 10 * (at your option) any later version.
ian@0 11 *
ian@0 12 * This library is distributed in the hope that it will be useful,
ian@0 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
ian@0 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
ian@0 15 * the GNU Lesser General Public License for more details.
ian@0 16 *
ian@0 17 * You should have received a copy of the GNU Lesser General Public License
ian@0 18 * along with this library; if not, write to the Free Software
ian@0 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
ian@0 20 */
ian@0 21
ian@0 22 #ifndef _CIFSACL_H
ian@0 23 #define _CIFSACL_H
ian@0 24
ian@0 25 struct cifs_sid {
ian@0 26 __u8 revision; /* revision level */
ian@0 27 __u8 num_subauths;
ian@0 28 __u8 authority[6];
ian@0 29 __u32 sub_auth[4];
ian@0 30 /* next sub_auth if any ... */
ian@0 31 } __attribute__((packed));
ian@0 32
ian@0 33 /* everyone */
ian@0 34 extern const struct cifs_sid sid_everyone;
ian@0 35 /* group users */
ian@0 36 extern const struct cifs_sid sid_user;
ian@0 37
ian@0 38 #endif /* _CIFSACL_H */