http://blog.chinaunix.net/uid/16979052.html
全部博文(286)
发布时间:2012-06-28 15:36:53
#include static gdt_t ALIGN(PAGE_SIZE) gdt;static gdt_ptr_t ALIGN(PAGE_SIZE) gdt_ptr;void gdt_set_entry(uint32_t index, addr_t base, uint32_t limit, uint32_t type){ gdt_entry_t *g = &(gdt.entries[index]); g->limit_low = (limit / 4096.........【阅读全文】
发布时间:2012-06-28 15:32:17
#!/bin/sh# Simple little web server.PORT=80DOCROOT=/var/loglog () { logger -t httpd "$@"}run_nc () { nc -p $PORT -l -e $1 </dev/null >/dev/null 2>/dev/null &}header () { echo "HTTP/1.0 $1 $2" echo "Content-Type: $3" echo}.........【阅读全文】
发布时间:2012-06-28 13:03:32
upstream fastcgiServers { server 127.0.0.1:9000 ; server 127.0.0.1:9001 ; server 198.192.0.1:9000 ; server 198.192.0.2:9000 ; ser.........【阅读全文】