aboutsummaryrefslogtreecommitdiff
path: root/etc/master.passwd
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2016-01-27 06:24:19 +0000
committerEnji Cooper <ngie@FreeBSD.org>2016-01-27 06:24:19 +0000
commit8e62f8414ea27f54669c6007db99dce4dcaf92ba (patch)
treef8cea168779df28212155dd78bf759055cec49b9 /etc/master.passwd
parentb888adc78493115b32d09da614e61791cc780a47 (diff)
downloadsrc-8e62f8414ea27f54669c6007db99dce4dcaf92ba.tar.gz
src-8e62f8414ea27f54669c6007db99dce4dcaf92ba.zip
Adjust vm.max_wired in order to avoid hitting EAGAIN artificially
Set vm.max_wired to INT_MAX in :mlock_err, :mlock_mmap, and :mlock_nested to avoid hitting EAGAIN artificially on the system when running the tests Require root privileges in order to set the sysctl Add allow_sysctl_side_effects to require.config as this test is now adjusting sysctls that can affect the global system state Unlike the version submitted by cem in OneFS, this version uses a scratch file to save/restore the previous value of the sysctl. I _really_, _really_ wish there were better hooks in atf/kyua for per test suite setup/teardown -- using a file is kludgy, but it's the best I can do to avoid situations where (for instance), sysctl(3) may fail and drop a core outside the kyua sandbox. Based on a patch submitted by cem, but modified to take business logic out of ATF_TP_ADD_TCS(3). Differential Revision: https://reviews.freebsd.org/D4779 MFC after: 1 month Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=294894
Diffstat (limited to 'etc/master.passwd')
0 files changed, 0 insertions, 0 deletions