/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* Copyright 2015 PALO, Richard
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "list.h"
#include "exception_list.h"
#include "arch.h"
/*
* This is global so that the protodir reading functions can rely on the
* exception list to weed out innocuous problems in the IHV gate.
*/
static int
{
elem *e;
/* don't complain; this is only a blank line */
return (0);
}
arch = "all";
}
if (e == NULL) {
perror("malloc");
exit(1);
}
e->inode = 0;
e->perm = 0;
e->ref_cnt = 0;
e->flag = 0;
e->major = 0;
e->minor = 0;
e->link_parent = NULL;
return (0);
}
}
return (1);
}
int
{
int count = 0;
if (verbose) {
(void) printf("reading in exceptions from %s...\n",
}
return (0);
}
}
if (verbose)
return (count);
}