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:
@@ -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
|
||||
|
Reference in New Issue
Block a user