qt6-bb10/src
Thiago Macieira 5b697bb08c QTest::CrashHandler: allow debugging crashed tests on Linux+YAMA
The YAMA LSM by default[1] prevents attaching the debugger to any
process that isn't a child. Since our backtracer comes from a child
process instead (i.e., tracing the parent), we must grant explicit
permission. This also makes QTEST_PAUSE_ON_CRASH=1 work.

[1] https://codebrowser.dev/linux/linux/security/yama/yama_lsm.c.html#ptrace_scope

Change-Id: Ic19d84a7a730c7f8fc0ffffd64e516447e4b1f35
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 731b1159f9da9d0a5f9871ceaef4b82b657b130c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-25 18:15:44 +00:00
..
3rdparty Update bundled libjpeg-turbo to version 3.0.4 2024-09-20 12:21:27 +00:00
android Android: Fix Android keyboard hiding focused QtEditText 2024-09-24 12:44:22 +00:00
assets AssetDownloader: Sync TaskTree sources 2024-09-07 13:47:55 +00:00
concurrent Remove GENERATE_CPP_EXPORTS argument 2024-06-13 14:39:17 +00:00
corelib Fix runtime detection of ARM AES extension on Darwin (iOS) 2024-09-25 17:23:50 +00:00
dbus QtDBus: don't detach in registerComplexDBusType()::Hash static destruction 2024-07-03 23:28:49 +00:00
entrypoint CMake: Correctly annotate the Entrypoint (winmain) SBOM license ID 2024-06-19 08:15:40 +00:00
gui rhi: d3d: Gracefully handle EnumOutputs failures 2024-09-25 16:56:36 +00:00
network Disable QLocalSocket on VxWorks 2024-09-19 17:54:42 +00:00
opengl Doc: Remove usage of defunct QDoc command 2024-08-28 11:39:51 +00:00
openglwidgets Remove GENERATE_CPP_EXPORTS argument 2024-06-13 14:39:17 +00:00
platformsupport Enable keyboard handling on VxWorks 2024-08-27 18:01:04 +02:00
plugins iOS: Remove safe area workaround for iOS < 11 2024-09-25 17:23:52 +00:00
printsupport Doc: Remove usage of defunct QDoc command 2024-08-28 11:39:51 +00:00
sql QSqlRelationalTableModel: properly clear relational dictionary 2024-09-08 10:08:26 +00:00
testlib QTest::CrashHandler: allow debugging crashed tests on Linux+YAMA 2024-09-25 18:15:44 +00:00
tools moc: move the static_cast<ObjectType *> to the top of qt_static_metacall 2024-09-24 04:16:19 +00:00
widgets QCommonStyle: work around apparent MSVC bug in using QFlag 2024-09-24 20:30:07 +00:00
xml QtXml: be systematic about feature dom 2024-08-29 18:21:29 +00:00
CMakeLists.txt Add Qt icon library for examples 2023-04-22 18:14:38 +03:00