conflicting header files
Hello,
In lsm-2.4/security/selinux/include/linux/flask/security.h, it has:
int security_compute_av(
security_id_t ssid, /* IN */
security_id_t tsid, /* IN */
security_class_t tclass, /* IN */
access_vector_t requested, /* IN */
access_vector_t *allowed, /* OUT */
access_vector_t *decided, /* OUT */
access_vector_t *auditallow, /* OUT */
access_vector_t *auditdeny, /* OUT */
__u32 *seqno); /* OUT */int security_sid_to_context(
security_id_t sid, /* IN */
security_context_t *scontext, /* OUT */
__u32 *scontext_len); /* OUT */In selinux-small-2002102211/libsecure/include/ss.h, it has:
extern int security_compute_av(struct security_query *query,
struct security_response *response);
extern int security_sid_to_context(security_id_t sid,
security_context_t scontext,
__u32 *scontext_len);In one my attempts to compile SE-Linux using autoconf, the compiler included both definitions and complained that they were different.
Is it intended, and if so why?
I am guessing for now that one function is a internal function in the kernel, and the other function is one defined in libsecure.a for external use. Am I correct?
--
Brian May <[email protected]>
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.