summaryrefslogtreecommitdiff
path: root/cmds/installd/InstalldNativeService.cpp
diff options
context:
space:
mode:
author Shikha Malhotra <shikhamalhotra@google.com> 2022-04-04 12:44:42 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2022-04-04 12:44:42 +0000
commit2af771c3ba9c54a10b4c5cb4d0e77a928823173f (patch)
tree5724ed32d63311f1490059f8e57973abc67bc1a4 /cmds/installd/InstalldNativeService.cpp
parent9c5c944e25e0e9632b4985f159be897885937359 (diff)
parentaf5e968482824e5b106f32d6460616880e2da181 (diff)
Merge "Check for IOCTL feature changed to not set inheritence"
Diffstat (limited to 'cmds/installd/InstalldNativeService.cpp')
-rw-r--r--cmds/installd/InstalldNativeService.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/installd/InstalldNativeService.cpp b/cmds/installd/InstalldNativeService.cpp
index b2a6ccff79..c95ee4109d 100644
--- a/cmds/installd/InstalldNativeService.cpp
+++ b/cmds/installd/InstalldNativeService.cpp
@@ -3391,7 +3391,7 @@ bool check_if_ioctl_feature_is_supported() {
auto temp_path = StringPrintf("%smisc/installd/ioctl_check", android_data_dir.c_str());
if (access(temp_path.c_str(), F_OK) != 0) {
open(temp_path.c_str(), O_CREAT | O_TRUNC | O_RDWR | O_CLOEXEC, 0644);
- result = set_quota_project_id(temp_path, 0, true) == 0;
+ result = set_quota_project_id(temp_path, 0, false) == 0;
// delete the temp file
// remove the external file
remove(temp_path.c_str());