diff options
author | Eric Blake | 2020-04-20 19:53:07 +0200 |
---|---|---|
committer | Eric Blake | 2020-07-13 16:01:01 +0200 |
commit | 8cf58a49f883f089e7d4b6e19acc987085d024fd (patch) | |
tree | fffad750f4fe2a9933b2365ccbaa9fef30daa6df /scripts/performance/topN_perf.py | |
parent | nbd: Avoid off-by-one in long export name truncation (diff) | |
download | qemu-8cf58a49f883f089e7d4b6e19acc987085d024fd.tar.gz qemu-8cf58a49f883f089e7d4b6e19acc987085d024fd.tar.xz qemu-8cf58a49f883f089e7d4b6e19acc987085d024fd.zip |
hax: Fix setting of FD_CLOEXEC
Blindly setting FD_CLOEXEC without a read-modify-write will
inadvertently clear any other intentionally-set bits, such as a
proposed new bit for designating a fd that must behave in 32-bit mode.
Use our wrapper function instead of an incorrect hand-rolled version.
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200420175309.75894-2-eblake@redhat.com>
Reviewed-by: Colin Xu <colin.xu@intel.com>
Diffstat (limited to 'scripts/performance/topN_perf.py')
0 files changed, 0 insertions, 0 deletions