misc.c revision 2
2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright 2010 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A * Miscellaneous user interfaces to trusted label functions. 2N/A * Parse off an entry from a line. Entry is stored in 'outbuf'. Returned 2N/A * value is a pointer to the first unprocessed input character from 'instr'. 2N/A * User may specify outlen as 0 to skip over a field without storing 2N/A * it anywhere. Otherwise, we need at least one byte for the 2N/A * terminating NUL plus one byte to store another byte from instr. 2N/A /* Defaults to CIPSO if not specified */ 2N/A /* If RTSA_CIPSO is specified, RTSA_DOI must be specified */ 2N/A /* SL range must be specified */ 2N/A /* SL range must have upper bound dominating lower bound */ 2N/A "Empty string or end of list",
2N/A "Entry is malformed",
2N/A "Missing attributes",
2N/A "Illegal keyword delimiter",
2N/A "Duplicate keyword",
2N/A "Illegal value delimiter",
2N/A "Missing host type",
2N/A "Illegal host type",
2N/A "Missing label range",
2N/A "Illegal label range",
2N/A "No lower bound in range",
2N/A "Illegal lower bound in range",
2N/A "No upper bound in range",
2N/A "Illegal upper bound in range",
2N/A "Too many entries in set",
2N/A "Illegal MLP specification",
2N/A "Unacceptable keyword for type"