Fix Bug #5285. (libcap header mismatch)
authorGünther Deschner <gd@samba.org>
Wed, 28 May 2008 11:20:16 +0000 (13:20 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 28 May 2008 11:45:55 +0000 (13:45 +0200)
commitd48bdc8f5de03b88d79685d2e89f0ed2f8207ef5
treed065347addda72a3ba82fb985d2657be7a76d7d2
parentbc07864b77e10f1f231f9177ba168c222d0c555d
Fix Bug #5285. (libcap header mismatch)

Can someone with gpfs available test this ? The only codepath using this
function is the modules/gpfs.c module. The fix resolves at least the build
issues Samba has with recent kernel / libcap versions by using the portable
cap_get_proc()/cap_set_proc() interface (instead of using capget/capset).

Guenther
source/include/smb.h
source/lib/system.c
source/smbd/oplock_linux.c