Fix Bug #5285. (libcap header mismatch)
commit177955141247a4eb56ba0d82dc1add7f52175c40
authorGünther Deschner <gd@samba.org>
Wed, 28 May 2008 11:20:16 +0000 (28 13:20 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 28 May 2008 11:22:52 +0000 (28 13:22 +0200)
treeefb4bc141744127e157957fc85a56bdfd52de4a2
parentf872a1f4428ed64bcfd832d981eea6446f05339e
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