Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linux/linux_mib.c
Show First 20 Lines • Show All 85 Lines • ▼ Show 20 Lines | |||||
SYSCTL_INT(_compat_linux, OID_AUTO, preserve_vstatus, CTLFLAG_RWTUN, | SYSCTL_INT(_compat_linux, OID_AUTO, preserve_vstatus, CTLFLAG_RWTUN, | ||||
&linux_preserve_vstatus, 0, "Preserve VSTATUS termios(4) flag"); | &linux_preserve_vstatus, 0, "Preserve VSTATUS termios(4) flag"); | ||||
bool linux_map_sched_prio = true; | bool linux_map_sched_prio = true; | ||||
SYSCTL_BOOL(_compat_linux, OID_AUTO, map_sched_prio, CTLFLAG_RDTUN, | SYSCTL_BOOL(_compat_linux, OID_AUTO, map_sched_prio, CTLFLAG_RDTUN, | ||||
&linux_map_sched_prio, 0, "Map scheduler priorities to Linux priorities " | &linux_map_sched_prio, 0, "Map scheduler priorities to Linux priorities " | ||||
"(not POSIX compliant)"); | "(not POSIX compliant)"); | ||||
int linux_use_emul_path = 1; | |||||
SYSCTL_INT(_compat_linux, OID_AUTO, use_emul_path, CTLFLAG_RWTUN, | |||||
&linux_use_emul_path, 0, "Use linux.compat.emul_path"); | |||||
static bool linux_setid_allowed = true; | static bool linux_setid_allowed = true; | ||||
SYSCTL_BOOL(_compat_linux, OID_AUTO, setid_allowed, CTLFLAG_RWTUN, | SYSCTL_BOOL(_compat_linux, OID_AUTO, setid_allowed, CTLFLAG_RWTUN, | ||||
&linux_setid_allowed, 0, | &linux_setid_allowed, 0, | ||||
"Allow setuid/setgid on execve of Linux binary"); | "Allow setuid/setgid on execve of Linux binary"); | ||||
int | int | ||||
linux_setid_allowed_query(struct thread *td __unused, | linux_setid_allowed_query(struct thread *td __unused, | ||||
struct image_params *imgp __unused) | struct image_params *imgp __unused) | ||||
▲ Show 20 Lines • Show All 482 Lines • Show Last 20 Lines |