Allow the ia32 resource limits (compat.ia32.max{dsiz,ssiz,vmem} to be
set via loader tunables. They are already tunable via sysctl. MFC after: 1 week Approved by: re (kensmith)
This commit is contained in:
parent
26c31003af
commit
977b6507cb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172316
@ -102,10 +102,13 @@ SYSCTL_NODE(_compat, OID_AUTO, ia32, CTLFLAG_RW, 0, "ia32 mode");
|
||||
|
||||
static u_long ia32_maxdsiz = IA32_MAXDSIZ;
|
||||
SYSCTL_ULONG(_compat_ia32, OID_AUTO, maxdsiz, CTLFLAG_RW, &ia32_maxdsiz, 0, "");
|
||||
TUNABLE_ULONG("compat.ia32.maxdsiz", &ia32_maxdsiz);
|
||||
static u_long ia32_maxssiz = IA32_MAXSSIZ;
|
||||
SYSCTL_ULONG(_compat_ia32, OID_AUTO, maxssiz, CTLFLAG_RW, &ia32_maxssiz, 0, "");
|
||||
TUNABLE_ULONG("compat.ia32.maxssiz", &ia32_maxssiz);
|
||||
static u_long ia32_maxvmem = IA32_MAXVMEM;
|
||||
SYSCTL_ULONG(_compat_ia32, OID_AUTO, maxvmem, CTLFLAG_RW, &ia32_maxvmem, 0, "");
|
||||
TUNABLE_ULONG("compat.ia32.maxvmem", &ia32_maxvmem);
|
||||
|
||||
struct sysentvec ia32_freebsd_sysvec = {
|
||||
FREEBSD32_SYS_MAXSYSCALL,
|
||||
|
Loading…
Reference in New Issue
Block a user