diff options
author | Terje Rosten <terje.rosten@oracle.com> | 2016-08-12 12:38:20 +0200 |
---|---|---|
committer | Terje Rosten <terje.rosten@oracle.com> | 2016-08-18 12:19:15 +0200 |
commit | 8b1f4d84cafe393e92f942278f9f020a62ceb5b9 (patch) | |
tree | f8165953bb4a392b6ce368da8090a27e0a95a432 /support-files | |
parent | 04bad164e7d4bad2b2ed63485ea6361029392d68 (diff) | |
download | mariadb-git-8b1f4d84cafe393e92f942278f9f020a62ceb5b9.tar.gz |
Bug#24464380 PRIVILEGE ESCALATION USING MYSQLD_SAFE
Argument to malloc-lib must be included in restricted list of
directories, symlink guards added, and mysqld and mysqld-version
options restricted to command line only. Don't redirect errors to
stderr.
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/mysql.server.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support-files/mysql.server.sh b/support-files/mysql.server.sh index 7487d5acc0f..909d33f8770 100644 --- a/support-files/mysql.server.sh +++ b/support-files/mysql.server.sh @@ -280,7 +280,7 @@ case "$mode" in then # Give extra arguments to mysqld with the my.cnf file. This script # may be overwritten at next upgrade. - $bindir/mysqld_safe --datadir="$datadir" --pid-file="$mysqld_pid_file_path" $other_args >/dev/null 2>&1 & + $bindir/mysqld_safe --datadir="$datadir" --pid-file="$mysqld_pid_file_path" $other_args >/dev/null & wait_for_pid created "$!" "$mysqld_pid_file_path"; return_value=$? # Make lock for RedHat / SuSE |