From: Al Viro Date: Tue, 22 Jul 2008 13:59:21 +0000 (-0400) Subject: [PATCH] sanitize __user_walk_fd() et.al. X-Git-Tag: v2.6.27-rc1~73^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d8f30380ab8c706f4e0a8f1aaa22b5886e9ac8a;p=pandora-kernel.git [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 --- Reading git-diff-tree failed