cifs.upcall: trim even more capabilities
authorJeff Layton <jlayton@samba.org>
Thu, 16 Feb 2017 14:55:45 +0000 (09:55 -0500)
committerJeff Layton <jlayton@samba.org>
Thu, 16 Feb 2017 14:55:45 +0000 (09:55 -0500)
commitec3874fdc669901f4a9e8a90a856f999cd627a3f
treed69955f93e8185f7d075257f99781b8c037354ea
parented97e4ecab4e9a103c46232785fb76b3f07d0637
cifs.upcall: trim even more capabilities

We really only need CAP_DAC_READ_SEARCH, not CAP_DAC_OVERRIDE, and
only when we are going to probe the environ file.

Also, fix the non-libcap-ng trim_capabilities prototype.

Reviewed-by: Simo Sorce <simo@redhat.com>
Signed-off-by: Jeff Layton <jlayton@samba.org>
cifs.upcall.c