acl_nt.h revision 613a2f6ba31e891e3d947a356daf5e563d43c1ce
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _ACL_NT_H
#define _ACL_NT_H
/*
* Internal functions for dealing with
* NT Security data structures.
*/
#include <netsmb/smbfs_acl.h>
/*
* Internal form of an NT SID
* Same as on the wire, but possibly byte-swapped.
*/
typedef struct i_ntsid {
} i_ntsid_t;
/*
* Internal form of an NT ACE
*/
typedef struct i_ntace {
} i_ntace_t;
/*
*/
typedef struct i_ntacl {
} i_ntacl_t;
/*
* Internal form of an NT Security Descriptor (SD)
*/
struct i_ntsd {
};
struct mbdata;
/*
* Import a raw SD (mb chain) into "internal" form.
* (like "absolute" form per. NT docs)
* Returns allocated data in sdp
*/
/*
* Export an "internal" SD into an raw SD (mb chain).
* (a.k.a "self-relative" form per. NT docs)
* Returns allocated mbchain in mbp.
*/
/*
* Get an SD via ioctl on FD (with "selector" bits),
* stroing the raw Windows SD in the mb chain mbp.
*/
/*
* Set an SD via ioctl on FD (with "selector" bits),
* with a raw Windows SD from the chain mbp.
*/
#endif /* _ACL_NT_H */