11de7b4b8SPedro F. Giffuni /*- 2b89321a5SAndrey A. Chernov * perm.h - header for at(1) 31de7b4b8SPedro F. Giffuni * 4*4d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 51de7b4b8SPedro F. Giffuni * 6b89321a5SAndrey A. Chernov * Copyright (C) 1994 Thomas Koenig 7b89321a5SAndrey A. Chernov * 8b89321a5SAndrey A. Chernov * Redistribution and use in source and binary forms, with or without 9b89321a5SAndrey A. Chernov * modification, are permitted provided that the following conditions 10b89321a5SAndrey A. Chernov * are met: 11b89321a5SAndrey A. Chernov * 1. Redistributions of source code must retain the above copyright 12b89321a5SAndrey A. Chernov * notice, this list of conditions and the following disclaimer. 13b89321a5SAndrey A. Chernov * 2. The name of the author(s) may not be used to endorse or promote 14b89321a5SAndrey A. Chernov * products derived from this software without specific prior written 15b89321a5SAndrey A. Chernov * permission. 16b89321a5SAndrey A. Chernov * 17b89321a5SAndrey A. Chernov * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR 18b89321a5SAndrey A. Chernov * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19b89321a5SAndrey A. Chernov * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 20ddcf8022SAndrey A. Chernov * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, 21b89321a5SAndrey A. Chernov * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22b89321a5SAndrey A. Chernov * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23b89321a5SAndrey A. Chernov * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24b89321a5SAndrey A. Chernov * THEORY OF LIABILITY, WETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25b89321a5SAndrey A. Chernov * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26b89321a5SAndrey A. Chernov * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27b89321a5SAndrey A. Chernov */ 28b89321a5SAndrey A. Chernov 293ce6c357SMark Murray int check_permission(void); 30