Skip to contentSkip to conversation

Latest patches

DISCUSSION Russell Coker 1 participant 1 message Jun 25, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

Somewhere in recent times my Debian packages of SE Linux stopped becoming buildable. I think it may have been at the last official SE Linux release, but it may have been one of the patches since then.

The problem is the function security_mls(), which is called from the library code in selinux-small but which is not provided.

I have attached a file to go into selinux-small/libsecure/src to address this.

NB I've never tested this under MLS as I don't use MLS. It makes it compile and work for non-MLS...

Signature · 3 lines
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
Quoted 1 line

From field.

#include <ss.h>

int security_mls(void)

{
	return lsm(SELINUX_MAGIC, SELINUXCALL_MLS, 0);
}