linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* fs/crypt ioctl and attr
@ 2017-02-06 23:19 Anand Jain
  2017-02-06 23:31 ` Eric Biggers
  0 siblings, 1 reply; 9+ messages in thread
From: Anand Jain @ 2017-02-06 23:19 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: Joe Richey, Eric Biggers


Hello,

  As I understand the usage of

     EXT4_IOC_SET(GET)_ENCRYPTION_POLICY

  and as the policy is set per inode and stored as an attribute,
  any reason that - it should be a selinux attribute in specific ?
  and setfattr / getfattr wasn't used instead of the above ioctl ?

  IMO, if its attribute its better to have it read/writable
  using the generic tools such as set(get)fattr. ?

Thanks, Anand

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

end of thread, other threads:[~2017-02-08 18:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-06 23:19 fs/crypt ioctl and attr Anand Jain
2017-02-06 23:31 ` Eric Biggers
2017-02-07  5:55   ` Anand Jain
2017-02-07  7:34     ` Eric Biggers
2017-02-07  9:52       ` Anand Jain
2017-02-08  2:41         ` Theodore Ts'o
2017-02-08  4:36           ` Darrick J. Wong
2017-02-08 14:21             ` Theodore Ts'o
2017-02-08 18:55               ` Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).