All of lore.kernel.org
 help / color / mirror / Atom feed
* Use of inode for storing security info
@ 2011-09-23 18:18 Parag Amritkar
  2011-09-23 23:47 ` Valdis.Kletnieks
  0 siblings, 1 reply; 2+ messages in thread
From: Parag Amritkar @ 2011-09-23 18:18 UTC (permalink / raw)
  To: linux-kernel

Can we use any field of inode for storing information like storing
encryption key of that file?
If so then how?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Use of inode for storing security info
  2011-09-23 18:18 Use of inode for storing security info Parag Amritkar
@ 2011-09-23 23:47 ` Valdis.Kletnieks
  0 siblings, 0 replies; 2+ messages in thread
From: Valdis.Kletnieks @ 2011-09-23 23:47 UTC (permalink / raw)
  To: Parag Amritkar; +Cc: linux-kernel

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

On Fri, 23 Sep 2011 23:48:36 +0530, Parag Amritkar said:
> Can we use any field of inode for storing information like storing
> encryption key of that file?

You probably want to look at how the various security LSMs use
the "security.*" extended attribute namespace to store labels and
similar information.

Protip: You don't want to store the encryption key of the file there.
That's basically leaving the key under the doormat - and a sign saying
"look under doormat for key".

[-- Attachment #2: Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-23 23:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-23 18:18 Use of inode for storing security info Parag Amritkar
2011-09-23 23:47 ` Valdis.Kletnieks

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.