Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linux/linux_misc.h
Show All 25 Lines | |||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef _LINUX_MISC_H_ | #ifndef _LINUX_MISC_H_ | ||||
#define _LINUX_MISC_H_ | #define _LINUX_MISC_H_ | ||||
#include <sys/sysctl.h> | |||||
/* | /* | ||||
* Miscellaneous | * Miscellaneous | ||||
*/ | */ | ||||
#define LINUX_NAME_MAX 255 | #define LINUX_NAME_MAX 255 | ||||
#define LINUX_MAX_UTSNAME 65 | #define LINUX_MAX_UTSNAME 65 | ||||
#define LINUX_CTL_MAXNAME 10 | #define LINUX_CTL_MAXNAME 10 | ||||
▲ Show 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | |||||
int linux_common_wait(struct thread *td, int pid, int *status, | int linux_common_wait(struct thread *td, int pid, int *status, | ||||
int options, struct rusage *ru); | int options, struct rusage *ru); | ||||
void linux_to_bsd_waitopts(int options, int *bsdopts); | void linux_to_bsd_waitopts(int options, int *bsdopts); | ||||
int linux_set_upcall_kse(struct thread *td, register_t stack); | int linux_set_upcall_kse(struct thread *td, register_t stack); | ||||
int linux_set_cloned_tls(struct thread *td, void *desc); | int linux_set_cloned_tls(struct thread *td, void *desc); | ||||
struct thread *linux_tdfind(struct thread *, lwpid_t, pid_t); | struct thread *linux_tdfind(struct thread *, lwpid_t, pid_t); | ||||
int linux_sysctl_debug(SYSCTL_HANDLER_ARGS); | |||||
#endif /* _LINUX_MISC_H_ */ | #endif /* _LINUX_MISC_H_ */ |