Skip to content
Snippets Groups Projects
Select Git revision
  • f9e0469e03e69956f6a81dc6f6b3476faee988ce
  • main default protected
2 results

hello-sysfs.mod.c

Blame
  • hello-sysfs.mod.c 1.14 KiB
    #include <linux/module.h>
    #define INCLUDE_VERMAGIC
    #include <linux/build-salt.h>
    #include <linux/elfnote-lto.h>
    #include <linux/export-internal.h>
    #include <linux/vermagic.h>
    #include <linux/compiler.h>
    
    #ifdef CONFIG_UNWINDER_ORC
    #include <asm/orc_header.h>
    ORC_HEADER;
    #endif
    
    BUILD_SALT;
    BUILD_LTO_INFO;
    
    MODULE_INFO(vermagic, VERMAGIC_STRING);
    MODULE_INFO(name, KBUILD_MODNAME);
    
    __visible struct module __this_module
    __section(".gnu.linkonce.this_module") = {
    	.name = KBUILD_MODNAME,
    	.init = init_module,
    #ifdef CONFIG_MODULE_UNLOAD
    	.exit = cleanup_module,
    #endif
    	.arch = MODULE_ARCH_INIT,
    };
    
    #ifdef CONFIG_RETPOLINE
    MODULE_INFO(retpoline, "Y");
    #endif
    
    
    
    static const struct modversion_info ____versions[]
    __used __section("__versions") = {
    	{ 0x122c3a7e, "_printk" },
    	{ 0xa6ef1646, "kernel_kobj" },
    	{ 0x10bd90f2, "kobject_create_and_add" },
    	{ 0xa3efd5d1, "sysfs_create_file_ns" },
    	{ 0xecc78457, "kobject_put" },
    	{ 0xbdfb6dbb, "__fentry__" },
    	{ 0xbcab6ee6, "sscanf" },
    	{ 0x5b8239ca, "__x86_return_thunk" },
    	{ 0x3c3ff9fd, "sprintf" },
    	{ 0x76800044, "module_layout" },
    };
    
    MODULE_INFO(depends, "");
    
    
    MODULE_INFO(srcversion, "6C30BA4EA53200F485C730C");