Re: [PATCH 03/14] LSM: Add flags field to security_sb_set_mnt_opts for in kernel mount data.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/23/2013 1:35 PM, Myklebust, Trond wrote:
On Tue, 2013-01-22 at 08:40 -0500, Steve Dickson wrote:
From: David Quigley <dpquigl@xxxxxxxxxxxxxxx>

There is no way to differentiate if a text mount option is passed from user
space or the kernel. A flags field is being added to the
security_sb_set_mnt_opts hook to allow for in kernel security flags to be sent
to the LSM for processing in addition to the text options received from mount.
This patch also updated existing code to fix compilation errors.

Signed-off-by: David P. Quigley <dpquigl@xxxxxxxxxxxxx>
Signed-off-by: Miguel Rodel Felipe <Rodel_FM@xxxxxxxxxxxxxxxxx>
Signed-off-by: Phua Eu Gene <PHUA_Eu_Gene@xxxxxxxxxxxxxxxxx>
Signed-off-by: Khin Mi Mi Aung <Mi_Mi_AUNG@xxxxxxxxxxxxxxxxx>
---
  fs/nfs/super.c           |  3 ++-
  include/linux/security.h | 13 ++++++++++---
  security/capability.c    |  5 ++++-
  security/security.c      |  7 +++++--
  security/selinux/hooks.c | 12 ++++++++++--
  5 files changed, 31 insertions(+), 9 deletions(-)

Ditto. Need Acks from James, Stephen and Eric.


Adding James Morris, Steve Smalley, and Eric Paris for an ACK. These patches have been reviewed on the security list many times in the past and we're just now trying to get them mainlined again. All past comments were addressed in them.


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


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux