hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/fs/ecryptfs/messaging.c
....@@ -1,23 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /**
23 * eCryptfs: Linux filesystem encryption layer
34 *
45 * Copyright (C) 2004-2008 International Business Machines Corp.
56 * Author(s): Michael A. Halcrow <mhalcrow@us.ibm.com>
6
- * Tyler Hicks <tyhicks@ou.edu>
7
- *
8
- * This program is free software; you can redistribute it and/or
9
- * modify it under the terms of the GNU General Public License version
10
- * 2 as published by the Free Software Foundation.
11
- *
12
- * This program is distributed in the hope that it will be useful, but
13
- * WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
- * General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU General Public License
18
- * along with this program; if not, write to the Free Software
19
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
20
- * 02111-1307, USA.
7
+ * Tyler Hicks <code@tyhicks.com>
218 */
229 #include <linux/sched.h>
2310 #include <linux/slab.h>
....@@ -188,7 +175,7 @@
188175 }
189176 hlist_del(&daemon->euid_chain);
190177 mutex_unlock(&daemon->mux);
191
- kzfree(daemon);
178
+ kfree_sensitive(daemon);
192179 out:
193180 return rc;
194181 }