Merge remote-tracking branch 'origin/master'
[unleashed/lotheac.git] / usr / src / uts / common / rpc / sec / sec_gen.c
blob64c048c39cdb12944337fd09a043d4d20bde683f
1 /*
2 * CDDL HEADER START
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
7 * with the License.
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]
20 * CDDL HEADER END
23 * Copyright (c) 1994-1999 by Sun Microsystems, Inc.
24 * All rights reserved.
28 * From kernel/syscall/systeminfo.c
31 #include <sys/types.h>
32 #include <sys/systeminfo.h> /* for SI_KERB stuff */
34 #include <sys/errno.h>
35 #include <rpc/types.h>
36 #include <rpc/xdr.h>
37 #include <rpc/auth.h>
38 #include <rpc/clnt.h>
39 #include <rpc/svc_auth.h>
43 * authany_wrap() is a NO-OP routines for ah_wrap().
45 /* ARGSUSED */
46 int
47 authany_wrap(AUTH *auth, caddr_t buf, u_int buflen,
48 XDR *xdrs, xdrproc_t xfunc, caddr_t xwhere)
50 return (*xfunc)(xdrs, xwhere);
54 * authany_unwrap() is a NO-OP routines for ah_unwrap().
56 /* ARGSUSED */
57 int
58 authany_unwrap(AUTH *auth, XDR *xdrs, xdrproc_t xfunc, caddr_t xwhere)
60 return (*xfunc)(xdrs, xwhere);