mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-04 13:21:45 +00:00
binfmt_flat: flat_{get,put}_addr_from_rp() should be able to fail
on MMU targets EFAULT is possible here. Make both return 0 or error, passing what used to be the return value of flat_get_addr_from_rp() by reference. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
2ea659a9ef
commit
468138d785
12 changed files with 168 additions and 81 deletions
|
@ -9,8 +9,8 @@
|
|||
#ifndef _LINUX_FLAT_H
|
||||
#define _LINUX_FLAT_H
|
||||
|
||||
#include <asm/flat.h>
|
||||
#include <uapi/linux/flat.h>
|
||||
#include <asm/flat.h>
|
||||
|
||||
/*
|
||||
* While it would be nice to keep this header clean, users of older
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue