Export dump_{write,seek} to binary loader modules
If you build aout support as a module, you'll want these exported. Reported-by: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
cd07202cc8
commit
8fd01d6cfb
1 changed files with 2 additions and 0 deletions
|
@ -2024,6 +2024,7 @@ int dump_write(struct file *file, const void *addr, int nr)
|
|||
{
|
||||
return access_ok(VERIFY_READ, addr, nr) && file->f_op->write(file, addr, nr, &file->f_pos) == nr;
|
||||
}
|
||||
EXPORT_SYMBOL(dump_write);
|
||||
|
||||
int dump_seek(struct file *file, loff_t off)
|
||||
{
|
||||
|
@ -2052,3 +2053,4 @@ int dump_seek(struct file *file, loff_t off)
|
|||
}
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL(dump_seek);
|
||||
|
|
Loading…
Reference in a new issue