.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /** |
---|
2 | 3 | * eCryptfs: Linux filesystem encryption layer |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2004-2008 International Business Machines Corp. |
---|
5 | 6 | * 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> |
---|
21 | 8 | */ |
---|
22 | 9 | #include <linux/sched.h> |
---|
23 | 10 | #include <linux/slab.h> |
---|
.. | .. |
---|
188 | 175 | } |
---|
189 | 176 | hlist_del(&daemon->euid_chain); |
---|
190 | 177 | mutex_unlock(&daemon->mux); |
---|
191 | | - kzfree(daemon); |
---|
| 178 | + kfree_sensitive(daemon); |
---|
192 | 179 | out: |
---|
193 | 180 | return rc; |
---|
194 | 181 | } |
---|