tty_pts.c (196452) | tty_pts.c (196480) |
---|---|
1/*- 2 * Copyright (c) 2008 Ed Schouten <ed@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Portions of this software were developed under sponsorship from Snow 6 * B.V., the Netherlands. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 14 unchanged lines hidden (view full) --- 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 */ 29 30#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2008 Ed Schouten <ed@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Portions of this software were developed under sponsorship from Snow 6 * B.V., the Netherlands. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 14 unchanged lines hidden (view full) --- 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 */ 29 30#include <sys/cdefs.h> |
31__FBSDID("$FreeBSD: head/sys/kern/tty_pts.c 196452 2009-08-23 08:04:40Z ed $"); | 31__FBSDID("$FreeBSD: head/sys/kern/tty_pts.c 196480 2009-08-23 20:26:09Z ed $"); |
32 | 32 |
33#include "opt_tty.h" 34 | |
35/* Add compatibility bits for FreeBSD. */ 36#define PTS_COMPAT | 33/* Add compatibility bits for FreeBSD. */ 34#define PTS_COMPAT |
37#ifdef DEV_PTY | |
38/* Add /dev/ptyXX compat bits. */ 39#define PTS_EXTERNAL | 35/* Add /dev/ptyXX compat bits. */ 36#define PTS_EXTERNAL |
40#endif /* DEV_PTY */ | |
41/* Add bits to make Linux binaries work. */ 42#define PTS_LINUX 43 44#include <sys/param.h> 45#include <sys/lock.h> 46#include <sys/condvar.h> 47#include <sys/conf.h> 48#include <sys/fcntl.h> --- 799 unchanged lines hidden --- | 37/* Add bits to make Linux binaries work. */ 38#define PTS_LINUX 39 40#include <sys/param.h> 41#include <sys/lock.h> 42#include <sys/condvar.h> 43#include <sys/conf.h> 44#include <sys/fcntl.h> --- 799 unchanged lines hidden --- |