Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334305
b: refs/heads/master
c: 1d0059f
h: refs/heads/master
i:
  334303: 863e255
v: v3
  • Loading branch information
David Howells authored and Rusty Russell committed Oct 10, 2012
1 parent 7221692 commit 729325e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 106a4ee258d14818467829bf0e12aeae14c16cd7
refs/heads/master: 1d0059f3a468825b5fc5405c636a2f6e02707ffa
4 changes: 4 additions & 0 deletions trunk/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
#include <linux/jump_label.h>
#include <linux/pfn.h>
#include <linux/bsearch.h>
#include <linux/fips.h>
#include "module-internal.h"

#define CREATE_TRACE_POINTS
Expand Down Expand Up @@ -2447,6 +2448,9 @@ static int module_sig_check(struct load_info *info,
}

/* Not having a signature is only an error if we're strict. */
if (err < 0 && fips_enabled)
panic("Module verification failed with error %d in FIPS mode\n",
err);
if (err == -ENOKEY && !sig_enforce)
err = 0;

Expand Down

0 comments on commit 729325e

Please sign in to comment.