summaryrefslogtreecommitdiffstats
path: root/include/linux/modsign.h
blob: c5ac87a5c65560605873022bfc37c5a207848600 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* Module signing definitions
 *
 * Copyright (C) 2009 Red Hat, Inc. All Rights Reserved.
 * Written by David Howells (dhowells@redhat.com)
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public Licence
 * as published by the Free Software Foundation; either version
 * 2 of the Licence, or (at your option) any later version.
 */

#ifndef _LINUX_MODSIGN_H
#define _LINUX_MODSIGN_H

#ifdef CONFIG_MODULE_SIG

#include <linux/elfnote.h>

/*
 * The parameters of the ELF note used to carry the signature
 */
#define MODSIGN_NOTE_NAME	module.sig
#define MODSIGN_NOTE_TYPE	100

#endif

#endif /* _LINUX_MODSIGN_H */