usr/src/cmd/fs.d/nfs/mountd/netgroup.c
changeset 3957 86c9dda5df37
parent 0 68f95e015346
equal deleted inserted replaced
3956:ea75466401e7 3957:86c9dda5df37
     1 /*
     1 /*
     2  * CDDL HEADER START
     2  * CDDL HEADER START
     3  *
     3  *
     4  * The contents of this file are subject to the terms of the
     4  * The contents of this file are subject to the terms of the
     5  * Common Development and Distribution License, Version 1.0 only
     5  * Common Development and Distribution License (the "License").
     6  * (the "License").  You may not use this file except in compliance
     6  * You may not use this file except in compliance with the License.
     7  * with the License.
       
     8  *
     7  *
     9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
     8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
    10  * or http://www.opensolaris.org/os/licensing.
     9  * or http://www.opensolaris.org/os/licensing.
    11  * See the License for the specific language governing permissions
    10  * See the License for the specific language governing permissions
    12  * and limitations under the License.
    11  * and limitations under the License.
    17  * fields enclosed by brackets "[]" replaced with your own identifying
    16  * fields enclosed by brackets "[]" replaced with your own identifying
    18  * information: Portions Copyright [yyyy] [name of copyright owner]
    17  * information: Portions Copyright [yyyy] [name of copyright owner]
    19  *
    18  *
    20  * CDDL HEADER END
    19  * CDDL HEADER END
    21  */
    20  */
    22 /*
    21 
    23  * netgroup.c
    22 /*
    24  *
    23  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
    25  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
       
    26  * Use is subject to license terms.
    24  * Use is subject to license terms.
    27  */
    25  */
    28 
    26 
    29 #pragma ident	"%Z%%M%	%I%	%E% SMI"
    27 #pragma ident	"%Z%%M%	%I%	%E% SMI"
    30 
    28 
    48 #include <sys/utsname.h>
    46 #include <sys/utsname.h>
    49 #include <signal.h>
    47 #include <signal.h>
    50 #include <locale.h>
    48 #include <locale.h>
    51 #include <unistd.h>
    49 #include <unistd.h>
    52 #include <thread.h>
    50 #include <thread.h>
       
    51 #include <sharefs/share.h>
    53 #include "../lib/sharetab.h"
    52 #include "../lib/sharetab.h"
    54 #include "mountd.h"
    53 #include "mountd.h"
    55 
    54 
    56 struct cache_entry {
    55 struct cache_entry {
    57 	char	*cache_host;
    56 	char	*cache_host;