cregit-Linux how code gets into the kernel

Release 4.18 fs/proc/version.c

Directory: fs/proc
// SPDX-License-Identifier: GPL-2.0
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/utsname.h>


static int version_proc_show(struct seq_file *m, void *v) { seq_printf(m, linux_proc_banner, utsname()->sysname, utsname()->release, utsname()->version); return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Alexey Dobriyan40100.00%1100.00%
Total40100.00%1100.00%


static int __init proc_version_init(void) { proc_create_single("version", 0, NULL, version_proc_show); return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Alexey Dobriyan2191.30%150.00%
Christoph Hellwig28.70%150.00%
Total23100.00%2100.00%

fs_initcall(proc_version_init);

Overall Contributors

PersonTokensPropCommitsCommitProp
Alexey Dobriyan8395.40%125.00%
Christoph Hellwig22.30%125.00%
Paul Gortmaker11.15%125.00%
Greg Kroah-Hartman11.15%125.00%
Total87100.00%4100.00%
Directory: fs/proc
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.