-/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1)
+/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
*
* wrapper/random.c
*
- * wrapper around bootid read. Using KALLSYMS to get its address when
- * available, else we need to have a kernel that exports this function to GPL
- * modules.
+ * wrapper around bootid read. Read the boot id through the /proc filesystem.
*
* Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*/
filp_close(file, current->files);
return ret;
}
+EXPORT_SYMBOL_GPL(wrapper_get_bootid);
#else
{
return -ENOSYS;
}
+EXPORT_SYMBOL_GPL(wrapper_get_bootid);
#endif