Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 29 Jul 2016 18:09:02 +0000
From: "Reshetova, Elena" <>
To: ""
CC: ""
	<>, ""
	<>, "" <>,
	"" <>, "Schaufler, Casey"
	<>, "Leibowitz, Michael"
	<>, "Roberts, William C"
Subject: RE: [RFC] [PATCH 3/5] sb_unsharefs LSM hook

On Fri, Jul 29, 2016 at 10:34:38AM +0300, Elena Reshetova wrote:
> This adds a new security_sb_unsharefs() LSM hook.
> It can be used by LSMs concerned about unsharefs() system call.

>There is no unsharefs() system call. Your patch touches a kernel function
>unshare_fs_struct() that is called by the NFS server kernel thread and some
lustre stuff, which also looks like kernel threads.

Sorry, wrong wording, it isn't the system call, but it is an exported
So, in principle it can be used in many other places in future. Yes,
currently it is used by NFS server and Lustre, but no guarantees on what is
next in line. 
Or are you saying that that having a check done in this palce doesn't make
sense? The reason I thought it is important is that since we need to store
 the pointer to correct fs root and since it is updated in this case, we
don't want to miss this. 

Best Regards,

Download attachment "smime.p7s" of type "application/pkcs7-signature" (7586 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.