Skip to contentSkip to conversation

selinux and 64 bit hardware

DISCUSSION Joerg Hoh 3 participants 3 messages Sep 27, 2003 – Sep 29, 2003 SELinux security module

lore
Share & tools
lore

Joerg Hoh

author
#0 lore raw

Hi

I have an alpha machine (64bit) right next to me running linux 2.6.0test5. I'd like to do some tests with selinux on this machine, but selinux doesn't work correctly.

I've done some research at the code and detected that, some parts are _not_ portable (conversions from pointer to int, which only works on 32 bit architectures, and so on).

Is this intentional? Are some parts based on assumptions, which are only true on 32bit architectures? Are patches welcome to achieve a better 64 bit compatibility?

Joerg

Signature · 8 lines
...Wenn man sich bei NetBSD auf eines verlassen kann, dann: Egal, WAS[...]
man updated, mplayer hat mit Sicherheit dependencies drauf.
  Rene Schickbauer, news:[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.
#1 lore raw
Quoted 11 lines · Joerg Hoh

I have an alpha machine (64bit) right next to me running linux 2.6.0test5. I'd like to do some tests with selinux on this machine, but selinux doesn't work correctly.

I've done some research at the code and detected that, some parts are _not_ portable (conversions from pointer to int, which only works on 32 bit architectures, and so on).

Is this intentional? Are some parts based on assumptions, which are only true on 32bit architectures? Are patches welcome to achieve a better 64 bit compatibility?

SELinux was developed on 32 bit machines and the development team here uses ia32 machines. I don't believe anything was done that intentionally fails on 64 bit architectures, but I'm not surprised either. We welcome patches for other architectures, but merging them may not be a priority for anyone here. (Which is to say if they're simple patches we'll probably take them; the more complex they get the less likely it is that we'll have anyone here with time to really look closely at them.)

Small patches can be sent to the list. Large patches should be posted to a web site and/or sent directly to [email protected]. I know a significant percentage of people on the selinux list have small mailboxes or slow connections and wouldn't appreciate large patches sent to everyone.

Signature · 9 lines
Howard Holm <[email protected]>
Office of Defensive Computing Research
National Security Agency


--
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.
#2 lore raw
In reply to Joerg Hoh
Quoted 6 lines · Joerg Hoh

Hi

I have an alpha machine (64bit) right next to me running linux 2.6.0test5. I'd like to do some tests with selinux on this machine, but selinux doesn't work correctly.

Quoted 7 lines

I've done some research at the code and detected that, some parts are _not_ portable (conversions from pointer to int, which only works on 32 bit architectures, and so on).

Is this intentional? Are some parts based on assumptions, which are only true on 32bit architectures? Are patches welcome to achieve a better 64 bit compatibility?

Several fixes for 64 bit architectures were included in 2.6.0-test5 based on feedback on the linux-kernel mailing list. If you have encountered further problems, we'd certainly like to hear about them.

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
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.