Hi,all
I have seen the following codes, but do not know what's the meaning of them:
mm_segment_t old_fs;
old_fs = get_fs();
set_fs (KERNEL_DS);
........
set_fs(old_fs);
What is the usage of these codes and in what condition they will be used?
Thanks!
--
National Research Center for Intelligent Computing Systems
Institute of Computing Technology, Chinese Academy of Sciences