Skip top menus
National Security Agency and Central Security Service with agency logos.NSA/CSS Memorial Wall
Home    About NSA    Research    Business    Careers    Public Info    History
Introduction to Research    Security-Enhanced Linux    Information Assurance Research    Technology Transfer    Publications    Related Links

>>SELinux Mailing List: by thread

Search
What's new?
Contents
Overview
What's New
Frequently Asked Questions
Background
Documentation
License
Download
Participating
Mail List
Archive Summary
Archive by Thread
Archive by Author
Archive by Date
Archive by Subject
Remaining Work
Contributors
Related Work
Press Releases
  • Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]
From: James J. <jjohnson_at_eclipse.ncsc.mil>
subject: compiling LSM/SELinux fileutils
Date: Fri, 21 Sep 2001 08:46:26 -0400 (EDT)
  • This message: [ Message body ]
  • Next message: Devon Hubbard: "SELinux on embedded devices?"
  • Previous message: Conan Callen: "selinux & gnome"
  • Next in thread: Devon Hubbard: "SELinux on embedded devices?"
  • Reply: Devon Hubbard: "SELinux on embedded devices?"
  • Reply: Stephen Smalley: "Re: compiling LSM/SELinux fileutils"

If this is not the proper list for a SELinux compile question please direct me to a better list.

I'm trying to compile the "Option 3 - Everything but Kernel Source" code and am running into trouble compiling in utils/fileutils-4.0. I'm following the steps in the README file. All goes well until step 6 (Build and install the modified applications.)

I have made one deviation from the steps in the README. The system is very stripped down, so logrotate, openssh, stat, and vixie-cron are not on the system. I have eliminated these programs from the SUBDIRS line in the Makefile.   

The first problem is that "make" fails because code in fileutils-4.0/aclocal.m4 is duplicated in fileutils-4.0/m4/isc-posix.m4.  Inserting "dnl " in front of lines 519-527 of aclocal.m4 (i.e. commenting out the duplicated lines) appears to fix this problem. Is there a better solution?

The second problem is that "make" fails while running autoheader. Here is the error message:

make[1]: Entering directory '/usr/src/selinux/utils/fileutils-4.0' cd . && autoheader

autoheader: No template for symbol 'const'
autoheader: No template for symbol 'mode_t'
autoheader: No template for symbol 'off_t'
autoheader: No template for symbol 'size_t'
make[1]: *** [stamp-h.in] Error 1
make[1]: Leaving directory '/usr/src/selinux/utils/fileutils-4.0' make: *** [all] Error 1

I'm not familiar with autoheader, so I'm having some difficulty diagnosing this problem. Any ideas?

James

--
You have received this message because you are subscribed to the selinux 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.
From: Devon Hubbard <devon_at_mac.com>
subject: SELinux on embedded devices?
Date: Fri, 21 Sep 2001 10:33:01 -0700
  • This message: [ Message body ]
  • Next message: Yuichi Nakamura: "I can ' t use named on LSM-based Prototype. Why?"
  • Previous message: James J.: "compiling LSM/SELinux fileutils"
  • In reply to: James J.: "compiling LSM/SELinux fileutils"
  • Next in thread: Stephen Smalley: "Re: SELinux on embedded devices?"
  • Reply: Stephen Smalley: "Re: SELinux on embedded devices?"


My apologies to the list if there have been threads in the past on the following question...

Has anyone worked on putting SELinux on embedded devices? Of course PDAs are by themselves inherently un-secure because of their portable nature but embedded devices that have wireless connections need high security as well.

If you know if any existing projects for embedded devices please let me know.

thanks,
dEVoN Hubbard
Motorola

--
You have received this message because you are subscribed to the selinux 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.
From: Stephen Smalley <sds_at_tislabs.com>
subject: Re: SELinux on embedded devices?
Date: Tue, 25 Sep 2001 08:59:22 -0400 (EDT)
  • This message: [ Message body ]
  • Next message: Stephen Smalley: "Re: selinux & gnome"
  • Previous message: Stephen Smalley: "Re: I can ' t use named on LSM-based Prototype. Why?"
  • In reply to: Devon Hubbard: "SELinux on embedded devices?"
  • Next in thread: Stephen Smalley: "Re: compiling LSM/SELinux fileutils"

On Fri, 21 Sep 2001, Devon Hubbard wrote:

> Has anyone worked on putting SELinux on embedded devices? Of course PDAs
> are by themselves inherently un-secure because of their portable nature but
> embedded devices that have wireless connections need high security as well.

This was discussed earlier on the thread starting at http://marc.theaimsgroup.com/?l=selinux&m=97883795603704&w=2

--
Stephen D. Smalley, NAI Labs
ssmalley@nai.com






--
You have received this message because you are subscribed to the selinux 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.
From: Stephen Smalley <sds_at_tislabs.com>
subject: Re: compiling LSM/SELinux fileutils
Date: Tue, 25 Sep 2001 08:49:36 -0400 (EDT)
  • This message: [ Message body ]
  • Next message: Conan Callen: "Re: selinux & gnome"
  • Previous message: Stephen Smalley: "Re: selinux & gnome"
  • In reply to: James J.: "compiling LSM/SELinux fileutils"

On Fri, 21 Sep 2001, James J. wrote:

> The first problem is that "make" fails because code in
> fileutils-4.0/aclocal.m4 is duplicated in fileutils-4.0/m4/isc-posix.m4.
> Inserting "dnl " in front of lines 519-527 of aclocal.m4 (i.e.
> commenting out the duplicated lines) appears to fix this problem. Is
> there a better solution?
>
> The second problem is that "make" fails while running autoheader. Here
> is the error message:
>
> make[1]: Entering directory '/usr/src/selinux/utils/fileutils-4.0'
> cd . && autoheader
> autoheader: No template for symbol 'const'
> autoheader: No template for symbol 'mode_t'
> autoheader: No template for symbol 'off_t'
> autoheader: No template for symbol 'size_t'
> make[1]: *** [stamp-h.in] Error 1
> make[1]: Leaving directory '/usr/src/selinux/utils/fileutils-4.0'
> make: *** [all] Error 1
>
> I'm not familiar with autoheader, so I'm having some difficulty
> diagnosing this problem. Any ideas?

These errors don't sound like they are related to SELinux, just general problems with autoconf - perhaps you need to upgrade your autoconf package. What is your base platform - is it RedHat 7.1? Can you build the ordinary fileutils source RPM that ships with your system?

--
Stephen D. Smalley, NAI Labs
ssmalley@nai.com






--
You have received this message because you are subscribed to the selinux 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.
  • Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

This archive was generated by hypermail 2.2.0 on Wed 11 Jun 2008 - 08:10:54 EDT

Information Assurance | Signals & Intelligence        Links | Accessibility | Privacy & Security