diff options
author | Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> | 2017-03-23 21:22:47 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2017-03-24 12:51:33 +0200 |
commit | cf6c87997f199b7681934b5d7c524bfff178b848 (patch) | |
tree | 5006820a6cf5ae91927c07f5b5f8bf077eec1f82 /tools | |
parent | 1eadabe4453ef32eb6c3bc837094e1ca998affcc (diff) | |
download | rpm-cf6c87997f199b7681934b5d7c524bfff178b848.tar.gz |
Fix Large File Support (LFS) in sepdebugcrcfix tool and systemd_inhibit.so plugin
This problem was found by ALT rpm verify-elf brp script:
verify-elf: WARNING: ./usr/lib/rpm-plugins/systemd_inhibit.so: uses non-LFS functions: __lxstat
verify-elf: WARNING: ./usr/lib/rpm/sepdebugcrcfix: uses non-LFS functions: __xstat mmap open pread pwrite
Signed-off-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/sepdebugcrcfix.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/sepdebugcrcfix.c b/tools/sepdebugcrcfix.c index 1ce4f612f..fab26c7fa 100644 --- a/tools/sepdebugcrcfix.c +++ b/tools/sepdebugcrcfix.c @@ -16,6 +16,9 @@ /* Version 2013-06-24. */ #define _GNU_SOURCE + +#include "system.h" + #include <string.h> #include <fcntl.h> #include <errno.h> |