mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-05-26 11:40:24 +02:00
f9909cf0a2
This structure definition is used outside the kernel proper. For example in kmod and the kernel build environment. To allow reuse, move it to a new UAPI header. While it is not a true UAPI, it is a common practice to have non-UAPI interface definitions in the kernel's UAPI headers. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Reviewed-by: Petr Pavlu <petr.pavlu@suse.com> Reviewed-by: Nicolas Schier <nsc@kernel.org> Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
19 lines
457 B
C
19 lines
457 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Module signature handling.
|
|
*
|
|
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
|
|
* Written by David Howells (dhowells@redhat.com)
|
|
*/
|
|
|
|
#ifndef _LINUX_MODULE_SIGNATURE_H
|
|
#define _LINUX_MODULE_SIGNATURE_H
|
|
|
|
#include <linux/types.h>
|
|
#include <uapi/linux/module_signature.h>
|
|
|
|
int mod_check_sig(const struct module_signature *ms, size_t file_len,
|
|
const char *name);
|
|
|
|
#endif /* _LINUX_MODULE_SIGNATURE_H */
|