New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test/coredumpctl: support freebsd #17447
Conversation
@tchaikov |
@tchaikov
|
@tchaikov
|
@tchaikov
|
setrlimit() on platforms without prctl() Signed-off-by: Kefu Chai <kchai@redhat.com>
45c1e3b
to
4162ae0
Compare
what was your question? and good to learn that you tried to work on it, but i am not sure if this is relevant ? |
Sorry if that was not clear..... 8D |
okay. anyway, i updated this PR to use setrlimit. this is my last resort. |
@tchaikov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tchaikov
That one works:
% find build/src -type f -name \*core\* | xargs ls -asl
1677 -rw-rw-r-- 1 jenkins jenkins 6953800 Sep 5 11:51 build/src/rgw/CMakeFiles/rgw_a.dir/rgw_a.dir/rgw_object_expirer_core.cc.o
use sysctlbyname() to get/set the "kern.coredump" on platforms
supporting "sysctlbyname()".
Signed-off-by: Kefu Chai kchai@redhat.com