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: russell@coker.com.au, "Carlos Anísio Monteiro" <monteiro@ipen.br>,
	selinux <selinux@tycho.nsa.gov>
Subject: Re: genfs_contexts file
Date: Wed, 26 Nov 2003 08:42:43 -0500	[thread overview]
Message-ID: <3FC4ADD3.9040505@redhat.com> (raw)
In-Reply-To: <200311261135.09128.russell@coker.com.au>

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

Russell Coker wrote:

>On Wed, 26 Nov 2003 08:48, Carlos Anísio Monteiro <monteiro@ipen.br> wrote:
>  
>
>>I have a doubt about *genfs_contexts* file. For example, the statement
>>below:
>>
>>*genfscon vfat /                system_u:object_r:dosfs_t*
>>
>>I mounted the windows filesystem with: *mount -t vfat /dev/hda1 /mnt/win*
>>I access with: *cd /mnt/win* and run *ls --context*
>>The print out of the *ls --context* is:
>>*-rwxr--r--  root     root     (null)                           130700.htm
>>    
>>
>
>Files/directories that are assigned contexts with genfscon do not have an 
>xattr, so "ls --context" can not show their context.
>
>This is a known issue.  I don't know if there are plans to change it.
>  
>
Steven,

Is there a way to change libselinux to return this data, ie if 
getfilecon is going to return NULL, then have it return the genfscon value?

Dan

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

  parent reply	other threads:[~2003-11-26 13:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-25 21:48 genfs_contexts file Carlos Anísio Monteiro
2003-11-26  0:35 ` Russell Coker
2003-11-26 13:32   ` Stephen Smalley
2003-11-26 13:42   ` Daniel J Walsh [this message]
2003-11-26 13:46     ` 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=3FC4ADD3.9040505@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=monteiro@ipen.br \
    --cc=russell@coker.com.au \
    --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.