]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
11 years agondb/dns: fix netmkaddr() race, dnlock consistency, strcpy, cleanups
cinap_lenrek [Sat, 25 Aug 2012 23:51:46 +0000 (01:51 +0200)]
ndb/dns: fix netmkaddr() race, dnlock consistency, strcpy, cleanups

11 years agoarchmp: checksum _MP_ structure before use, coherence() and comments (import from...
cinap_lenrek [Sat, 25 Aug 2012 12:06:42 +0000 (14:06 +0200)]
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.

11 years agogames/gb: del instead of f12/o
aiju [Sat, 25 Aug 2012 20:38:32 +0000 (22:38 +0200)]
games/gb: del instead of f12/o

11 years agogames/gb: set audioproc priority
aiju [Sat, 25 Aug 2012 20:33:51 +0000 (22:33 +0200)]
games/gb: set audioproc priority

11 years agogb: pause function
aiju [Sat, 25 Aug 2012 20:13:29 +0000 (22:13 +0200)]
gb: pause function

11 years agofix CUT macro in cpuid
aiju [Fri, 24 Aug 2012 17:19:42 +0000 (19:19 +0200)]
fix CUT macro in cpuid

11 years agoadded aux/cpuid
aiju [Fri, 24 Aug 2012 16:49:25 +0000 (18:49 +0200)]
added aux/cpuid

11 years agofortunes, rob, rsc, troll: updates
stanley lieber [Fri, 24 Aug 2012 15:18:33 +0000 (10:18 -0500)]
fortunes, rob, rsc, troll: updates

11 years agosyscallfmt: use up->syserrstr instead of up->errstr (import from sources)
cinap_lenrek [Fri, 24 Aug 2012 13:53:35 +0000 (15:53 +0200)]
syscallfmt: use up->syserrstr instead of up->errstr (import from sources)

11 years agoguesscpuhz: add sanity checks for virtualbox (import from sources)
cinap_lenrek [Fri, 24 Aug 2012 13:46:21 +0000 (15:46 +0200)]
guesscpuhz: add sanity checks for virtualbox (import from sources)

11 years agoadd unified sigsearch() function to look for bios data structures
cinap_lenrek [Fri, 24 Aug 2012 13:36:56 +0000 (15:36 +0200)]
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.

11 years agowait: always check up->nchild before going to sleep
cinap_lenrek [Fri, 24 Aug 2012 11:11:04 +0000 (13:11 +0200)]
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.

11 years agodevmnt: more carefull wakeup in mountmux
cinap_lenrek [Fri, 24 Aug 2012 11:00:14 +0000 (13:00 +0200)]
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.

11 years agosdvirtio: be more carefull at wakeup
cinap_lenrek [Fri, 24 Aug 2012 10:52:34 +0000 (12:52 +0200)]
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.

11 years agondb/dns: fix memory corruption and bad serveraddrs() range checks
cinap_lenrek [Wed, 22 Aug 2012 17:45:29 +0000 (19:45 +0200)]
ndb/dns: fix memory corruption and bad serveraddrs() range checks

11 years agorio: rect outside screen counts as covered wcovered()
cinap_lenrek [Tue, 21 Aug 2012 22:11:42 +0000 (00:11 +0200)]
rio: rect outside screen counts as covered wcovered()

11 years ago9bootpxe: try /cfg/pxe/default if /cfg/pxe/$ether fails before breaking to the prompt.
cinap_lenrek [Tue, 21 Aug 2012 12:23:52 +0000 (14:23 +0200)]
9bootpxe: try /cfg/pxe/default if /cfg/pxe/$ether fails before breaking to the prompt.

11 years agocalloc: check multiplication overflow
cinap_lenrek [Sun, 19 Aug 2012 08:50:39 +0000 (10:50 +0200)]
calloc: check multiplication overflow

11 years agoplot(1) manpage corrections
cinap_lenrek [Sun, 19 Aug 2012 07:07:59 +0000 (09:07 +0200)]
plot(1) manpage corrections

11 years agovncs: cleanup and error handling
cinap_lenrek [Sun, 19 Aug 2012 06:57:40 +0000 (08:57 +0200)]
vncs: cleanup and error handling

11 years agowebfs: capture error string from tlsClient
cinap_lenrek [Sat, 18 Aug 2012 13:10:34 +0000 (15:10 +0200)]
webfs: capture error string from tlsClient

11 years agolibsec: add sha256WithRSAEncryption signature alg
cinap_lenrek [Sat, 18 Aug 2012 13:09:02 +0000 (15:09 +0200)]
libsec: add sha256WithRSAEncryption signature alg

11 years agopccpuf: add vgaradeon
cinap_lenrek [Fri, 17 Aug 2012 17:03:26 +0000 (19:03 +0200)]
pccpuf: add vgaradeon

11 years agolib/profile: remove startupasfs, start rio as subprocess so we drop to rc if it fails...
cinap_lenrek [Fri, 17 Aug 2012 16:19:03 +0000 (18:19 +0200)]
lib/profile: remove startupasfs, start rio as subprocess so we drop to rc if it fails (no framebuffer), drawterm

11 years agowebcookies: create $home/lib/webcookies as 0600
cinap_lenrek [Fri, 17 Aug 2012 16:14:34 +0000 (18:14 +0200)]
webcookies: create $home/lib/webcookies as 0600

11 years agopckernel: use constants instead of hardcoding cpuid bits in various places
cinap_lenrek [Fri, 17 Aug 2012 02:03:51 +0000 (04:03 +0200)]
pckernel: use constants instead of hardcoding cpuid bits in various places

11 years agomothra: bruteforce image src= attribute
cinap_lenrek [Thu, 16 Aug 2012 07:03:57 +0000 (09:03 +0200)]
mothra: bruteforce image src= attribute

11 years agorio: fix mistake
cinap_lenrek [Thu, 16 Aug 2012 04:57:58 +0000 (06:57 +0200)]
rio: fix mistake

11 years agorio: add some tolerance when declaring windows covered
cinap_lenrek [Thu, 16 Aug 2012 04:32:34 +0000 (06:32 +0200)]
rio: add some tolerance when declaring windows covered

11 years agorio: add covered (burried) windows to the menu3 hidden window list
cinap_lenrek [Thu, 16 Aug 2012 02:00:32 +0000 (04:00 +0200)]
rio: add covered (burried) windows to the menu3 hidden window list

11 years agomothra: handle misplaced trailing quotes
cinap_lenrek [Wed, 15 Aug 2012 11:15:34 +0000 (13:15 +0200)]
mothra: handle misplaced trailing quotes

11 years agojpg: ignore sampling factors for grayscale as colormap1() doesnt handle it
cinap_lenrek [Tue, 14 Aug 2012 03:36:05 +0000 (05:36 +0200)]
jpg: ignore sampling factors for grayscale as colormap1() doesnt handle it

11 years agoremove 9/pc/boot.fs file
cinap_lenrek [Tue, 14 Aug 2012 01:54:26 +0000 (03:54 +0200)]
remove 9/pc/boot.fs file

11 years agonusb/kb: increase mouse packet buffer from 32 to 64 bytes for Microsoft Sidewinder...
cinap_lenrek [Mon, 13 Aug 2012 08:41:02 +0000 (10:41 +0200)]
nusb/kb: increase mouse packet buffer from 32 to 64 bytes for Microsoft Sidewinder X5 Mouse (thanks Rexford Gibbs for reporting and testing)

11 years agohg: hook system_rcpath and user_rcpath instead of polluting enviroment by setting...
cinap_lenrek [Mon, 13 Aug 2012 07:53:04 +0000 (09:53 +0200)]
hg: hook system_rcpath and user_rcpath instead of polluting enviroment by setting HGRCPATH

11 years agomerge
cinap_lenrek [Sun, 12 Aug 2012 18:26:38 +0000 (20:26 +0200)]
merge

11 years agopage: fix drawpage race
cinap_lenrek [Sun, 12 Aug 2012 18:25:22 +0000 (20:25 +0200)]
page: fix drawpage race

11 years agogreg
aiju [Sat, 11 Aug 2012 16:46:11 +0000 (16:46 +0000)]
greg

11 years agoinst: ask to ream the filesystem in mounthjfs
cinap_lenrek [Sat, 11 Aug 2012 11:02:31 +0000 (13:02 +0200)]
inst: ask to ream the filesystem in mounthjfs

11 years agohjfs: fix tabs (damn google code editor)
cinap_lenrek [Sat, 11 Aug 2012 10:41:49 +0000 (12:41 +0200)]
hjfs: fix tabs (damn google code editor)

11 years agodisallow walk on open chans
aiju [Sat, 11 Aug 2012 10:40:48 +0000 (10:40 +0000)]
disallow walk on open chans

11 years agoadd hjfs to the dontkill list
cinap_lenrek [Sat, 11 Aug 2012 10:22:13 +0000 (12:22 +0200)]
add hjfs to the dontkill list

11 years agohjfs: fix permcheck bug
cinap_lenrek [Sat, 11 Aug 2012 10:02:05 +0000 (12:02 +0200)]
hjfs: fix permcheck bug

11 years agogreg
aiju [Fri, 10 Aug 2012 21:55:44 +0000 (21:55 +0000)]
greg

11 years agovgaclgd542x: support >8bit colors
cinap_lenrek [Fri, 10 Aug 2012 19:03:13 +0000 (21:03 +0200)]
vgaclgd542x: support >8bit colors

11 years agovgavmware: fix hardware acceleration (fill is not available with SVGA2)
cinap_lenrek [Fri, 10 Aug 2012 13:17:27 +0000 (15:17 +0200)]
vgavmware: fix hardware acceleration (fill is not available with SVGA2)

11 years agoacid: fix cvtitoa buffer overflow
cinap_lenrek [Fri, 10 Aug 2012 08:06:23 +0000 (10:06 +0200)]
acid: fix cvtitoa buffer overflow

11 years agofix inst/mountcwfs
cinap_lenrek [Thu, 9 Aug 2012 18:17:51 +0000 (20:17 +0200)]
fix inst/mountcwfs

11 years agoinst/configfs: change spaces into tabs
cinap_lenrek [Thu, 9 Aug 2012 18:13:28 +0000 (20:13 +0200)]
inst/configfs: change spaces into tabs

11 years agomothra: avoid eenter deadlock on resize
cinap_lenrek [Thu, 9 Aug 2012 02:03:33 +0000 (04:03 +0200)]
mothra: avoid eenter deadlock on resize

11 years agopage: simplify locking, avoid eenter deadlock on resize
cinap_lenrek [Thu, 9 Aug 2012 02:03:03 +0000 (04:03 +0200)]
page: simplify locking, avoid eenter deadlock on resize

11 years agolibdraw: improve handling of screen clipr
cinap_lenrek [Thu, 9 Aug 2012 02:02:10 +0000 (04:02 +0200)]
libdraw: improve handling of screen clipr

11 years agoremove double entries
aiju [Wed, 8 Aug 2012 20:48:05 +0000 (20:48 +0000)]
remove double entries

11 years agomerge
cinap_lenrek [Thu, 9 Aug 2012 20:43:46 +0000 (22:43 +0200)]
merge

11 years agomerge
cinap_lenrek [Thu, 9 Aug 2012 20:42:28 +0000 (22:42 +0200)]
merge

11 years agomore gregs
aiju [Thu, 9 Aug 2012 20:39:54 +0000 (22:39 +0200)]
more gregs

11 years agoEgreg history
cinap_lenrek [Thu, 9 Aug 2012 20:39:19 +0000 (22:39 +0200)]
Egreg history

11 years agoadded /lib/greg
aiju [Thu, 9 Aug 2012 20:27:08 +0000 (22:27 +0200)]
added /lib/greg

11 years agogreg fun
aiju [Wed, 8 Aug 2012 20:43:27 +0000 (20:43 +0000)]
greg fun

11 years agoape/mkfile: work arround fake "command line arguments" rule matching
cinap_lenrek [Wed, 8 Aug 2012 19:36:42 +0000 (21:36 +0200)]
ape/mkfile: work arround fake "command line arguments" rule matching

11 years agondb/dns: cleanup
cinap_lenrek [Wed, 8 Aug 2012 17:03:10 +0000 (19:03 +0200)]
ndb/dns: cleanup

11 years agofortunes, rob, theo: updates
stanley lieber [Wed, 8 Aug 2012 14:38:24 +0000 (09:38 -0500)]
fortunes, rob, theo: updates

11 years agopkg(1): add new pkg repo to man page
stanley lieber [Wed, 8 Aug 2012 14:37:53 +0000 (09:37 -0500)]
pkg(1): add new pkg repo to man page

11 years agohjfs: various fixes
aiju [Wed, 8 Aug 2012 08:14:20 +0000 (10:14 +0200)]
hjfs: various fixes

11 years agomore hjfs fixes
aiju [Tue, 7 Aug 2012 22:52:37 +0000 (00:52 +0200)]
more hjfs fixes

11 years agohjfs: various changes
aiju [Wed, 8 Aug 2012 21:14:42 +0000 (23:14 +0200)]
hjfs: various changes

11 years agohjfs: default service name, fshalt
aiju [Tue, 7 Aug 2012 16:43:13 +0000 (18:43 +0200)]
hjfs: default service name, fshalt

11 years agofix inst/bootsetup
aiju [Tue, 7 Aug 2012 16:01:53 +0000 (18:01 +0200)]
fix inst/bootsetup

11 years agoadded hjfs
aiju [Tue, 7 Aug 2012 15:57:04 +0000 (17:57 +0200)]
added hjfs

11 years agoventi: fix possible nil deref in libventi vtgetreq() and cleanup vacfs (import from...
cinap_lenrek [Tue, 7 Aug 2012 14:11:35 +0000 (16:11 +0200)]
venti: fix possible nil deref in libventi vtgetreq() and cleanup vacfs (import from sources)

11 years agoppp: noauth server option (import from sources)
cinap_lenrek [Tue, 7 Aug 2012 13:57:42 +0000 (15:57 +0200)]
ppp: noauth server option (import from sources)

11 years agoadd Echange[] error string
cinap_lenrek [Tue, 7 Aug 2012 05:15:41 +0000 (07:15 +0200)]
add Echange[] error string

11 years agofloppy: fix endless loop when trying to change floppy type on media change
cinap_lenrek [Tue, 7 Aug 2012 05:08:33 +0000 (07:08 +0200)]
floppy: fix endless loop when trying to change floppy type on media change

11 years agolibmach: fix acid -k regression (was broken in r5eeb36d3ddd0)
cinap_lenrek [Tue, 7 Aug 2012 01:48:56 +0000 (03:48 +0200)]
libmach: fix acid -k regression (was broken in r5eeb36d3ddd0)

11 years agounzip/zipfs: skip over variable length comment in end of table of content record
cinap_lenrek [Mon, 6 Aug 2012 00:25:22 +0000 (02:25 +0200)]
unzip/zipfs: skip over variable length comment in end of table of content record

11 years agopci.c: reserve pci membars after assinging them for *nobios= option
cinap_lenrek [Mon, 6 Aug 2012 21:56:10 +0000 (23:56 +0200)]
pci.c: reserve pci membars after assinging them for *nobios= option

11 years agomemory.c: remove unused xmapupa map
cinap_lenrek [Mon, 6 Aug 2012 21:54:52 +0000 (23:54 +0200)]
memory.c: remove unused xmapupa map

11 years agomerge
cinap_lenrek [Sun, 5 Aug 2012 13:51:38 +0000 (15:51 +0200)]
merge

11 years agomerge
cinap_lenrek [Sun, 5 Aug 2012 13:50:42 +0000 (15:50 +0200)]
merge

11 years agoaudioac97: reserve ioport ranges
cinap_lenrek [Sun, 5 Aug 2012 13:49:38 +0000 (15:49 +0200)]
audioac97: reserve ioport ranges

11 years agofixed telnetd
aiju [Sat, 4 Aug 2012 12:52:29 +0000 (14:52 +0200)]
fixed telnetd

11 years agocatclock: properly handle initdraw error instead of crashing
cinap_lenrek [Sat, 4 Aug 2012 00:06:57 +0000 (02:06 +0200)]
catclock: properly handle initdraw error instead of crashing

11 years agocron: snprint, error handling (update from sources)
cinap_lenrek [Fri, 3 Aug 2012 20:50:21 +0000 (22:50 +0200)]
cron: snprint, error handling (update from sources)

11 years agops: cleanup
cinap_lenrek [Thu, 2 Aug 2012 00:53:42 +0000 (02:53 +0200)]
ps: cleanup

11 years agops -n print note group
cinap_lenrek [Thu, 2 Aug 2012 00:47:18 +0000 (02:47 +0200)]
ps -n print note group

11 years agoip: fix assert panic on fragmented icmp echo request (see eriks icmp-frag patch)
cinap_lenrek [Thu, 2 Aug 2012 00:02:10 +0000 (02:02 +0200)]
ip: fix assert panic on fragmented icmp echo request (see eriks icmp-frag patch)

11 years agolibndb: apply eriks dnsquery() ipv6 reverse lookup patch
cinap_lenrek [Wed, 1 Aug 2012 23:25:34 +0000 (01:25 +0200)]
libndb: apply eriks dnsquery() ipv6 reverse lookup patch

11 years agolibmach: add arm64 constants (import from sources)
cinap_lenrek [Thu, 2 Aug 2012 20:23:58 +0000 (22:23 +0200)]
libmach: add arm64 constants (import from sources)

11 years agoformat check for octal fmt strings (import from sources)
cinap_lenrek [Thu, 2 Aug 2012 20:22:57 +0000 (22:22 +0200)]
format check for octal fmt strings (import from sources)

11 years agolibauth: fix authrpc buffer overflow (import from sources)
cinap_lenrek [Thu, 2 Aug 2012 20:22:05 +0000 (22:22 +0200)]
libauth: fix authrpc buffer overflow (import from sources)

11 years agondb: recognize ip6.arpa postfix in mkptrname()
cinap_lenrek [Thu, 2 Aug 2012 20:20:55 +0000 (22:20 +0200)]
ndb: recognize ip6.arpa postfix in mkptrname()

11 years agocb: import updates from sources
cinap_lenrek [Wed, 1 Aug 2012 19:57:13 +0000 (21:57 +0200)]
cb: import updates from sources

11 years agocdfs: pull updates from sources
cinap_lenrek [Wed, 1 Aug 2012 19:34:14 +0000 (21:34 +0200)]
cdfs: pull updates from sources

11 years agofactotum: fix _adgetticket() filedescriptor race, add timeouts to all authserver...
cinap_lenrek [Wed, 1 Aug 2012 17:18:33 +0000 (19:18 +0200)]
factotum: fix _adgetticket() filedescriptor race, add timeouts to all authserver transactions

11 years agokfs: fix read offset integer overflow
cinap_lenrek [Tue, 31 Jul 2012 23:22:01 +0000 (01:22 +0200)]
kfs: fix read offset integer overflow

11 years agocwfs: fix read offset integer overflow
cinap_lenrek [Tue, 31 Jul 2012 23:10:24 +0000 (01:10 +0200)]
cwfs: fix read offset integer overflow

11 years agomake sam jump to changes made by undo
aiju [Wed, 1 Aug 2012 21:14:39 +0000 (23:14 +0200)]
make sam jump to changes made by undo

11 years agovesa: timeout blank/unblank operation if it gets stuck
cinap_lenrek [Wed, 1 Aug 2012 20:56:58 +0000 (22:56 +0200)]
vesa: timeout blank/unblank operation if it gets stuck

11 years agomothra: make emalloc zero memory, fix uninitialized nextline pointer crash
cinap_lenrek [Tue, 31 Jul 2012 07:43:24 +0000 (09:43 +0200)]
mothra: make emalloc zero memory, fix uninitialized nextline pointer crash

11 years agomerge
cinap_lenrek [Mon, 30 Jul 2012 17:12:36 +0000 (19:12 +0200)]
merge