cifs: enable CAP_DAC_READ_SEARCH before chdir() and realpath() calls
authorJeff Layton <jlayton@samba.org>
Mon, 12 Apr 2010 10:55:24 +0000 (06:55 -0400)
committerJeff Layton <jlayton@samba.org>
Mon, 12 Apr 2010 10:55:24 +0000 (06:55 -0400)
commit310ae910b548e232cc86b34896bd7010c3b1cad2
tree09d39ad1e0038140254866033d54c685433f6702
parente4593787a6488573fbec99e5ee604a2e25bc1e5c
cifs: enable CAP_DAC_READ_SEARCH before chdir() and realpath() calls

It's possible that root won't have privileges to chdir or evaluate the
paths without that capability.

Signed-off-by: Jeff Layton <jlayton@samba.org>
configure.ac
mount.cifs.c