aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_mib.h
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2020-10-18 15:58:16 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2020-10-18 15:58:16 +0000
commit54669eb7798916a704cb1f676919686c880ab985 (patch)
treec030ac8ae96e82b726e2f892f8762b850ea1257b /sys/compat/linux/linux_mib.h
parentc0d07d326fee4914ff7cbd7cc87afd2d25931723 (diff)
downloadsrc-54669eb7798916a704cb1f676919686c880ab985.tar.gz
src-54669eb7798916a704cb1f676919686c880ab985.zip
Add compat.linux.dummy_rlimits, and disable by default.
Turns out the dummy rlimits fix prlimit(1), but break su(8) (login-1:4.5-1ubuntu2) - although not sudo(8), for some reason. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D26814
Notes
Notes: svn path=/head/; revision=366809
Diffstat (limited to 'sys/compat/linux/linux_mib.h')
-rw-r--r--sys/compat/linux/linux_mib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_mib.h b/sys/compat/linux/linux_mib.h
index b3f16622d81c..bef21758acde 100644
--- a/sys/compat/linux/linux_mib.h
+++ b/sys/compat/linux/linux_mib.h
@@ -65,6 +65,7 @@ int linux_kernver(struct thread *td);
extern int linux_debug;
extern int linux_default_openfiles;
extern int linux_default_stacksize;
+extern int linux_dummy_rlimits;
extern int linux_ignore_ip_recverr;
extern int linux_preserve_vstatus;
extern bool linux_map_sched_prio;