All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Stephen Smalley <sds@epoch.ncsc.mil>
Cc: SE-Linux <selinux@tycho.nsa.gov>
Subject: Re: is this pretty much it (to patch kdm 3.2.2)?
Date: Wed, 19 May 2004 12:47:16 +0000	[thread overview]
Message-ID: <20040519124715.GC4221@lkcl.net> (raw)
In-Reply-To: <1084970063.30873.22.camel@moss-spartans.epoch.ncsc.mil>

On Wed, May 19, 2004 at 08:34:24AM -0400, Stephen Smalley wrote:
> On Wed, 2004-05-19 at 03:42, Luke Kenneth Casson Leighton wrote:
> > +#ifdef WITH_SELINUX
> > +   if (is_selinux_enabled())
> 
> Should be if (is_selinux_enabled() > 0)

 ah, oops, then the wdm patch needs likewise mods.

> > +        if (get_default_context(name,NULL,&scontext))
> > +             LogError("Failed to get default security context for %s.", name);
> 
> Does LogError exit?  If not, you need to return here.

 no, it's just a printf wrapper.

> > +        Debug("setting security context to %s", scontext);
> > +        if (setexeccon(scontext)) {
> > +             freecon(scontext);
> > +             LogError("Failed to set exec security context %s for %s.", scontext, name);
> 
> As above, does LogError exit?
 
 hm, then does the wdm patch need the same attention?

 l.


--
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:[~2004-05-19 12:50 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-19  7:42 is this pretty much it (to patch kdm 3.2.2)? Luke Kenneth Casson Leighton
2004-05-19 10:08 ` Thomas Bleher
2004-05-19 11:50   ` Luke Kenneth Casson Leighton
2004-05-20 12:11     ` Thomas Bleher
2004-05-20 12:49       ` Stephen Smalley
2004-05-20 14:52         ` Luke Kenneth Casson Leighton
2004-05-20 15:39           ` Russell Coker
2004-05-20 16:14             ` Luke Kenneth Casson Leighton
2004-05-20 16:26               ` Stephen Smalley
2004-05-20 16:45                 ` Luke Kenneth Casson Leighton
2004-05-20 17:06             ` Luke Kenneth Casson Leighton
2004-05-20 17:24             ` Luke Kenneth Casson Leighton
2004-05-19 12:16   ` Stephen Smalley
2004-05-19 12:34 ` Stephen Smalley
2004-05-19 12:47   ` Luke Kenneth Casson Leighton [this message]
2004-05-19 14:05 ` Russell Coker
2004-05-19 14:39   ` Luke Kenneth Casson Leighton
2004-05-19 17:23     ` kdm 3.2.2 and kernel image 2.6.6 selinux .debs available Luke Kenneth Casson Leighton
2004-05-19 17:37       ` Luke Kenneth Casson Leighton

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=20040519124715.GC4221@lkcl.net \
    --to=lkcl@lkcl.net \
    --cc=sds@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.