No description
Find a file
Stephen Smalley 070505f16f label_file.c:434: error: implicit declaration of function 'fstat'
On Mon, 2010-02-15 at 14:19 -0800, Justin Mattock wrote:
> this is new:
>
>
> make[2]: Leaving directory `/home/kernel/selinux/libselinux/include'
> make -C src install
> make[2]: Entering directory `/home/kernel/selinux/libselinux/src'
> cc -Werror -Wall -W -Wundef -Wshadow -Wmissing-noreturn
> -Wmissing-format-attribute -I../include -I/usr/include -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64   -c -o label_file.o label_file.c
> cc1: warnings being treated as errors
> label_file.c: In function 'init':
> label_file.c:434: error: implicit declaration of function 'fstat'
> label_file.c:436: error: implicit declaration of function 'S_ISREG'
> make[2]: *** [label_file.o] Error 1
> make[2]: Leaving directory `/home/kernel/selinux/libselinux/src'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/home/kernel/selinux/libselinux'
> make: *** [install] Error 1
>
> three areas where this could of been created
> update glibc
> updated kernel
> update userspace(altohugh there was not vary many commits in the pull).

Newer glibc headers expose a failure to #include the required headers
for stat(2).  Also exposes a conflict in redefining close() in that
file.  Patch below should fix.
2010-02-22 15:32:20 -05:00
checkpolicy bump checkpolicy to 2.0.21, libselinux to 2.0.90 and sepolgen to 1.0.19 2009-11-27 15:03:02 -05:00
libselinux label_file.c:434: error: implicit declaration of function 'fstat' 2010-02-22 15:32:20 -05:00
libsemanage libsemanage 2.0.44 2010-02-02 15:34:16 -05:00
libsepol Bump policycoreutils to 2.0.76 2009-11-18 16:44:55 -05:00
policycoreutils bump policycoreutils to 2.0.79 2010-01-26 16:56:04 -05:00
scripts release script 2009-03-12 01:23:32 -04:00
sepolgen bump checkpolicy to 2.0.21, libselinux to 2.0.90 and sepolgen to 1.0.19 2009-11-27 15:03:02 -05:00
.gitignore Add pkgconfig files for libsepol, libselinux, and libsemanage. 2009-10-22 14:50:07 -04:00
Makefile initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00