diff options
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | 2015-11-26 12:08:18 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-30 15:16:06 -0500 |
commit | 9490f886b192964796285907d777ff00fba1fa0f (patch) | |
tree | 8aab488f73d4fe6c24788fef4c2615c4fe45e399 /drivers/vme | |
parent | 6e0f0331a3546b713ea61c42fe9a252bef0bb886 (diff) | |
download | linux-9490f886b192964796285907d777ff00fba1fa0f.tar.gz linux-9490f886b192964796285907d777ff00fba1fa0f.tar.bz2 linux-9490f886b192964796285907d777ff00fba1fa0f.zip |
af-unix: passcred support for sendpage
sendpage did not care about credentials at all. This could lead to
situations in which because of fd passing between processes we could
append data to skbs with different scm data. It is illegal to splice those
skbs together. Instead we have to allocate a new skb and if requested
fill out the scm details.
Fixes: 869e7c62486ec ("net: af_unix: implement stream sendpage support")
Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vme')
0 files changed, 0 insertions, 0 deletions