summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-rc/ResourceScriptToken.cpp
diff options
context:
space:
mode:
authorYan Wang <yawanng@google.com>2017-08-10 17:18:10 +0000
committerYan Wang <yawanng@google.com>2017-08-10 17:18:10 +0000
commitd61c2a18cb98607bf2897b6a5ed23164d9d1cb32 (patch)
tree6600d18cdd513e8affbad70c2d2301ea0eb5b29d /llvm/tools/llvm-rc/ResourceScriptToken.cpp
parent75023dbf51ec620027e592caf7925bdaed974cb0 (diff)
downloadbcm5719-llvm-d61c2a18cb98607bf2897b6a5ed23164d9d1cb32.tar.gz
bcm5719-llvm-d61c2a18cb98607bf2897b6a5ed23164d9d1cb32.zip
[clang-tidy] Refactor the code and add a close-on-exec check on memfd_create() in Android module.
Summary: 1. Refactor the structure of the code by adding a base class for all close-on-exec checks, which implements most of the needed functions. 2. memfd_create() is better to set MFD_CLOEXEC flag to avoid file descriptor leakage. Reviewers: alexfh, aaron.ballman, hokein Reviewed By: alexfh, hokein Subscribers: Eugene.Zelenko, chh, cfe-commits, srhines, mgorny, JDevlieghere, xazax.hun Tags: #clang-tools-extra Differential Revision: https://reviews.llvm.org/D35372 llvm-svn: 310630
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptToken.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud