All of lore.kernel.org
 help / color / mirror / Atom feed
From: bcarver2@austin.ibm.com
To: Howard Holm <hdholm@epoch.ncsc.mil>
Cc: selinux@tycho.nsa.gov
Subject: Re: I would like to help.
Date: Tue, 10 Apr 2001 16:58:48 -0500	[thread overview]
Message-ID: <3AD38218.84D453AF@austin.ibm.com> (raw)
In-Reply-To: 200104102056.QAA00629@coalstove.epoch.ncsc.mil

[-- Attachment #1: Type: text/plain, Size: 2626 bytes --]

Howard,

The patch file is attached for PowerPC.  As the README says,
I am the author and I am releasing this under the GPL with
no warranties or guarantees of any kind!

First, the disclaimer: this stuff builds and runs in warning mode
on the machine I used to port it (an IBM 44P-270 server with
1.5 GB of RAM). I have not tested it extensively, however, so
there are no guarantees it will work for anyone else.  I don't have
time to do extensive testing at the present time.

The port went smoothly once SuSE released their 7.1 for PowerPC
about 10 days ago. That release uses the 2.4.2 kernel, so I didn't have
to deal with huge differences.  There were several times when the
build broke and I was able to pull in a fix from the SuSE tree and
fix it quickly.

There is one place in arch/ppc/kernel/process.c where
do_execve_secure() is called with some register parameters and
I had to just guess that it would work to use the next register.  I
left some comments in there (see BC:) because I thought for
sure that it would crash there.  Maybe it's not called in warning
mode?

Most of the changes were very straightforward.  Basically, I just
looked in the i386 architecture specific parts of the tree for
CONFIG_FLASK and made corresponding changes on the
ppc side.  The rest of the changes were identified when the
build broke.

I had a little trouble getting the utilities to build top-down, but
I was able to build each directory manually without many problems
(vixie-cron was the only utility I had to modify, I believe).

Howard Holm wrote:

> I would suggest sending the patches to this list (a tarred gziped
> attachment should work). That will ensure everyone has the ability to
> review them and perhaps use them as a base for other work.  We'll see
> them here as well and see what we can do about including them in a future
> release.  Of course, it makes life easier for everyone if you make
> sure that the code and your mail message makes clear that you are the
> author and that you're releasing your changes under the GPL.
>
> I would personally be interested in hearing about your experience
> porting, (i.e., what you had to change and any problems you had) since
> you're the first person I'm aware of to port selinux to another
> architecture.  I'm sure other potential porters on the list might also
> be interested.
>
> --
> Howard Holm <hdholm@epoch.ncsc.mil>
> Information Assurance Research Office
> National Security Agency

--
Bob Carver

``Being politically correct means always having to say you're sorry.''
--Charles Osgood



[-- Attachment #2: selinux-2.4.2-ppc.patch.tar.gz --]
[-- Type: application/octet-stream, Size: 56336 bytes --]

  reply	other threads:[~2001-04-10 22:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-10 20:56 I would like to help Howard Holm
2001-04-10 21:58 ` bcarver2 [this message]
2001-04-10 23:14 ` Will Dye
2001-04-11  4:07   ` Mirror sites frenzy@frenzy.org
2001-04-11  4:48     ` Grant Bayley
  -- strict thread matches above, loose matches on Subject: below --
2001-04-10 17:31 I would like to help Howard Holm
2001-04-10 20:21 ` bcarver2
2001-04-09 19:36 Joey Mitchell Comeau
2001-04-09 22:16 ` Will Dye

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3AD38218.84D453AF@austin.ibm.com \
    --to=bcarver2@austin.ibm.com \
    --cc=hdholm@epoch.ncsc.mil \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.