All of lore.kernel.org
 help / color / mirror / Atom feed
* sparc support
@ 2003-05-28  2:52 Joshua Brindle
  2003-05-29  6:25 ` Paul Dwerryhouse
  0 siblings, 1 reply; 3+ messages in thread
From: Joshua Brindle @ 2003-05-28  2:52 UTC (permalink / raw)
  To: SELinux

russel said one of his friends started a sparc port, i was wondering if anything had been done on this, particularly i'm interested in the wrapper.c for sparc since i know nothing of registers or kernel hacking, etc. 

I have a blade 2000 that i'd love to get selinux working on... 

if anyone knows any information I'd love to hear :) 

Thanks!

Joshua Brindle
UNIX Administrator
Southern Nazarene University



--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sparc support
  2003-05-28  2:52 sparc support Joshua Brindle
@ 2003-05-29  6:25 ` Paul Dwerryhouse
  2003-05-31  0:15   ` Dave Dodge
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Dwerryhouse @ 2003-05-29  6:25 UTC (permalink / raw)
  To: Joshua Brindle; +Cc: SELinux

On Tue, May 27, 2003 at 09:52:15PM -0500, Joshua Brindle wrote:
> russel said one of his friends started a sparc port, i was wondering
> if anything had been done on this, particularly i'm interested in the
> wrapper.c for sparc since i know nothing of registers or kernel
> hacking, etc. 

That'll be me. It's actually a port to sparc64, since I don't have
access to a plain old sparc processor at the moment. It doesn't work
yet, and I've got stuck, so I haven't done any work on it for a while.

You can download a patch for what I've done so far, here:

http://leapster.org/linux/lsm-sparc64-2.4.20-patch.3

I don't really know what I'm doing, however, so don't expect to see
anything sane there ;)

Basically I've used the i386 patch & Russell's arm port as a guide - so now,
it compiles and boots fine, but it doesn't seem to do what it's
supposed to do, and I didn't know what to do next.

And I'm sure I've screwed up the part for the 32-bit userspace.

Cheers,

Paul

-- 
Paul Dwerryhouse						| PGP Key ID: 
Amsterdam, The Netherlands (X) <-> Melbourne, Australia ( )	| 0x6B91B584

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sparc support
  2003-05-29  6:25 ` Paul Dwerryhouse
@ 2003-05-31  0:15   ` Dave Dodge
  0 siblings, 0 replies; 3+ messages in thread
From: Dave Dodge @ 2003-05-31  0:15 UTC (permalink / raw)
  To: Paul Dwerryhouse; +Cc: dododge, SELinux

On Thu, 29 May 2003 08:25:28 +0200
Paul Dwerryhouse <paul@dwerryhouse.com.au> wrote:
> That'll be me. It's actually a port to sparc64, since I don't have
> access to a plain old sparc processor at the moment. It doesn't work
> yet, and I've got stuck, so I haven't done any work on it for a while.
[...]
> Basically I've used the i386 patch & Russell's arm port as a guide

Another example you can look at is the arm version from NSA's site,
in particular the linux-2.4.19-rmk4-pxa2-hh3-lsm1-arm.patch which
contains the arm-specific code. That implementation is slightly different
from Russell's and does not contain his 2.4.20 backport. I doubt it will
help much in your case, but it's another data point.

> And I'm sure I've screwed up the part for the 32-bit userspace.

I seem to recall from LKML that the 32-64 translation issue on Sparc64
is one of the reasons that sys_security was rejected for 2.5. I don't
know enough about Sparc64 Linux to recommend a workaround. Here's the
thread:

  http://www.ussg.iu.edu/hypermail/linux/kernel/0210.2/0854.html

                                      -Dave Dodge/dododge@alpha.ncsc.mil

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-05-31  0:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-28  2:52 sparc support Joshua Brindle
2003-05-29  6:25 ` Paul Dwerryhouse
2003-05-31  0:15   ` Dave Dodge

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.