4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
30 #pragma ident "%Z%%M% %I% %E% SMI"
32 #include <sys/types.h>
38 enum rpcsys_op
{ KRPC_REVAUTH
};
41 * Private definitions for the krpc_sys/rpcsys system call.
43 * flavor_data for AUTH_DES and AUTH_KERB is NULL.
44 * flavor_data for RPCSEC_GSS is rpc_gss_OID.
47 struct krpc_revauth_1
{
54 struct krpc_revauth_132
{
56 int32_t rpcsec_flavor
;
57 caddr32_t flavor_data
;
59 #endif /* _SYSCALL32 */
62 int version
; /* initially 1 */
64 struct krpc_revauth_1 r
;
67 #define uid_1 krpc_revauth_u.r.uid
68 #define rpcsec_flavor_1 krpc_revauth_u.r.rpcsec_flavor
69 #define flavor_data_1 krpc_revauth_u.r.flavor_data
72 struct krpc_revauth32
{
73 int32_t version
; /* initially 1 */
75 struct krpc_revauth_132 r
;
78 #endif /* _SYSCALL32 */
83 extern int rpcsys(enum rpcsys_op opcode
, void *arg
);
84 extern int sec_clnt_revoke(int, uid_t
, cred_t
*, void *, model_t
);
92 #endif /* _RPC_RPCSYS_H */