Print this page
1575 untangle libmlrpc ... (smbsrv)


  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23  * Use is subject to license terms.
  24  *
  25  * Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
  26  */
  27 
  28 #ifndef _SMB_PRIVILEGE_H
  29 #define _SMB_PRIVILEGE_H
  30 
  31 #include <smbsrv/wintypes.h>
  32 
  33 #ifdef __cplusplus
  34 extern "C" {
  35 #endif
  36 
  37 /*
  38  * Privileges
  39  *
  40  * Privileges apply to all objects and over-ride the access controls
  41  * in an object's security descriptor in a manner specific to each
  42  * privilege. Privileges are still not full defined. Privileges are
  43  * defined in a set structure (LUID = Locally Unique Identifier).
  44  *
  45  * The default LUID, name and display names defined on NT 4.0 are:
  46  * LUID Privilege Name                Display Name
  47  * ---- --------------                ------------
  48  * 0:2  SeCreateTokenPrivilege        Create a token object
  49  * 0:3  SeAssignPrimaryTokenPrivilege Replace a process level token
  50  * 0:4  SeLockMemoryPrivilege         Lock pages in memory
  51  * 0:5  SeIncreaseQuotaPrivilege      Increase quotas




  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23  * Use is subject to license terms.
  24  *
  25  * Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
  26  */
  27 
  28 #ifndef _SMB_PRIVILEGE_H
  29 #define _SMB_PRIVILEGE_H
  30 
  31 #include <smb/wintypes.h>
  32 
  33 #ifdef __cplusplus
  34 extern "C" {
  35 #endif
  36 
  37 /*
  38  * Privileges
  39  *
  40  * Privileges apply to all objects and over-ride the access controls
  41  * in an object's security descriptor in a manner specific to each
  42  * privilege. Privileges are still not full defined. Privileges are
  43  * defined in a set structure (LUID = Locally Unique Identifier).
  44  *
  45  * The default LUID, name and display names defined on NT 4.0 are:
  46  * LUID Privilege Name                Display Name
  47  * ---- --------------                ------------
  48  * 0:2  SeCreateTokenPrivilege        Create a token object
  49  * 0:3  SeAssignPrimaryTokenPrivilege Replace a process level token
  50  * 0:4  SeLockMemoryPrivilege         Lock pages in memory
  51  * 0:5  SeIncreaseQuotaPrivilege      Increase quotas