mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Only enable the ACL restore logic on FreeBSD versions >= 5.0.
Earlier versions of FreeBSD don't support ACLs. Note that the ACL support code in archive_entry is standalone code and unaffected by this. (In particular, it should be possible to manipulate archives containing ACLs even if the ACLs cannot be restored on the current system.)
This commit is contained in:
parent
ef617c0842
commit
32ace24809
1 changed files with 3 additions and 0 deletions
|
|
@ -45,7 +45,10 @@
|
|||
*/
|
||||
#include <inttypes.h> /* For int64_t, etc. */
|
||||
|
||||
#if __FreeBSD__ > 4
|
||||
#define HAVE_POSIX_ACL 1
|
||||
#endif
|
||||
|
||||
#define HAVE_CHFLAGS 1
|
||||
#define HAVE_LUTIMES 1
|
||||
#define HAVE_LCHMOD 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue