Research Menu

.
Skip Search Box

SELinux Mailing List

Re: Configuring kernel module for labeling ...

From: Jaspreet Singh <jsingh_at_ensim.com>
Date: Wed, 03 Nov 2004 02:03:01 +0530


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.
Received on Tue 2 Nov 2004 - 15:32:50 EST
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service