mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
Remove workaround for broken capabilites.h from lib/system.c - now in lib/replace.
Michael (This used to be commit a3fbb5323222334c86c0dc360df8c6a39039bbe6)
This commit is contained in:
parent
684a72c779
commit
66887ddfba
@ -680,24 +680,6 @@ int sys_chroot(const char *dname)
|
|||||||
|
|
||||||
#if defined(HAVE_POSIX_CAPABILITIES)
|
#if defined(HAVE_POSIX_CAPABILITIES)
|
||||||
|
|
||||||
#ifdef HAVE_SYS_CAPABILITY_H
|
|
||||||
|
|
||||||
#if defined(BROKEN_REDHAT_7_SYSTEM_HEADERS) && !defined(_I386_STATFS_H) && !defined(_PPC_STATFS_H)
|
|
||||||
#define _I386_STATFS_H
|
|
||||||
#define _PPC_STATFS_H
|
|
||||||
#define BROKEN_REDHAT_7_STATFS_WORKAROUND
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <sys/capability.h>
|
|
||||||
|
|
||||||
#ifdef BROKEN_REDHAT_7_STATFS_WORKAROUND
|
|
||||||
#undef _I386_STATFS_H
|
|
||||||
#undef _PPC_STATFS_H
|
|
||||||
#undef BROKEN_REDHAT_7_STATFS_WORKAROUND
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* HAVE_SYS_CAPABILITY_H */
|
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
Try and abstract process capabilities (for systems that have them).
|
Try and abstract process capabilities (for systems that have them).
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user