1*8a16b7a1SPedro F. Giffuni /*- 2*8a16b7a1SPedro F. Giffuni * SPDX-License-Identifier: BSD-3-Clause 3*8a16b7a1SPedro F. Giffuni * 43b9401dbSMike Pritchard * Copyright (c) 1980, 1990, 1993 53b9401dbSMike Pritchard * The Regents of the University of California. All rights reserved. 63b9401dbSMike Pritchard * 73b9401dbSMike Pritchard * This code is derived from software contributed to Berkeley by 83b9401dbSMike Pritchard * Robert Elz at The University of Melbourne. 93b9401dbSMike Pritchard * 103b9401dbSMike Pritchard * Redistribution and use in source and binary forms, with or without 113b9401dbSMike Pritchard * modification, are permitted provided that the following conditions 123b9401dbSMike Pritchard * are met: 133b9401dbSMike Pritchard * 1. Redistributions of source code must retain the above copyright 143b9401dbSMike Pritchard * notice, this list of conditions and the following disclaimer. 153b9401dbSMike Pritchard * 2. Redistributions in binary form must reproduce the above copyright 163b9401dbSMike Pritchard * notice, this list of conditions and the following disclaimer in the 173b9401dbSMike Pritchard * documentation and/or other materials provided with the distribution. 18fbbd9655SWarner Losh * 3. Neither the name of the University nor the names of its contributors 193b9401dbSMike Pritchard * may be used to endorse or promote products derived from this software 203b9401dbSMike Pritchard * without specific prior written permission. 213b9401dbSMike Pritchard * 223b9401dbSMike Pritchard * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 233b9401dbSMike Pritchard * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 243b9401dbSMike Pritchard * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 253b9401dbSMike Pritchard * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 263b9401dbSMike Pritchard * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 273b9401dbSMike Pritchard * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 283b9401dbSMike Pritchard * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 293b9401dbSMike Pritchard * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 303b9401dbSMike Pritchard * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 313b9401dbSMike Pritchard * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 323b9401dbSMike Pritchard * SUCH DAMAGE. 333b9401dbSMike Pritchard */ 343b9401dbSMike Pritchard 353af26d4aSKirk McKusick extern char *blockcheck(char *); 363af26d4aSKirk McKusick extern int checkfstab(int, int); 373af26d4aSKirk McKusick extern int chkquota(char *, struct quotafile *, struct quotafile *); 38