-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Jim Meyering on 6/2/2008 1:39 PM:
| Subject: [PATCH] accommodate older SELinux which lacks
matchpathcon_init_prefix
|
| * m4/jm-macros.m4: Check for matchpathcon_init_prefix.
| * src/install.c [!HAVE_MATCHPATHCON_INIT_PREFIX]
| (matchpathcon_init_prefix): Define away.
| * gl/lib/se-selinux.in.h (matchpathcon_init_prefix): Define.
| @@ -28,7 +29,9 @@ static inline int setfscreatecon (security_context_t con)
| static inline int matchpathcon (char const *s, mode_t m,
| security_context_t *con)
| { errno = ENOTSUP; return -1; }
| -
| +static inline int matchpathcon_init_prefix (const char *path,
| + const char *prefix)
| + { errno = ENOTSUP; return -1; }
This breaks things on cygwin, since it already occurred later in the file:
In file included from selinux-at.h:17,
~ from selinux-at.c:21:
./selinux/selinux.h:59: error: redefinition of 'matchpathcon_init_prefix'
./selinux/selinux.h:34: error: previous definition of
'matchpathcon_init_prefix' was here
- --
Don't work too hard, make some time for fun as well!
Eric Blake [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkhEwZ4ACgkQ84KuGfSFAYC2tACfchuhHBantBtyF8i0Yvyuw9T+
VagAniHigyDGNJZLhAaLZkWBes6diLra
=+5Mf
-----END PGP SIGNATURE-----
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils