1d4af9e69SDag-Erling Smørgrav /* $Id: port-linux.h,v 1.2 2008/03/26 20:27:21 dtucker Exp $ */ 2761efaa7SDag-Erling Smørgrav 3761efaa7SDag-Erling Smørgrav /* 4761efaa7SDag-Erling Smørgrav * Copyright (c) 2006 Damien Miller <djm@openbsd.org> 5761efaa7SDag-Erling Smørgrav * 6761efaa7SDag-Erling Smørgrav * Permission to use, copy, modify, and distribute this software for any 7761efaa7SDag-Erling Smørgrav * purpose with or without fee is hereby granted, provided that the above 8761efaa7SDag-Erling Smørgrav * copyright notice and this permission notice appear in all copies. 9761efaa7SDag-Erling Smørgrav * 10761efaa7SDag-Erling Smørgrav * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11761efaa7SDag-Erling Smørgrav * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12761efaa7SDag-Erling Smørgrav * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13761efaa7SDag-Erling Smørgrav * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14761efaa7SDag-Erling Smørgrav * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 15761efaa7SDag-Erling Smørgrav * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16761efaa7SDag-Erling Smørgrav * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17761efaa7SDag-Erling Smørgrav */ 18761efaa7SDag-Erling Smørgrav 19761efaa7SDag-Erling Smørgrav #ifndef _PORT_LINUX_H 20761efaa7SDag-Erling Smørgrav #define _PORT_LINUX_H 21761efaa7SDag-Erling Smørgrav 22761efaa7SDag-Erling Smørgrav #ifdef WITH_SELINUX 23d4af9e69SDag-Erling Smørgrav int ssh_selinux_enabled(void); 24761efaa7SDag-Erling Smørgrav void ssh_selinux_setup_pty(char *, const char *); 25761efaa7SDag-Erling Smørgrav void ssh_selinux_setup_exec_context(char *); 26761efaa7SDag-Erling Smørgrav #endif 27761efaa7SDag-Erling Smørgrav 28761efaa7SDag-Erling Smørgrav #endif /* ! _PORT_LINUX_H */ 29