qt5base-lts/src
Louai Al-Khanji ac0184d608 Add qt_safe_ftok wrapper for ftok
The ftok function unfortunately can return duplicate keys even for different
files if the same project id is used. This is discussed e.g. in Stevens'
"Advanced Programming in the UNIX Environment".

We want the key to be predictable so we cannot just pass a random number as
the project id. To reduce the propability of key collisions we hash the file
name with the project number as seed for a predictable value. This is the same
approach taken e.g. by Apache, but the real fix is to move away from System V
IPC completely once this is feasible on our supported platforms.

Task-number: QTBUG-48375
Change-Id: If1a57f215f7ddd147aa38919907cfb83db07aea0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2015-09-30 05:35:16 +00:00
..
3rdparty Fix some -Wcast-qual warnings 2015-09-22 22:46:27 +00:00
android Android: Always queue calls from Qt to Android. 2015-09-15 13:23:57 +00:00
angle Build ANGLE dynamically under static builds which have dynamic GL enabled 2015-09-24 12:53:52 +00:00
concurrent Doc: Qt Concurrent: Link to essential usage information 2015-04-07 14:38:29 +00:00
corelib Add qt_safe_ftok wrapper for ftok 2015-09-30 05:35:16 +00:00
dbus Fix deadlock on disconnectNotify() called from ~QObject 2015-09-25 07:45:06 +00:00
gui Clean up cancel operation handling on OS X 2015-09-27 20:44:17 +00:00
network Remove unnecessary null-pointer check 2015-09-28 16:29:20 +00:00
opengl Doc: fixed links to qmake documentation 2015-09-25 10:57:51 +00:00
openglextensions Fix typo when resolving EGL extension. 2015-04-23 11:54:36 +00:00
platformheaders Merge remote-tracking branch 'origin/5.5' into dev 2015-08-06 10:54:01 +02:00
platformsupport Synchronize QInputDeviceManager touch device count with QTouchDevice 2015-09-23 16:29:30 +00:00
plugins qwindowsmime compilation fix 2015-09-30 04:55:54 +00:00
printsupport Doc: fixed links to qmake documentation 2015-09-25 10:57:51 +00:00
sql Doc: fixed links to qmake documentation 2015-09-25 10:57:51 +00:00
testlib QTestLib: Add MSVC 2015 to blacklist. 2015-09-29 10:44:30 +00:00
tools uic/class_lib_map.h: Fix include path of QValidator-derived classes. 2015-09-30 04:30:31 +00:00
widgets Doc: minor link issue in qtbase 2015-09-28 09:39:28 +00:00
winmain winrt: Add support for native pickers for Windows Phone. 2015-09-07 06:05:05 +00:00
xml Doc: fixed links to qmake documentation 2015-09-25 10:57:51 +00:00
src.pro Merge remote-tracking branch 'origin/5.5' into dev 2015-07-01 11:05:26 +02:00