Fix Bug #5285. (libcap header mismatch)
commitf70be5ab57e19e831a5cecd08f930b187cef5a72
authorGünther Deschner <gd@samba.org>
Wed, 28 May 2008 11:20:16 +0000 (28 13:20 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 29 May 2008 10:48:11 +0000 (29 12:48 +0200)
tree5ea853948c9aa9c51df2ad8cfe0493d14ab48aa2
parent6ae47b413df591b8a6f887f7d925d5a270921139
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
(cherry picked from commit 177955141247a4eb56ba0d82dc1add7f52175c40)
source/include/smb.h
source/lib/system.c
source/smbd/oplock_linux.c