On Wed, 2004-10-13 at 03:32 +0900, aq wrote: > Anybody please tell me what is the meaning of orig_eax in > user_regs_struct ? And what does it do, together with eax? > > In the same structure, there are somethings named _cs, _ds, _es, _ss, > _bs, _fs. What do they do with these things? All of these are x86 registers. eax is the first register. old_eax is the value of eax before it was mangled. cs, ds, es, fs, gs, ss are segment registers. They are used as segment selectors, pointing into the global descriptor table. But Linux does not use segments (for the most part) so we use them for other purposes. Robert Love -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/