summaryrefslogtreecommitdiff
path: root/crypto/fips.c
blob: 553970081c62e290f47c8bb446f2f6f32f609cd6 (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
/*
 * FIPS 200 support.
 *
 * Copyright (c) 2008 Neil Horman <nhorman@tuxdriver.com>
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the Free
 * Software Foundation; either version 2 of the License, or (at your option)
 * any later version.
 *
 */

#include "internal.h"

int fips_enabled;
EXPORT_SYMBOL_GPL(fips_enabled);

/* Process kernel command-line parameter at boot time. fips=0 or fips=1 */
static int fips_enable(char *str)
{
	fips_enabled = !!simple_strtol(str, NULL, 0);
	printk(KERN_INFO "fips mode: %s\n",
		fips_enabled ? "enabled" : "disabled");
	return 1;
}

__setup("fips=", fips_enable);
e681b7dd36bab71e3c3'>kprobes: retry blocked optprobe in do_free_cleaned_kprobeshongao 2025-07-15kprobes: Add missing kerneldoc for __get_insn_slotPeng Jiang 2025-03-10kprobes: Use RCU in all users of __module_text_address().Sebastian Andrzej Siewior 2025-01-28treewide: const qualify ctl_tables where applicableJoel Granados 2025-01-10kprobes: Remove remaining gotosMasami Hiramatsu (Google) 2025-01-10kprobes: Remove unneeded gotoMasami Hiramatsu (Google) 2025-01-10kprobes: Use guard for rcu_read_lockMasami Hiramatsu (Google) 2025-01-10kprobes: Use guard() for external locksMasami Hiramatsu (Google) 2025-01-10kprobes: Adopt guard() and scoped_guard()Masami Hiramatsu (Google) 2025-01-10kprobes: Reduce preempt disable scope in check_kprobe_access_safe()Thomas Weißschuh 2024-10-31kprobes: Use struct_size() in __get_insn_slot()Nathan Chancellor 2024-10-31kprobes: Cleanup collect_one_slot() and __disable_kprobe()Jinjie Ruan 2024-10-31kprobes: Cleanup the config commentJinjie Ruan 2024-08-05kprobes: Fix to check symbol prefixes correctlyMasami Hiramatsu (Google) 2024-07-24sysctl: treewide: constify the ctl_table argument of proc_handlersJoel Granados 2024-05-17kprobe/ftrace: fix build error due to bad function definitionLinus Torvalds 2024-05-17Merge tag 'probes-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tra...Linus Torvalds 2024-05-17Merge tag 'sysctl-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds 2024-05-16kprobe/ftrace: bail out if ftrace was killedStephen Brennan 2024-05-14kprobes: remove dependency on CONFIG_MODULESMike Rapoport (IBM) 2024-05-14mm: introduce execmem_alloc() and execmem_free()Mike Rapoport (IBM) 2024-04-24kprobes: Remove the now superfluous sentinel elements from ctl_table arrayJoel Granados 2024-04-10kprobes: Fix possible use-after-free issue on kprobe registrationZheng Yejian 2024-02-08kprobes: Remove unnecessary initial values of variablesLi zeming 2023-12-01kprobes: consistent rcu api usage for kretprobe holderJP Kobryn 2023-10-18kprobes: kretprobe scalability improvementwuqiang.matt 2023-08-23kernel: kprobes: Use struct_size()Ruan Jinjie 2023-07-29kprobes: Prohibit probing on CFI preamble symbolMasami Hiramatsu (Google) 2023-07-12Merge tag 'probes-fixes-v6.5-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds 2023-07-11kernel: kprobes: Remove unnecessary ‘0’ valuesLi zeming 2023-07-11kprobes: Remove unnecessary ‘NULL’ values from correct_ret_addrLi zeming 2023-06-06fprobe: Pass return address to the handlersMasami Hiramatsu (Google) 2023-02-21x86/kprobes: Fix arch_check_optimized_kprobe check within optimized_kprobe rangeYang Jihong 2023-02-21x86/kprobes: Fix __recover_optprobed_insn check optimizing logicYang Jihong 2023-02-21kprobes: Fix to handle forcibly unoptimized kprobes on freeing_listMasami Hiramatsu (Google) 2022-12-15kprobes: kretprobe events missing on 2-core KVM guestwuqiang 2022-11-28kprobes: Fix check for probe enabled in kill_kprobe()Li Huafei 2022-11-18kprobes: Skip clearing aggrprobe's post_handler in kprobe-on-ftrace caseLi Huafei 2022-11-04kprobe: reverse kp->flags when arm_kprobe failedLi Qiang 2022-10-03Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski