Deleted Added
full compact
port-linux.h (181111) port-linux.h (204917)
1/* $Id: port-linux.h,v 1.2 2008/03/26 20:27:21 dtucker Exp $ */
1/* $Id: port-linux.h,v 1.4 2009/12/08 02:39:48 dtucker Exp $ */
2
3/*
4 * Copyright (c) 2006 Damien Miller <djm@openbsd.org>
5 *
6 * Permission to use, copy, modify, and distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
9 *

--- 8 unchanged lines hidden (view full) ---

18
19#ifndef _PORT_LINUX_H
20#define _PORT_LINUX_H
21
22#ifdef WITH_SELINUX
23int ssh_selinux_enabled(void);
24void ssh_selinux_setup_pty(char *, const char *);
25void ssh_selinux_setup_exec_context(char *);
2
3/*
4 * Copyright (c) 2006 Damien Miller <djm@openbsd.org>
5 *
6 * Permission to use, copy, modify, and distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
9 *

--- 8 unchanged lines hidden (view full) ---

18
19#ifndef _PORT_LINUX_H
20#define _PORT_LINUX_H
21
22#ifdef WITH_SELINUX
23int ssh_selinux_enabled(void);
24void ssh_selinux_setup_pty(char *, const char *);
25void ssh_selinux_setup_exec_context(char *);
26void ssh_selinux_change_context(const char *);
26#endif
27
27#endif
28
29#ifdef LINUX_OOM_ADJUST
30void oom_adjust_restore(void);
31void oom_adjust_setup(void);
32#endif
33
28#endif /* ! _PORT_LINUX_H */
34#endif /* ! _PORT_LINUX_H */