From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from goalie.tycho.ncsc.mil (goalie [144.51.3.250]) by tarius.tycho.ncsc.mil (8.13.1/8.13.1) with ESMTP id o4QLDgEx011364 for ; Wed, 26 May 2010 17:13:42 -0400 Received: from mail-pz0-f173.google.com (localhost [127.0.0.1]) by msux-gh1-uea01.nsa.gov (8.12.10/8.12.10) with ESMTP id o4QLCXBd021977 for ; Wed, 26 May 2010 21:12:33 GMT Received: by pzk3 with SMTP id 3so3484605pzk.26 for ; Wed, 26 May 2010 14:13:15 -0700 (PDT) Message-ID: <4BFD8EFC.80502@gmail.com> Date: Wed, 26 May 2010 14:13:32 -0700 From: "Justin P. Mattock" MIME-Version: 1.0 To: Shaz CC: selinux , libc-help@sourceware.org, Masoom Alam , Waqar Afridi , Sanaullah khan Subject: Re: SELinux support in Libc References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------050304090203080000010204" Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov This is a multi-part message in MIME format. --------------050304090203080000010204 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 05/26/2010 01:44 PM, Shaz wrote: > > > On Thu, May 27, 2010 at 1:27 AM, Shaz > wrote: > > I was building eglibc and saw selinux support flag in it's > configure script. Any idea what this is used for. Some hints > and pointers needed. > > SELinux works for me without this support as far as I > understand but need to get all the goodies that are available. > Couln't find anything with a bit of googling! > > > According to Eric it has something to do with nscd. Is nscd part > of libc now? Why do we need an object manager here? > > " > > Glibc's nscd keeps its name service caches in fixed-size files. These > > > are always mmap'd into the nscd daemon address space. "persistent" and > "shared" are both per-name-service options. > > > " > http://anusf.anu.edu.au/~djh900/nscd.html > > > > http://cblfs.cross-lfs.org/index.php/NSS_Caching mentions some > concepts but what can be a possible usecase to understand what this > object manager really achieves. > > By the way could;nt find relevant eglibc mailing list for this question. > > -- > Shaz > I would try libc: http://www.gnu.org/software/libc/ (maybe libc-help, and/or general question list or something). Justin P. Mattock --------------050304090203080000010204 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 05/26/2010 01:44 PM, Shaz wrote:


On Thu, May 27, 2010 at 1:27 AM, Shaz <shazalive@gmail.com> wrote:
 
I was building eglibc and saw selinux support flag in it's configure script. Any idea what this is used for. Some hints and pointers needed.

SELinux works for me without this support as far as I understand but need to get all the goodies that are available. Couln't find anything with a bit of googling!

According to Eric it has something to do with nscd. Is nscd part of libc now? Why do we need an object manager here?

"
Glibc's nscd keeps its name service caches in fixed-size files.  These 


are always mmap'd into the nscd daemon address space.  "persistent" and 
"shared" are both per-name-service options.
    
"
http://anusf.anu.edu.au/~djh900/nscd.html

http://cblfs.cross-lfs.org/index.php/NSS_Caching mentions some concepts but what can be a possible usecase to understand what this object manager really achieves.

By the way could;nt find relevant eglibc mailing list for this question.

--
Shaz

I would try libc:
http://www.gnu.org/software/libc/
(maybe libc-help, and/or general question
list or something).

Justin P. Mattock
--------------050304090203080000010204-- -- 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.