diff options
| author | Nick Kralevich <nnk@google.com> | 2019-01-14 13:42:22 -0800 |
|---|---|---|
| committer | Nick Kralevich <nnk@google.com> | 2019-01-14 13:42:22 -0800 |
| commit | 07f1c1db854e28eee715bff44d5a75fc30650462 (patch) | |
| tree | cba323f31844f1c0b669c27f9246cac7102d9472 /docs/html/sdk/api_diff/20 | |
| parent | 7ae295368dbb3d9b4dfa67231416cfde2bcdadb0 (diff) | |
Bitmap.cpp: replace dup() with fcntl(F_DUPFD_CLOEXEC)
Replace calls to dup() with fcntl(F_DUPFD_CLOEXEC). The only difference
between the two is that O_CLOEXEC is set on the newly duped file
descriptor. This helps address file descriptor leaks crossing an exec()
boundary.
Test: compiles and boots
Change-Id: I0c3b1baa49677a8e4831e1880e2d0ab38e08c6f4
Diffstat (limited to 'docs/html/sdk/api_diff/20')
0 files changed, 0 insertions, 0 deletions
