summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2021-02-03 00:21:56 +0100
committerSimon Glass <[email protected]>2021-03-03 19:17:25 -0700
commit297b8b3ebfc2bdeb0b245b1dbe31ae8302d9b1b8 (patch)
tree626847783fd0dd5a20aae0894055a45264ad21fd /scripts/basic
parent67637d4b5ab70896c8a881022126f7c61f90a0f1 (diff)
sandbox: host bind must close file descriptor
Each invocation of the 'host bind' command with a file name argument opens a file descriptor. The next invocation of the 'host bind' command destroys the block device but the file descriptor remains open. The same holds true for the 'unbind blk' command. Close the file descriptor when unbinding the host block device. Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions