Go to file
Thiago Macieira 772863355a QLockFile/Unix: save the boot and machine IDs in the lock file too
This allows us to make sure that the PID we read is from the same boot
as we are right now running. The collision could happen on embedded
systems where the boot sequence is fixed, so all the same processes
would have the exact same PIDs after reboot as they did before.

[ChangeLog][QtCore][QLockFile] QLockFile can now properly conclude that
a lock file from a previous boot of the same device is stale and can be
removed. This is implemented only for Linux and Apple operating systems.

Task-number: QTBUG-63425
Change-Id: I0b48fc8e90304e0dacc3fffd14e8e3a197211788
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
2017-11-14 15:54:56 +00:00
bin
config.tests Clean up OS version checks for Apple platforms 2017-09-29 03:30:13 +00:00
dist Add changes file for Qt 5.9.2 2017-09-29 15:21:40 +00:00
doc Doc: improve screenshots Application Example 2017-10-18 10:43:49 +00:00
examples Merge remote-tracking branch 'origin/5.10' into dev 2017-10-24 13:40:55 +02:00
lib
mkspecs Enable deprecation warnings for Qt plugins, just like for modules 2017-11-08 00:55:20 +00:00
qmake Merge remote-tracking branch 'origin/5.9' into 5.10 2017-10-16 22:21:52 +03:00
src QLockFile/Unix: save the boot and machine IDs in the lock file too 2017-11-14 15:54:56 +00:00
tests QLockFile/Unix: save the boot and machine IDs in the lock file too 2017-11-14 15:54:56 +00:00
util Replace Q_DECL_FINAL with final 2017-09-22 07:30:01 +00:00
.gitattributes
.gitignore GitIgnore qvkgen 2017-10-19 10:59:09 +00:00
.qmake.conf Bump version 2017-10-06 18:00:03 +02:00
.tag
config_help.txt Remove qml-debug configure flag and feature 2017-11-06 11:37:05 +00:00
configure Remove references to obsolete platforms 2017-11-05 06:33:53 +00:00
configure.bat
configure.json Remove qml-debug configure flag and feature 2017-11-06 11:37:05 +00:00
configure.pri Append the QMAKE_EXTRA_ARGS to the output instead of overwriting it 2017-08-25 10:32:32 +00:00
header.BSD
header.BSD-OLD
header.COMM
header.FDL
header.FDL-OLD
header.GPL
header.GPL-EXCEPT
header.LGPL
header.LGPL3
header.LGPL3-COMM
header.LGPL21
header.LGPL-NOGPL2
header.LGPL-ONLY
INSTALL
LGPL_EXCEPTION.txt
LICENSE.FDL
LICENSE.GPL2
LICENSE.GPL3
LICENSE.GPL3-EXCEPT
LICENSE.GPLv3
LICENSE.LGPL3
LICENSE.LGPLv3
LICENSE.LGPLv21
LICENSE.PREVIEW.COMMERCIAL
qtbase.pro
sync.profile Fix syncqt after commit 40fe5d43fd 2017-09-08 13:21:47 +00:00