diff options
author | Imran Khan <kimran@codeaurora.org> | 2016-03-31 18:01:06 +0530 |
---|---|---|
committer | Jeevan Shriram <jshriram@codeaurora.org> | 2016-04-19 19:43:56 -0700 |
commit | 83842ac1d65a3d1a35e91ad891929ac6f831db8f (patch) | |
tree | e5bb714288b18bcbe0fbe20eb4b3d1e2dd5587f2 /README | |
parent | 5daf1be1ad3060e777993ddcc8c2b17e69383cbb (diff) |
lib: do_strncpy_from_user: Fix return error code for get_user failures
If byte wise copy fails here, we should return EFAULT. Returning a value
other than that would cause failure of some of the user-space test cases.
CRs-Fixed: 989314
Change-Id: I38ce12d44f25dc89bdd29e8abacd8777f0a8b9a1
Signed-off-by: Imran Khan <kimran@codeaurora.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions