diff options
| author | 2011-03-13 19:58:58 -0400 | |
|---|---|---|
| committer | 2011-03-15 17:16:20 -0400 | |
| commit | ce57dfc1791221ef58b6d6b8f5437fccefc4e187 (patch) | |
| tree | f4745174c126231bbd2c4a652d37f086ad035e3c /net/unix/af_unix.c | |
| parent | fs: allow AT_EMPTY_PATH in linkat(), limit that to CAP_DAC_READ_SEARCH (diff) | |
| download | linux-rng-ce57dfc1791221ef58b6d6b8f5437fccefc4e187.tar.xz linux-rng-ce57dfc1791221ef58b6d6b8f5437fccefc4e187.zip | |
pull handling of one pathname component into a helper
new helper: walk_component(). Handles everything except symlinks;
returns negative on error, 0 on success and 1 on symlinks we decided
to follow. Drops out of RCU mode on such symlinks.
link_path_walk() and do_last() switched to using that.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
