Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÉîÈëÀí½âlinuxϵͳµ÷ÓÃÓëʹÓÃÖ®ÕûÀíƪ

ÉîÈëÀí½âlinuxϵͳµ÷ÓÃÓëʹÓÃÖ®ÕûÀíƪ
Ò»¡¢ ʲôÊÇϵͳµ÷ÓÃ
      ÔÚLinuxµÄÊÀ½çÀÎÒÃǾ­³£»áÓöµ½ÏµÍ³µ÷ÓÃÕâÒ»ÊõÓËùνϵͳµ÷Ó㬾ÍÊÇÄÚºËÌṩµÄ¡¢¹¦ÄÜÊ®·ÖÇ¿´óµÄһϵÁеĺ¯Êý¡£ÕâЩϵͳµ÷ÓÃÊÇÔÚÄÚºËÖÐʵÏֵģ¬ÔÙͨ¹ýÒ»¶¨µÄ·½Ê½°Ñϵͳµ÷ÓøøÓû§£¬Ò»°ã¶¼Í¨¹ýÃÅ(gate)ÏÝÈë(trap)ʵÏÖ¡£ÏµÍ³µ÷ÓþÍÊÇÓû§¿Õ¼äÓ¦ÓóÌÐòºÍÄÚºËÌṩµÄ·þÎñÖ®¼äµÄÒ»¸ö½Ó¿Ú¡£ÓÉÓÚ·þÎñÊÇÔÚÄÚºËÖÐÌṩµÄ£¬Òò´ËÎÞ·¨Ö´ÐÐÖ±½Óµ÷Óã»Ïà·´£¬Äú±ØÐëʹÓÃÒ»¸ö½ø³ÌÀ´¿çÔ½Óû§¿Õ¼äÓëÄÚºËÖ®¼äµÄ½çÏÞ¡£ÔÚÌض¨¼Ü¹¹ÖÐʵÏִ˹¦Äܵķ½·¨»áÓÐËù²»Í¬¡£Òò´Ë£¬±¾ÎĽ«×ÅÑÛÓÚ×îͨÓõļܹ¹ —— i386¡£
 
¶þ¡¢ ϵͳµ÷ÓõÄ×÷ÓÃ
      ϵͳµ÷ÓÃÔÚLinuxϵͳÖз¢»Óמ޴óµÄ×÷Óã¬Èç¹ûûÓÐϵͳµ÷Óã¬ÄÇôӦÓóÌÐò¾ÍʧȥÁËÄں˵ÄÖ§³Ö¡£ÎÒÃÇÔÚ±à³ÌʱÓõ½µÄºÜ¶àº¯Êý£¬Èçfork¡¢openµÈÕâЩº¯Êý×îÖÕ¶¼ÊÇÔÚϵͳµ÷ÓÃÀïʵÏֵģ¬ÕâÀïÎÒÃÇ˵µ½ÁËÁ½¸öº¯Êý£¬¼´forkºÍexit,ÕâÁ½º¯Êý¶¼ÊÇglibcÖеĺ¯Êý£¬µ«ÊÇÈç¹ûÎÒÃǸú×Ùº¯ÊýµÄÖ´Ðйý³Ì£¬¿´¿´glibc¶ÔforkºÍexitº¯ÊýµÄʵÏ־ͿÉÒÔ·¢ÏÖÔÚglibcµÄʵÏÖ´úÂëÀﶼÊDzÉÓÃÈíÖжϵķ½Ê½ÏÝÈëµ½ÄÚºËÖÐÔÙͨ¹ýϵͳµ÷ÓÃʵÏÖº¯ÊýµÄ¹¦Äܵġ£¾ßÌå¹ý³ÌÎÒÃÇÔÚϵͳµ÷ÓõÄʵÏÖ¹ý³Ì»áÏêϸµÄ½²µ½¡£
 
      Óɴ˿ɼû£¬ÏµÍ³µ÷ÓÃÊÇÓû§½Ó¿ÚÔÚÄÚºËÖеÄʵÏÖ£¬Èç¹ûûÓÐϵͳµ÷Óã¬Óû§¾Í²»ÄÜÀûÓÃÄںˡ£
 
Èý¡¢ ϵͳµ÷ÓõÄÏÖʵ¼°µ÷Óùý³Ì
 
      Ïêϸ½²Êöϵͳµ÷ÓõÄ֮ǰҲ½²Ò»ÏÂLinuxϵͳµÄһЩ±£»¤»úÖÆ¡£
 
      LinuxϵͳÔÚCPUµÄ±£»¤Ä£Ê½ÏÂÌṩÁËËĸöÌØȨ¼¶±ð£¬Ä¿Ç°Äں˶¼Ö»Óõ½ÁËÆäÖеÄÁ½¸öÌØȨ¼¶±ð£¬·Ö±ðΪ“ÌØȨ¼¶0”ºÍ“ÌØȨ¼¶3”,¼¶±ð0Ò²¾ÍÊÇÎÒÃÇͨ³£Ëù½²µÄÄÚºËģʽ£¬¼¶±ð3Ò²¾ÍÊÇÎÒÃÇͨ³£Ëù½²µÄÓû§Ä£Ê½¡£»®·ÖÕâÁ½¸ö¼¶±ðÖ÷ÒªÊǶÔϵͳÌṩ±£»¤¡£ÄÚºËģʽ¿ÉÒÔÖ´ÐÐһЩÌØȨָÁîºÍ½øÈëÓû§Ä£Ê½£¬¶øÓû§Ä£Ê½Ôò²»ÄÜ¡£
 
      ÕâÀïÌرðÌá³öµÄÊÇ£¬ÄÚºËģʽÓëÓû§Ä£Ê½·Ö±ðʹÓÃ×Ô¼ºµÄ¶ÑÕ»£¬µ±·¢ÉúģʽÇл»µÄʱºòͬʱҪ½øÐжÑÕ»µÄÇл»¡£Ã¿¸ö½ø³Ì¶¼ÓÐ×Ô¼ºµÄµØÖ·¿Õ¼ä£¨Ò²³ÆΪ½ø³Ì¿Õ¼ä£©£¬½ø³ÌµÄµØÖ·¿Õ¼äÒ²·ÖΪÁ½²¿·Ö£ºÓû§¿Õ¼äºÍϵͳ¿Õ¼ä£¬ÔÚÓû§Ä£Ê½ÏÂÖ»ÄÜ·ÃÎʽø³ÌµÄÓû§¿Õ¼ä£¬ÔÚÄÚºËģʽÏÂÔò¿ÉÒÔ·ÃÎʽø³ÌµÄÈ«²¿µØÖ·¿Õ¼ä£¬Õâ¸öµØÖ·¿Õ¼äÀïµÄµØÖ·ÊÇÒ»¸öÂß¼­µØÖ·£


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

LinuxÉ豸ģÐÍÖ®input×ÓϵͳÏê½â

Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......

linuxϵͳ±à³Ì´úÂë1

#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/sysmacros.h>
#include <time.h>
#include <unistd.h>
#define TIME_STRING_BUF 50
char * timestring(time_t t,char *buf)
 {
   struct tm *local; ......

ÈÃLinuxϵͳ·ÀÖ¹syn¹¥»÷

ÐéÄâÖ÷»ú·þÎñÉÌÔÚÔËÓª¹ý³ÌÖпÉÄÜ»áÊܵ½ºÚ¿Í¹¥»÷£¬³£¼ûµÄ¹¥»÷·½Ê½ÓÐSYN£¬DDOSµÈ¡£Í¨¹ý¸ü»»IP£¬²éÕÒ±»¹¥»÷µÄÕ¾µã¿ÉÄܱܿª¹¥»÷£¬µ«ÊÇÖжϷþÎñµÄʱ¼ä±È½Ï³¤¡£±È½Ï³¹µ×µÄ½â¾ö·½·¨ÊÇÌíÖÃÓ²¼þ·À»ðǽ¡£²»¹ý£¬Ó²¼þ·À»ðǽ¼Û¸ñ±È½Ï°º¹ó¡£¿ÉÒÔ¿¼ÂÇÀûÓÃLinux ϵͳ±¾ÉíÌṩµÄ·À»ðǽ¹¦ÄÜÀ´·ÀÓù¡£
µÖÓùSYN SYN¹¥»÷ÊÇÀûÓÃTCP/IPЭÒé3´ÎÎÕÊÖµ ......

LinuxÄں˵Äͬ²½»úÖÆ

¡¡±¾ÎÄÖÜÏêµÄ½éÉÜÁËLinuxÄÚºËÖеÄͬ²½»úÖÆ£ºÔ­×Ó²Ù×÷¡¢ÐźÅÁ¿¡¢¶ÁдÐźÅÁ¿ºÍ×ÔÐýËøµÄAPI£¬Ê¹ÓÃÐèÇó¼°Ò»Ð©µäÐÍʾÀý
¡¡¡¡Ò»¡¢ÒýÑÔ
¡¡¡¡ÔÚÏÖ´ú²Ù×÷ϵͳÀͬһʱ¼ä¿ÉÄÜÓжà¸öÄÚºËÖ´ÐÐÁ÷ÔÚÖ´ÐУ¬Òò´ËÄÚºËÆäʵÏó¶à½ø³Ì¶àÏ̱߳à³ÌÏàͬҲÐèҪһЩͬ²½»úÖÆÀ´Í¬²½¸÷Ö´Ðе¥Ôª¶Ô¹²ÏíÊý¾ÝµÄ·ÃÎÊ¡£ÓÈÆäÊÇÔڶദÀíÆ÷ϵͳÉÏ£¬¸üÐèÒªÒ» ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ