forked from staceyson/qemu-bsd-user
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unlocking readlink(2) and readlinkat(2).
- There is no need to check return value of LOCK_PATH() because the macro returns immediately when lock_user_string() fails. - The last argument of unlock_user() is buffer length, not errno.
- Loading branch information
Showing
1 changed file
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters