Skip to content
Snippets Groups Projects
Commit 2d8f3038 authored by Al Viro's avatar Al Viro
Browse files

[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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 256984a8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment