Commit graph

1872 commits

Author SHA1 Message Date
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
cinap_lenrek 56aa8e173f libsec: add sha256WithRSAEncryption signature alg 2012-08-18 15:09:02 +02:00
cinap_lenrek c120dbc777 pccpuf: add vgaradeon 2012-08-17 19:03:26 +02:00
cinap_lenrek 8b93667775 lib/profile: remove startupasfs, start rio as subprocess so we drop to rc if it fails (no framebuffer), drawterm 2012-08-17 18:19:03 +02:00
cinap_lenrek 31ed86ce23 webcookies: create $home/lib/webcookies as 0600 2012-08-17 18:14:34 +02:00
cinap_lenrek 7fdf820589 pckernel: use constants instead of hardcoding cpuid bits in various places 2012-08-17 04:03:51 +02:00
cinap_lenrek 81954dbf25 mothra: bruteforce image src= attribute 2012-08-16 09:03:57 +02:00
cinap_lenrek 2dd17995f1 rio: fix mistake 2012-08-16 06:57:58 +02:00
cinap_lenrek 711557c85e rio: add some tolerance when declaring windows covered 2012-08-16 06:32:34 +02:00
cinap_lenrek 2eb369bb1d rio: add covered (burried) windows to the menu3 hidden window list 2012-08-16 04:00:32 +02:00
cinap_lenrek 3932153299 mothra: handle misplaced trailing quotes 2012-08-15 13:15:34 +02:00
cinap_lenrek 21b5efe962 jpg: ignore sampling factors for grayscale as colormap1() doesnt handle it 2012-08-14 05:36:05 +02:00
cinap_lenrek a8d7bbeeb3 remove 9/pc/boot.fs file 2012-08-14 03:54:26 +02:00
cinap_lenrek 142a77c9dc nusb/kb: increase mouse packet buffer from 32 to 64 bytes for Microsoft Sidewinder X5 Mouse (thanks Rexford Gibbs for reporting and testing) 2012-08-13 10:41:02 +02:00
cinap_lenrek 73e924d847 hg: hook system_rcpath and user_rcpath instead of polluting enviroment by setting HGRCPATH 2012-08-13 09:53:04 +02:00
cinap_lenrek bc666e67f4 merge 2012-08-12 20:26:38 +02:00
cinap_lenrek 2a9b90cf85 page: fix drawpage race 2012-08-12 20:25:22 +02:00
aiju 240b899fc8 greg 2012-08-11 16:46:11 +00:00
cinap_lenrek 929441dd26 inst: ask to ream the filesystem in mounthjfs 2012-08-11 13:02:31 +02:00
cinap_lenrek a1f69ed555 hjfs: fix tabs (damn google code editor) 2012-08-11 12:41:49 +02:00
aiju 3759a4a945 disallow walk on open chans 2012-08-11 10:40:48 +00:00
cinap_lenrek 35ba0d047c add hjfs to the dontkill list 2012-08-11 12:22:13 +02:00
cinap_lenrek 6538711ef0 hjfs: fix permcheck bug 2012-08-11 12:02:05 +02:00
aiju 6f442a9b07 greg 2012-08-10 21:55:44 +00:00
cinap_lenrek 1132aca4f0 vgaclgd542x: support >8bit colors 2012-08-10 21:03:13 +02:00
cinap_lenrek d1f1be9c57 vgavmware: fix hardware acceleration (fill is not available with SVGA2) 2012-08-10 15:17:27 +02:00
cinap_lenrek dbc4833d10 acid: fix cvtitoa buffer overflow 2012-08-10 10:06:23 +02:00
cinap_lenrek 76b93f6c2c fix inst/mountcwfs 2012-08-09 20:17:51 +02:00
cinap_lenrek 286a035b6c inst/configfs: change spaces into tabs 2012-08-09 20:13:28 +02:00
cinap_lenrek 8a53b8192d mothra: avoid eenter deadlock on resize 2012-08-09 04:03:33 +02:00
cinap_lenrek abba8aa7a9 page: simplify locking, avoid eenter deadlock on resize 2012-08-09 04:03:03 +02:00
cinap_lenrek 5cbae621a5 libdraw: improve handling of screen clipr 2012-08-09 04:02:10 +02:00
aiju e5ea2d5151 remove double entries 2012-08-08 20:48:05 +00:00
cinap_lenrek 72158342fc merge 2012-08-09 22:43:46 +02:00
cinap_lenrek 09760aeb9f merge 2012-08-09 22:42:28 +02:00
aiju 931706c9d0 more gregs 2012-08-09 22:39:54 +02:00
cinap_lenrek 8840aeef70 Egreg history 2012-08-09 22:39:19 +02:00