Commit graph

1908 commits

Author SHA1 Message Date
aiju ef4d3bb98e in soviet russia greg file expands YOU 2012-09-02 15:16:21 +02:00
aiju 3ac2cf2bfa in soviet russia error can not explain you! 2012-09-02 10:05:36 +00:00
google 3914d039b1 Add timeout to eeprom and flash init in ether82563 driver.
Prevents hang on misidentified or broken cards.
2012-09-03 19:23:28 +12:00
google 25a5ae8a44 Add Intel 82801JIB ICH10 southbridge 2012-09-03 17:44:30 +12:00
google 14843589e2 Intel 82567V DOES support jumbo frames, despite claims to the contrary. 2012-09-03 13:40:51 +12:00
google 59d3ba2ce0 Intel 82567V does not support jumbo frames. 2012-09-02 11:31:53 +12:00
cinap_lenrek c74eff0906 audiohda: unsigned vid/rid formating 2012-09-02 01:02:34 +02:00
cinap_lenrek 5446d9779c date: pikeshedding 2012-09-02 00:18:43 +02:00
google 4cd4b82553 Fixes previous commit: dc3f9d299b40 2012-09-02 01:06:38 +12:00
google 2dfe66d72f Add -i flag to date: prints ISO-8601 datestamp
Add -t flag to date: prints ISO-8601 timestamp
2012-09-02 00:33:39 +12:00
google 87b6b93257 Fix for i82567V-2 2012-09-02 00:27:43 +12:00
cinap_lenrek 7f22b32e63 isodate in libc? revert every commit for great justice! 2012-09-01 14:12:29 +02:00
google 0e41e0b7c5 Add prototypes for isotime and isodate. This should have been in the previous commit. 2012-09-02 23:15:15 +12:00
google dfc348c4e2 Add -i and -t options to date for isodate and isotime display. 2012-09-02 23:08:14 +12:00
google cdb7bdde96 Add isotime() and isodate() functions to libc. 2012-09-02 23:05:41 +12:00
google 67e047589a Fix date formatting in asctime after year 2099. 2012-09-02 22:59:31 +12:00
cinap_lenrek e91301a401 rdmsr/wrmsr become tryrdmsr/trywrmsr, we can should check for trap 2012-08-31 16:48:33 +02:00
cinap_lenrek a7ed529d97 upas/fs: catch alarm note (used in pop3 code) 2012-08-30 17:39:22 +02:00
cinap_lenrek c430bf65d3 ndb/dns: fix mistake 2012-08-29 20:14:15 +02:00
cinap_lenrek e1a0aa42dc merge 2012-08-29 19:06:12 +02:00
cinap_lenrek 860d938b20 ndb/dns: bug fixes and massive cleanup
removing the querylck from the DN as it was never used or being
effective which saves like a ton on space per domain name.

remove the Query.tcplock and put query on the stack. it is
unneccesary to lock the query as its only used by one process
at a time. put Query's on the stack.

change outsidens() to outsidensip() which now takes the ip
buffer that it fills instead of returning static buffer (which
would race with multiple processes involved).

eleminate mostly all of the lock(&dnlock)/unlock(&dnlock) calls.
we'r not working on shared cache RR's in the resolver procs.
we work on *copies* done by rrlookup() made under the dnlock.

the cache garbage collection only runs when all processes are
locked out and is also taking the dnlock while doing so.

cleanup xmitquery(). for the tcp case, we dont need to get
more nameserver addresses, just take the ip from the udp header
that tcpquery() placed there for us.

fixed baddelegation() to actually check for delegation loop even
if theres no dom info for our host.

remove lots of debug code. remove the dnforceage() as it doenst
make sure other processes are locked out. this could destroy
dn's currenctly refered by running queries.

remove dnageallnever() as its not used. dont attach rr's to
keepers to prevent outside spoofing.

make myaddr() retrive the ip address if not set.
2012-08-29 19:01:05 +02:00
stanley lieber 30d016224a fortunes, troll: epub 2012-08-28 22:48:39 -05:00
stanley lieber 60bcab4d78 /sys/lib/dist/ndb/common: for god and country, geronimo, geronimo, geronimo 2012-08-28 22:46:44 -05:00
aiju 5ba4ccd30e fixed RFNOMNT 2012-08-27 17:50:48 +02:00
cinap_lenrek 40d5dce459 dns: fix rr->srv memory leak in rrcopy, mark rr->sig->signer, dn aging, cleanup 2012-08-26 21:56:03 +02:00
cinap_lenrek 25070f33fb audiohda: add intel sch models (thanks puddingpimp on #cat-v for sending a patch) 2012-08-26 17:16:03 +02:00
aiju 681f273489 more netaudit stuff 2012-08-26 16:10:01 +02:00
aiju 90ea636ce1 fixed netaudit blunder 2012-08-26 15:56:16 +02:00
aiju e935fec9be added netaudit 2012-08-26 14:15:08 +02:00
cinap_lenrek 8f0ec8b725 ndb/dns: fix netmkaddr() race, dnlock consistency, strcpy, cleanups 2012-08-26 01:51:46 +02:00
cinap_lenrek 19219d5a95 archmp: checksum _MP_ structure before use, coherence() and comments (import from sources)
we used to only test the checksum of the PCMP structure referenced by
the _MP_ without checking _MP_ itself. now fixed.

geoff added some coherence() calls and comments in the mpstartup and
apic code which seems to be a good idea.
2012-08-25 14:06:42 +02:00
aiju 69f5a04ac3 games/gb: del instead of f12/o 2012-08-25 22:38:32 +02:00
aiju 9cab16b426 games/gb: set audioproc priority 2012-08-25 22:33:51 +02:00
aiju d7c21149e4 gb: pause function 2012-08-25 22:13:29 +02:00
aiju 46124af6cf fix CUT macro in cpuid 2012-08-24 19:19:42 +02:00
aiju 6edb672951 added aux/cpuid 2012-08-24 18:49:25 +02:00
stanley lieber c42a535fe9 fortunes, rob, rsc, troll: updates 2012-08-24 10:18:33 -05:00
cinap_lenrek 3ac4524e4a syscallfmt: use up->syserrstr instead of up->errstr (import from sources) 2012-08-24 15:53:35 +02:00
cinap_lenrek da01fdae11 guesscpuhz: add sanity checks for virtualbox (import from sources) 2012-08-24 15:46:21 +02:00
cinap_lenrek d436b2117e add unified sigsearch() function to look for bios data structures
replace the various functions that searched for bios data structures by
a single sigsearch() one in pc/memory.c that will probe the various bios
data areas.

also, a new checksum() function was added that is to be used to validate
the structures found.
2012-08-24 15:36:56 +02:00
cinap_lenrek 86f323290c wait: always check up->nchild before going to sleep
always make sure that there are child processes we can wait for
before sleeping.

put pwait() sleep into a loop and recheck. this is not strictly
neccesary but prevents accidents if there are spurious wakeups
or a bug.
2012-08-24 13:11:04 +02:00
cinap_lenrek d404e9e9f8 devmnt: more carefull wakeup in mountmux
once we set q->done = 1 in mountmux, the sleeper might return freeing q
so the wakeup might access invalid memory. we change the embedded Rendez
structure in the Mntrpc into a pointer to the sleeping procs up->sleep
rendez so the rendez is always going to be valid even if the rpc has been
freed.

the call to mntstats was moved before we set q->done also to prevent
accessing invalid memory.
2012-08-24 13:00:14 +02:00
cinap_lenrek 80a5bfc1d8 sdvirtio: be more carefull at wakeup
wakeup cannot access r->sleep once we set r->done because the
sleeper might just return at this point making r invalid. make
a copy of the sleep rendez pointer before setting r->done.
2012-08-24 12:52:34 +02:00
cinap_lenrek 8e5dd37eba ndb/dns: fix memory corruption and bad serveraddrs() range checks 2012-08-22 19:45:29 +02:00
cinap_lenrek 87fca361f7 rio: rect outside screen counts as covered wcovered() 2012-08-22 00:11:42 +02:00
cinap_lenrek 20b4f55603 9bootpxe: try /cfg/pxe/default if /cfg/pxe/$ether fails before breaking to the prompt. 2012-08-21 14:23:52 +02:00
cinap_lenrek be0301f458 calloc: check multiplication overflow 2012-08-19 10:50:39 +02:00
cinap_lenrek feb58cce49 plot(1) manpage corrections 2012-08-19 09:07:59 +02:00
cinap_lenrek 62f5a7e2b7 vncs: cleanup and error handling 2012-08-19 08:57:40 +02:00
cinap_lenrek 7bb4a790d6 webfs: capture error string from tlsClient 2012-08-18 15:10:34 +02:00