cregit-Linux how code gets into the kernel

Release 4.11 arch/x86/um/shared/sysdep/kernel-offsets.h

#include <linux/stddef.h>
#include <linux/sched.h>
#include <linux/elf.h>
#include <linux/crypto.h>
#include <asm/mman.h>


#define DEFINE(sym, val) \
	asm volatile("\n->" #sym " %0 " #val : : "i" (val))


#define BLANK() asm volatile("\n->" : : )


#define OFFSET(sym, str, mem) \
	DEFINE(sym, offsetof(struct str, mem));


void foo(void) { #include <common-offsets.h> }

Contributors

PersonTokensPropCommitsCommitProp
Al Viro10100.00%1100.00%
Total10100.00%1100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Al Viro52100.00%2100.00%
Total52100.00%2100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.