summaryrefslogtreecommitdiff
path: root/lib/strncpy_from_user.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2020-03-12 21:40:06 +0000
committerDavid Howells <dhowells@redhat.com>2020-03-13 23:04:35 +0000
commit7d7587db0d7fd1138f2afcffdc46a8e15630b944 (patch)
tree55437aafa9ea8a969e7271ce724e50aae0ddeae9 /lib/strncpy_from_user.c
parentdde9f095583b3f375ba23979045ee10dfcebec2f (diff)
afs: Fix client call Rx-phase signal handling
Fix the handling of signals in client rxrpc calls made by the afs filesystem. Ignore signals completely, leaving call abandonment or connection loss to be detected by timeouts inside AF_RXRPC. Allowing a filesystem call to be interrupted after the entire request has been transmitted and an abort sent means that the server may or may not have done the action - and we don't know. It may even be worse than that for older servers. Fixes: bc5e3a546d55 ("rxrpc: Use MSG_WAITALL to tell sendmsg() to temporarily ignore signals") Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'lib/strncpy_from_user.c')
0 files changed, 0 insertions, 0 deletions