• A
    [PATCH] sanitize __user_walk_fd() et.al. · 2d8f3038
    Al Viro 提交于
    * 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: NAl Viro <viro@zeniv.linux.org.uk>
    2d8f3038
xfs_ioctl.c 27.0 KB