diff options
author | Richard J. Moore <rich@kde.org> | 2014-01-01 16:58:19 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-07 13:04:18 +0100 |
commit | b12b1ddf4880a5157b5edac05e0ef381e9148aae (patch) | |
tree | c7354803380ebfffef49fc8bacca4e37b61c5d06 /src/gui | |
parent | 9b19a69c89c07b02ab631c1ccfd4d89013b6ec45 (diff) |
Prevent foolish use of setuid when using Qt.
In order to prevent people from shooting themselves in the foot, abort
if we're running setuid. This behavior can be disabled by calling
QCoreApplication::setSetuidAllowed(true) in order to support legacy code.
[ChangeLog][QtCore][Important Behavior Changes] Running Qt applications
that are setuid has been prevented. If you really need to do this then
you can call QCoreApplication::setSetuidAllowed(true) before creating the
QCoreApplication instance.
Change-Id: I992a9a0cd8420693d438852a05666e3dbb2c9d6a
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions