Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86/compat: fix error-check for compat mmap()
Raw sys_mmap() returns address or error like -ENOMEM. Don't check MAP_FAILED, check that result is aligned by page. Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com>
- Loading branch information