Debian Codegraph @

runtime/linux/autoconf-set_fs.c

raw
1 #include <linux/uaccess.h>
2
3 // XXX set_fs is an inline function, so we can't detect it with exportconf:
4 void __something(void);
5 void __something(void)
6 {
7 mm_segment_t oldfs = get_fs();
8 set_fs(KERNEL_DS);
9 set_fs(USER_DS);
10 set_fs(oldfs);
11 }