All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaspreet Singh <jsingh@ensim.com>
To: nsa <SELinux@tycho.nsa.gov>
Subject: Re: Configuring kernel module for labeling ...
Date: Wed, 03 Nov 2004 02:03:01 +0530	[thread overview]
Message-ID: <1099427580.12614.15.camel@jsingh> (raw)
In-Reply-To: <1099420972.31739.269.camel@moss-spartans.epoch.ncsc.mil>

Hi,

this can't be real ... or is it the matrix ... I have been trying these
things for the past 7 days .. and you solved them . in just two mails.

Thanx a lot sir...

On Wed, 2004-11-03 at 00:12, Stephen Smalley wrote:

> Looking at mini_fo/main.c, I see that it doesn't copy the inode
> attributes (e.g. mode) until after the d_instantiate.  Not good for
> SELinux, as we want the mode at that time to determine the security
> class.  Might want to try the patch below.
> 
It worked .. and i have tested it now.
> Note that fs/xattr.c:setxattr() calls a security_inode_post_setxattr()
> hook function upon successful setting of the attribute to tell 
> SELinux to update its incore inode SID as well. You need to do 

Ok... i got it now. Yups I have seen the code ... I thought something on
the same lines .. I will try to figure it out my-self and bother you
only if i can't do it.

Can you provide me with some documents/links .. so that i can learn
these things ... with details.

Thanx a lot...
Jaspreet Singh.

-- 
:: don't walk as if you own the world 
	 walk as if you dont damn who owns it ::




--
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-11-02 20:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-02  8:45 Configuring kernel module for labeling Jaspreet Singh
2004-11-02 10:26 ` Luke Kenneth Casson Leighton
2004-11-02 16:23 ` Russell Coker
2004-11-02 17:45   ` Jaspreet Singh
2004-11-02 18:28     ` Stephen Smalley
2004-11-02 18:42       ` Stephen Smalley
2004-11-02 20:33         ` Jaspreet Singh [this message]
2004-11-02 20:48           ` 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=1099427580.12614.15.camel@jsingh \
    --to=jsingh@ensim.com \
    --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.