diff options
author | unknown <cmiller@zippy.cornsilk.net> | 2007-06-14 14:24:59 -0400 |
---|---|---|
committer | unknown <cmiller@zippy.cornsilk.net> | 2007-06-14 14:24:59 -0400 |
commit | 4a009817ab562e3bc20edf496a6d0fda62ac3c1d (patch) | |
tree | c3a8d746e3ff181fd2f2036e33dce9a11a78b932 /sql/slave.cc | |
parent | 6f742c9053d793065de05b0394ebb6f1f0f58d55 (diff) | |
download | mariadb-git-4a009817ab562e3bc20edf496a6d0fda62ac3c1d.tar.gz |
Bug#21723: Should be able to dump core after setuid() under Linux
In many cases, binaries can no longer dump core after calling setuid().
Where the PR_SET_DUMPABLE macro is set, use the prctl() system call
to tell the kernel that it's allowed to dump the core of the server.
configure.in:
Test system for "sys/prctl.h", to get access to prctl().
sql/mysqld.cc:
Add a process-control operation that tells the Linux kernel that it
is allowed to dump core after setuid().
Diffstat (limited to 'sql/slave.cc')
0 files changed, 0 insertions, 0 deletions