Sign in
◑
Theme
gdch-oss
/
third_party
/
8e0919c9a84bfc53f400a57354c79cd7e97192b4
/
.
/
runtime
/
linux
/
autoconf-set_fs.c
blob: 3fbdf8fac2165fdef83226495315fb352e50afc8 [
file
]
#include
<linux/uaccess.h>
// XXX set_fs is an inline function, so we can't detect it with exportconf:
void
__something
(
void
);
void
__something
(
void
)
{
mm_segment_t
oldfs
=
get_fs
();
set_fs
(
KERNEL_DS
);
set_fs
(
USER_DS
);
set_fs
(
oldfs
);
}