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: SELinux <SELinux@tycho.nsa.gov>, Russell Coker <russell@coker.com.au>
Subject: Re: Problems with /dev/tty on reboot.
Date: Wed, 26 Nov 2003 11:26:35 -0500	[thread overview]
Message-ID: <3FC4D43B.1020105@redhat.com> (raw)
In-Reply-To: <1069860803.30315.78.camel@moss-spartans.epoch.ncsc.mil>

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

Stephen Smalley wrote:

>On Wed, 2003-11-26 at 09:50, Daniel J Walsh wrote:
>  
>
>>Ok, moving the ifdef(`dpkg.te') rule allowed login to relabel the tty
>>and me to login, but should we still make the change to getty to
>>relabel the tty?  If yes, how should getty determine what context to
>>set the tty too?  Do we need to add something to default_contexts or
>>is there another way to determine this?
>>    
>>
>
>If getty already resets the ownership, then it makes sense to also patch
>it to reset the context.  It can pull a single context from a config
>file like run_init does, or this could be the time to create that
>libselinux function that returns the matching context from the file
>contexts configuration for a given pathname...
>  
>
Well we need this function anyways if rpm is going to set default 
contexts for files...
Dan

[-- Attachment #2: Type: text/html, Size: 1280 bytes --]

  reply	other threads:[~2003-11-26 16:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-26 13:48 Problems with /dev/tty on reboot Daniel J Walsh
2003-11-26 14:14 ` Stephen Smalley
2003-11-26 14:50   ` Daniel J Walsh
2003-11-26 15:33     ` Stephen Smalley
2003-11-26 16:26       ` Daniel J Walsh [this message]
2003-11-26 16:33 ` Tom

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=3FC4D43B.1020105@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=SELinux@tycho.nsa.gov \
    --cc=russell@coker.com.au \
    --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.