QTemporaryFile: Disable O_TMPFILE on Android
We require linkat(2) to materialize the file and that is (stupidly)
filtered. See 138d34b9c8
and QTBUG-64103.
Task-number: QTBUG-68344
Change-Id: I052407b777ec43f78378fffd152fd8822761b452
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
This commit is contained in:
parent
fb0447bc05
commit
f86fbc4566
@ -569,7 +569,8 @@
|
|||||||
},
|
},
|
||||||
"linkat": {
|
"linkat": {
|
||||||
"label": "linkat()",
|
"label": "linkat()",
|
||||||
"autoDetect": "config.linux",
|
"comment": "Currently only used by QTemporaryFile; linkat() exists on Android, but hardlink creation fails due to security rules",
|
||||||
|
"autoDetect": "config.linux && !config.android",
|
||||||
"condition": "tests.linkat",
|
"condition": "tests.linkat",
|
||||||
"output": [ "privateFeature" ]
|
"output": [ "privateFeature" ]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user