1cc553493b17fa6a6770261bbfeb258f354ebf48rmesta * CDDL HEADER START
1cc553493b17fa6a6770261bbfeb258f354ebf48rmesta * The contents of this file are subject to the terms of the
1cc553493b17fa6a6770261bbfeb258f354ebf48rmesta * Common Development and Distribution License (the "License").
1cc553493b17fa6a6770261bbfeb258f354ebf48rmesta * You may not use this file except in compliance with the License.
1cc553493b17fa6a6770261bbfeb258f354ebf48rmesta * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1cc553493b17fa6a6770261bbfeb258f354ebf48rmesta * See the License for the specific language governing permissions
1cc553493b17fa6a6770261bbfeb258f354ebf48rmesta * and limitations under the License.
1cc553493b17fa6a6770261bbfeb258f354ebf48rmesta * When distributing Covered Code, include this CDDL HEADER in each
1cc553493b17fa6a6770261bbfeb258f354ebf48rmesta * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1cc553493b17fa6a6770261bbfeb258f354ebf48rmesta * If applicable, add the following below this CDDL HEADER, with the
1cc553493b17fa6a6770261bbfeb258f354ebf48rmesta * fields enclosed by brackets "[]" replaced with your own identifying
1cc553493b17fa6a6770261bbfeb258f354ebf48rmesta * information: Portions Copyright [yyyy] [name of copyright owner]
1cc553493b17fa6a6770261bbfeb258f354ebf48rmesta * CDDL HEADER END
a05fd0c9b9aa46cf66ddea7617e56facdf1f4aafMarcel Telka * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
a05fd0c9b9aa46cf66ddea7617e56facdf1f4aafMarcel Telka * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
a05fd0c9b9aa46cf66ddea7617e56facdf1f4aafMarcel Telka * Use is subject to license terms.
1cc553493b17fa6a6770261bbfeb258f354ebf48rmesta /* Additional versions of the args go here */
1cc553493b17fa6a6770261bbfeb258f354ebf48rmesta /* NOTREACHED */
1cc553493b17fa6a6770261bbfeb258f354ebf48rmesta if (!xdr_string(xdrs, &argp->areq.req_path, A_MAXPATH))
a05fd0c9b9aa46cf66ddea7617e56facdf1f4aafMarcel Telka if (!xdr_uid_t(xdrs, &argp->areq.req_clnt_uid))
a05fd0c9b9aa46cf66ddea7617e56facdf1f4aafMarcel Telka if (!xdr_gid_t(xdrs, &argp->areq.req_clnt_gid))
89621fe174cf95ae903df6ceab605bf24d696ac3Marcel Telka if (!xdr_array(xdrs, (caddr_t *)&argp->areq.req_clnt_gids.val,
89621fe174cf95ae903df6ceab605bf24d696ac3Marcel Telka &argp->areq.req_clnt_gids.len, NGROUPS_UMAX, (uint_t)sizeof (gid_t),
a05fd0c9b9aa46cf66ddea7617e56facdf1f4aafMarcel Telka if (!xdr_uid_t(xdrs, &argp->ares.auth_srv_uid))
a05fd0c9b9aa46cf66ddea7617e56facdf1f4aafMarcel Telka if (!xdr_gid_t(xdrs, &argp->ares.auth_srv_gid))
89621fe174cf95ae903df6ceab605bf24d696ac3Marcel Telka if (!xdr_array(xdrs, (caddr_t *)&argp->ares.auth_srv_gids.val,