hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/security/keys/encrypted-keys/ecryptfs_format.c
....@@ -1,21 +1,19 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * ecryptfs_format.c: helper functions for the encrypted key type
34 *
45 * Copyright (C) 2006 International Business Machines Corp.
56 * Copyright (C) 2010 Politecnico di Torino, Italy
6
- * TORSEC group -- http://security.polito.it
7
+ * TORSEC group -- https://security.polito.it
78 *
89 * Authors:
910 * Michael A. Halcrow <mahalcro@us.ibm.com>
1011 * Tyler Hicks <tyhicks@ou.edu>
1112 * Roberto Sassu <roberto.sassu@polito.it>
12
- *
13
- * This program is free software; you can redistribute it and/or modify
14
- * it under the terms of the GNU General Public License as published by
15
- * the Free Software Foundation, version 2 of the License.
1613 */
1714
18
-#include <linux/module.h>
15
+#include <linux/export.h>
16
+#include <linux/string.h>
1917 #include "ecryptfs_format.h"
2018
2119 u8 *ecryptfs_get_auth_tok_key(struct ecryptfs_auth_tok *auth_tok)
....@@ -77,5 +75,3 @@
7775 return 0;
7876 }
7977 EXPORT_SYMBOL(ecryptfs_fill_auth_tok);
80
-
81
-MODULE_LICENSE("GPL");