commit | 2d8f30380ab8c706f4e0a8f1aaa22b5886e9ac8a | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Jul 22 09:59:21 2008 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Jul 26 20:53:34 2008 -0400 |
tree | b798097fd831eab39f35c8c2e5a8ccfd7a850ef5 | |
parent | 256984a83880ff7ac78055cb87baea48137f0b77 [diff] |
[PATCH] sanitize __user_walk_fd() et.al. * do not pass nameidata; struct path is all the callers want. * switch to new helpers: user_path_at(dfd, pathname, flags, &path) user_path(pathname, &path) user_lpath(pathname, &path) user_path_dir(pathname, &path) (fail if not a directory) The last 3 are trivial macro wrappers for the first one. * remove nameidata in callers. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>