Al Viro 56b31d1c9f unexport sock_map_fd(), switch to sock_alloc_file()
Both modular callers of sock_map_fd() had been buggy; sctp one leaks
descriptor and file if copy_to_user() fails, 9p one shouldn't be
exposing file in the descriptor table at all.

Switch both to sock_alloc_file(), export it, unexport sock_map_fd() and
make it static.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-09-26 21:08:50 -04:00
..
2012-08-15 21:36:30 -07:00
2012-07-10 22:36:17 +02:00
2012-09-21 20:49:26 -07:00
2012-07-19 10:48:00 -07:00
2012-09-22 15:35:05 -04:00
2012-09-25 16:04:44 -04:00
2012-07-19 10:48:00 -07:00
2012-07-16 23:23:52 -07:00
2012-06-15 15:30:15 -07:00
2012-04-15 12:44:40 -04:00
2012-05-17 18:45:20 -04:00
2012-08-15 21:36:31 -07:00
2012-07-23 01:01:44 -07:00
2012-09-13 09:04:13 +08:00
2010-10-15 15:53:27 +02:00