All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: Stephen Smalley <sds@epoch.ncsc.mil>
Cc: Karl MacMillan <kmacmillan@tresys.com>,
	Darrel Goeddel <dgoeddel@TrustedCS.com>,
	SELinux <SELinux@tycho.nsa.gov>,
	Nalin Dahyabhai <nalin@redhat.com>
Subject: Re: New ideas on implementation on libsetrans.
Date: Tue, 13 Sep 2005 17:19:27 -0400	[thread overview]
Message-ID: <4327425F.8050805@redhat.com> (raw)
In-Reply-To: <1126643563.2940.6.camel@moss-spartans.epoch.ncsc.mil>

Stephen Smalley wrote:

>On Tue, 2005-09-13 at 16:33 -0400, Daniel J Walsh wrote:
>  
>
>>If no one is listening on  the socket or the socket does not exist you 
>>get the same behavior.
>>    
>>
>
>You get the same behavior (i.e. no translation), but the client-side
>code for the communication and caching is still in libselinux.  Whereas
>with it in libsetrans, you don't have that problem.  You just don't ship
>a libsetrans, and libselinux gracefully proceeds when the dlopen fails.
>
>Further, in the case where you do have translation, when you want to
>modify that translation protocol, you don't have to touch libselinux at
>all.
>
>  
>
>>I see packaging problems and requiring objects to link with -dl.  We are 
>>basically looking at a packaging problem
>>now, which is why we are bringing this up. 
>>    
>>
>
>I understand the issue with prelink due to being statically linked, but
>how many programs that link with libselinux are statically linked?
>Even /sbin/init is dynamically linked (surprisingly to me when I first
>noticed it long ago in Red Hat Linux).
>
>  
>
>>I have added Nalin to the message to get his comments.
>>    
>>
>
>  
>
Ok I succumb, but we will go back to original implementation of 
libsetrans for now, and require anyone wishing to change the behaviour 
to replace our version with their own.  so dlopen(libsetrans.so.1) will 
work.

Eventually our version of libsetrans will use a UDS interface to talk to 
a long running daemon.

Dan


-- 



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

  reply	other threads:[~2005-09-13 21:19 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-13 18:35 New ideas on implementation on libsetrans Daniel J Walsh
2005-09-13 18:59 ` Stephen Smalley
2005-09-13 19:10 ` Luke Kenneth Casson Leighton
2005-09-13 19:44 ` Darrel Goeddel
2005-09-13 19:54   ` Daniel J Walsh
2005-09-13 19:53     ` Stephen Smalley
2005-09-13 20:04       ` Daniel J Walsh
2005-09-13 20:06         ` Stephen Smalley
2005-09-13 20:33           ` Daniel J Walsh
2005-09-13 20:32             ` Stephen Smalley
2005-09-13 21:19               ` Daniel J Walsh [this message]
2005-09-14 13:39                 ` Stephen Smalley
2005-09-14 14:15                   ` Daniel J Walsh
     [not found]                   ` <20050914192343.GA30138@redhat.com>
2005-09-14 19:51                     ` Stephen Smalley
2005-09-14 13:03           ` Steve G
2005-09-14 13:33             ` Stephen Smalley
2005-09-14 17:25               ` Steve G
2005-09-14 17:52                 ` Stephen Smalley
2005-09-14 18:01                 ` Stephen Smalley
2005-09-16 13:47                   ` Luke Kenneth Casson Leighton
2005-09-13 21:22     ` Luke Kenneth Casson Leighton
2005-09-14 11:58       ` Stephen Smalley
2005-09-16 13:59         ` Luke Kenneth Casson Leighton
2005-09-16 17:18           ` Steve G
2005-09-16 17:28             ` Stephen Smalley

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=4327425F.8050805@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=SELinux@tycho.nsa.gov \
    --cc=dgoeddel@TrustedCS.com \
    --cc=kmacmillan@tresys.com \
    --cc=nalin@redhat.com \
    --cc=sds@epoch.ncsc.mil \
    /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.