ÇëÎÊlinuxÖеĶÑÕ»
ÇëÎÊlinuxÖеĶÑÕ»ÊÇÔõôÑùµÄ£¿ÎªÊ²Ã´ÎÒÔÚÊéÉÏ¿´µ½Õâ¸ö£¿
kernel/fork.c£¬92ÐУº
p->tss.esp0 = PAGE_SIZE + (long)p;
p->tss.ss0 = 0x10;
ÆäÖУ¬pÊÇÐÂÈÎÎñµÄÈÎÎñÊý¾Ý½á¹¹Ö¸Õ룬tssÊÇÈÎÎñ״̬¶Î½á¹¹
ΪʲôespÔÚ ¸ßµØÖ·£¬¶øss=0x10=00010 0 00
ÎÒûÕÒµ½ gdtµÄ0x10£¬²»¹ýÎÒÔÚ±ðµÄÊéÉÏ¿´µ½gdt 0x10 ÊÇkernel——cs
¼´¿ªÊ¼ÓÚ0λÖã¿Èç¹ûÕâÑù£¬ÄǶÑÕ»²»ÊÇ ³ÉÁËÏòÉÏÑÓÉìµÄÁË£¿
СµÜ³õѧ£¬Ï£Íû¸÷λ´ó¸ç²»ÁߴͽÌ
Äں˶Խø³ÌÓÐ×Ô¼ºµÄÄÚºËģʽջ£¬tss.esp0»áÔÚÓû§Ä£Ê½Çл»µ½ÄÚºËģʽʱµÃµ½ÄÚºËÕ»µÄλÖá£
¶Ôss0£¬ÎÒµÄÀí½âÊÇÄں˻ù±¾²»ÓöεĸÅÄËùÒÔÄÚºËCSºÍDS¶ÎµÄÆðֹλÖÃÊÇÒ»ÑùµÄ¡£ËùÒÔÆäʵss0µÄº¬ÒåÊÇDS¶Î¡£
Äã¿´µÄ´úÂëÊÇ2.4µÄ£¿2.6ºóÆÚµÄÄÚºËDSºÍCSËƺõÊÇ´Ó0x0¿ªÊ¼µÄ
Õâ¸ö´úÂëÓ¦¸ÃÊÇlinux0.11µÄ°É£¿ÄÚºËÕ»ºÍ½ø³Ìstruct»¹ÔÚÒ»Ò³ÒÔÄÚÄØ£¬2.4ÒÔºóµÄ¶¼ÊÇÕ¼ÓÃÁ½Ò³ÁË
p->tss.esp0 = PAGE_SIZE + (long)p; ÉèÖÃÄں˵ĶÑÕ»ÔÚÕâÒ»Ò³µÄÄ©¶Ë£¬È»ºóÏòÏÂÉú³¤
Ïà¹ØÎÊ´ð£º
Á½Ì¨»úÆ÷ÐͺÅÍêÈ«Ò»Ñù
ÏëÒª°Ñһ̨»úÆ÷µÄÄÚºËÅäÖÃÎļþ¿½±´¸øÁíÍâһ̨
RT
3Q
...
.config Òþ²ØµÄ ÔÚÄãÅäÖùýÄں˺ó¾ÍÉú³ÉÁË
lsÕý½â£¬ÔÚkernelÔ´Â붥²ãĿ¼ÖÐÓиö.configÎļþ£¬ÅäÖ ......
Õ¾µãÏÂÓÐ×ÓÎļþ¼Ð script Îļþ¼ÐÏÂÓÐjsÎļþindex.js
¸ùĿ¼ÏÂÓÐÎļþindex.php
ÏëȨÏÞÉèÖóÉÖ±½Óͨ¹ýURL:http://www.abc.com/script/index.jsÎÞ·¨·ÃÎÊ,ÐèҪȨÏÞ
µ«ÊÇͨ¹ýindex.phpµ ......
ÔÏȵÄGCC°æ±¾Îª4.1.2,ÎÒÖØбàÒë°²×°ÁËGCC4.3.2£¬µ«ÊDZàÒëÍê³ÌÐòÔËÐгÌÐòʱ»á³öÏÖversion `GLIBCXX_3.4.9' not found Õâ¸öÎÊÌâ.ÔÚÍøÉÏÃæ²éÁËÒ»ÏÂÊÇÈíÁ¬½ÓµÄÎÊÌâ¡£µ«ÊDZ¾È˶ÔLinux²»Ì«ÊìϤ£¬¡°Ó¦¸ÃÖÆ×÷RPM°üÈ»ºó ......
Ò»Ö±ÓÃsvnÀ´×ö×ÊÔ´µÄ¹ÜÀí£¬
ÏÖÔÚ·¢ÏÖwindowsÏÂÈ¡svn Òª10¸öСʱ×óÓÒ£¨×ÊÔ´´óÔ¼ÓÐ20G,È«ÊÇСÎļþ£©
linuxÏÂÈ¡½öÓÃ40·ÖÖÓ£¬
ÇëÎÊlinuxµÄÎļþϵͳÔÚÄĶù±ÈwindowsÎļþϵͳǿÁ¦?
svn ¿É¹»ÂýµÄ¡£
ÔÚ ......
ÎÒ´ÓxpÓ²ÅÌ°²×°ÁËfedora red£¬ÓÃgrub for dos°²×°³É¹¦£¬Æô¶¯ºóȴûÓÐlinuxµÄÆô¶¯Ï࣬ÊDz»ÊÇ»¹Òª×öЩÅäÖÃ
xp¿ÉÒÔÕý³£Æô¶¯£¬ÄÇλ´óϺ°ï°ï棬ÔÚÏߵȰ¡£¡
×Ô¼ºÏȶ¥ÏÂ
Æô¶¯ÏîÊÇÒª×Ô¼ºÊÖ¶¯Ìí¼ÓµÄ£¬ºÇºÇ
±à¼ºÃm ......