summaryrefslogtreecommitdiff
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2021-09-24 23:07:10 +0200
committerStefan Roese <[email protected]>2021-10-01 11:07:13 +0200
commit911515b339109d4bdf992441d5efdf4a6f885f95 (patch)
treeb25f03ec57f132cd5807e33a0a57d445de2df3c4 /include/linux/string.h
parent24a471bc4bac8aa3a52ad7fa209494b6bc38e58d (diff)
tools: kwboot: Disable non-blocking mode
The kwboot utility does not handle EAGAIN / EBUSY errors, it expects blocking mode on tty - it uses select() to check if data is available. Disable non-blocking mode by clearing O_NDELAY flag which was set by open(). We can't just take O_NDELAY from open(), because it is required there until the CLOCAL flag is set on the tty. Signed-off-by: Pali Rohár <[email protected]> Signed-off-by: Marek Behún <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions