Deleted Added
full compact
linux_misc.h (293516) linux_misc.h (293527)
1/*-
2 * Copyright (c) 2006 Roman Divacky
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
1/*-
2 * Copyright (c) 2006 Roman Divacky
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * $FreeBSD: stable/10/sys/compat/linux/linux_misc.h 293516 2016-01-09 15:48:11Z dchagin $
28 * $FreeBSD: stable/10/sys/compat/linux/linux_misc.h 293527 2016-01-09 16:08:22Z dchagin $
29 */
30
31#ifndef _LINUX_MISC_H_
32#define _LINUX_MISC_H_
33
29 */
30
31#ifndef _LINUX_MISC_H_
32#define _LINUX_MISC_H_
33
34#include <sys/sysctl.h>
35
34/*
35 * Miscellaneous
36 */
37#define LINUX_NAME_MAX 255
38#define LINUX_MAX_UTSNAME 65
39
40#define LINUX_CTL_MAXNAME 10
41

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

134
135int linux_common_wait(struct thread *td, int pid, int *status,
136 int options, struct rusage *ru);
137void linux_to_bsd_waitopts(int options, int *bsdopts);
138int linux_set_upcall_kse(struct thread *td, register_t stack);
139int linux_set_cloned_tls(struct thread *td, void *desc);
140struct thread *linux_tdfind(struct thread *, lwpid_t, pid_t);
141
36/*
37 * Miscellaneous
38 */
39#define LINUX_NAME_MAX 255
40#define LINUX_MAX_UTSNAME 65
41
42#define LINUX_CTL_MAXNAME 10
43

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

136
137int linux_common_wait(struct thread *td, int pid, int *status,
138 int options, struct rusage *ru);
139void linux_to_bsd_waitopts(int options, int *bsdopts);
140int linux_set_upcall_kse(struct thread *td, register_t stack);
141int linux_set_cloned_tls(struct thread *td, void *desc);
142struct thread *linux_tdfind(struct thread *, lwpid_t, pid_t);
143
144int linux_sysctl_debug(SYSCTL_HANDLER_ARGS);
145
142#endif /* _LINUX_MISC_H_ */
146#endif /* _LINUX_MISC_H_ */