Changeset 40feeac in mainline for uspace/srv/hid/output/proto/vt100.h

Timestamp:
2017-12-03T22:14:40Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8e3498b
Parents:
38d150e
Message:

Avoid race condition in vfs_clone().

The file descriptor could have been reallocated between the freeing
and the assigning, which would make it fail spuriously. Avoid
the error by moving deallocation inside the critical section.

(No files)

Note: See TracChangeset for help on using the changeset viewer.