Re: Accessing Inodes??

From: Emmanuel Fleury
Date: Fri Aug 13 2004 - 03:54:55 EST


On Fri, 2004-08-13 at 10:11, Harish K Harshan wrote:
> I am doing a project on implementing mandatory access control in the linux
> kernel. I would like to know how to acces or modify the inodes of files
> and directories on a hard disk. Please help me.

You should use the LSM hooks for this.

See:
http://www.nsa.gov/selinux/papers/module/t1.html
http://umbrella.sourceforge.net/
...
And a lot of others
...

Regards
--
Emmanuel Fleury

Computer Science Department, | Office: B1-201
Aalborg University, | Phone: +45 96 35 72 23
Fredriks Bajersvej 7E, | Fax: +45 98 15 98 89
9220 Aalborg East, Denmark | Email: fleury@xxxxxxxxx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/