aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorWeihao Li <[email protected]>2023-09-06 22:53:10 +0800
committerHuacai Chen <[email protected]>2023-09-06 22:53:10 +0800
commit937f65935950a0346292120acc5d98033f90e61c (patch)
treed52fe3bb341d74cf9d3a3ecfce3024ce8c4ae56b /net/unix/sysctl_net_unix.c
parent0921af6ccfb37dc2d6aefcf744333c14e7ca739d (diff)
LoongArch: Adjust {copy, clear}_user exception handler behavior
The {copy, clear}_user function should returns number of bytes that could not be {copied, cleared}. So, try to {copy, clear} byte by byte when ld.{d,w,h} and st.{d,w,h} trapped into an exception. Reviewed-by: WANG Rui <[email protected]> Signed-off-by: Weihao Li <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions