linux-security-module.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] smack: remove redundant structure variable from header.
       [not found] <CGME20200409124013epcas5p33036c008f30327378a6ff02050261626@epcas5p3.samsung.com>
@ 2020-04-09 12:39 ` Maninder Singh
  2020-04-09 21:00   ` Casey Schaufler
  0 siblings, 1 reply; 2+ messages in thread
From: Maninder Singh @ 2020-04-09 12:39 UTC (permalink / raw)
  To: casey, jmorris, serge
  Cc: linux-security-module, linux-kernel, a.sahrawat, v.narang,
	Maninder Singh

commit afb1cbe37440 ("LSM: Infrastructure management
of the inode security") removed usage of smk_rcu,
thus removing it from structure.

Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Signed-off-by: Vaneet Narang <v.narang@samsung.com>
---
 security/smack/smack.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/security/smack/smack.h b/security/smack/smack.h
index 62529f3..5ebd0bb 100644
--- a/security/smack/smack.h
+++ b/security/smack/smack.h
@@ -111,7 +111,6 @@ struct inode_smack {
 	struct smack_known	*smk_mmap;	/* label of the mmap domain */
 	struct mutex		smk_lock;	/* initialization lock */
 	int			smk_flags;	/* smack inode flags */
-	struct rcu_head         smk_rcu;	/* for freeing inode_smack */
 };
 
 struct task_smack {
-- 
1.9.1


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

* Re: [PATCH 1/1] smack: remove redundant structure variable from header.
  2020-04-09 12:39 ` [PATCH 1/1] smack: remove redundant structure variable from header Maninder Singh
@ 2020-04-09 21:00   ` Casey Schaufler
  0 siblings, 0 replies; 2+ messages in thread
From: Casey Schaufler @ 2020-04-09 21:00 UTC (permalink / raw)
  To: Maninder Singh, jmorris, serge
  Cc: linux-security-module, linux-kernel, a.sahrawat, v.narang,
	Casey Schaufler

On 4/9/2020 5:39 AM, Maninder Singh wrote:
> commit afb1cbe37440 ("LSM: Infrastructure management
> of the inode security") removed usage of smk_rcu,
> thus removing it from structure.
>
> Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
> Signed-off-by: Vaneet Narang <v.narang@samsung.com>

Thank you. I will take this.

> ---
>  security/smack/smack.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/security/smack/smack.h b/security/smack/smack.h
> index 62529f3..5ebd0bb 100644
> --- a/security/smack/smack.h
> +++ b/security/smack/smack.h
> @@ -111,7 +111,6 @@ struct inode_smack {
>  	struct smack_known	*smk_mmap;	/* label of the mmap domain */
>  	struct mutex		smk_lock;	/* initialization lock */
>  	int			smk_flags;	/* smack inode flags */
> -	struct rcu_head         smk_rcu;	/* for freeing inode_smack */
>  };
>  
>  struct task_smack {

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

end of thread, other threads:[~2020-04-09 21:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20200409124013epcas5p33036c008f30327378a6ff02050261626@epcas5p3.samsung.com>
2020-04-09 12:39 ` [PATCH 1/1] smack: remove redundant structure variable from header Maninder Singh
2020-04-09 21:00   ` Casey Schaufler

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).