]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
11 years agoAdd Erik Quanstrom's smart tool for ATA SMART.
google [Thu, 20 Sep 2012 10:42:06 +0000 (22:42 +1200)]
Add Erik Quanstrom's smart tool for ATA SMART.

11 years agoAdd Erik Quanstrom's atazz
google [Thu, 20 Sep 2012 10:39:48 +0000 (22:39 +1200)]
Add Erik Quanstrom's atazz

(needed to disable power management/head unload on 2.5" drive)

11 years agotftpd: apply sstallion's tftpd-rfc patch (from sources)
cinap_lenrek [Tue, 18 Sep 2012 16:27:59 +0000 (18:27 +0200)]
tftpd: apply sstallion's tftpd-rfc patch (from sources)

tftpd option handling is not RFC-compliant. This causes picky
clients (such as curl) to fail transfers.

11 years ago5l -H7 (elf) support (import from sources)
cinap_lenrek [Tue, 18 Sep 2012 16:22:38 +0000 (18:22 +0200)]
5l -H7 (elf) support (import from sources)

11 years ago6c: extern register fix (import from patch/6c-extreg)
cinap_lenrek [Tue, 18 Sep 2012 16:18:43 +0000 (18:18 +0200)]
6c: extern register fix (import from patch/6c-extreg)

to make it easy to use normal libraries (such as libdraw, libsec, and libmp)
with the kernel, which uses extern register, don't stray into the external
register set when allocating values to registers.

11 years agobring kernel acid library in sync (import from sources)
cinap_lenrek [Tue, 18 Sep 2012 16:11:16 +0000 (18:11 +0200)]
bring kernel acid library in sync (import from sources)

11 years agofix typo.
google [Wed, 19 Sep 2012 09:13:36 +0000 (21:13 +1200)]
fix typo.

11 years agoEnable busmastering for SCH (Poulsbo) PATA controller.
google [Wed, 19 Sep 2012 09:07:44 +0000 (21:07 +1200)]
Enable busmastering for SCH (Poulsbo) PATA controller.

11 years agoinst: fix typo
cinap_lenrek [Mon, 17 Sep 2012 09:45:25 +0000 (11:45 +0200)]
inst: fix typo

11 years agosdide: make sure bmiba is in i/o port space, not memory
cinap_lenrek [Sun, 16 Sep 2012 14:46:28 +0000 (16:46 +0200)]
sdide: make sure bmiba is in i/o port space, not memory

11 years agorio: single line scroll up/down with holding shift key
cinap_lenrek [Sun, 16 Sep 2012 00:49:41 +0000 (02:49 +0200)]
rio: single line scroll up/down with holding shift key

11 years agovnc use Breadn() instead of Bread()
cinap_lenrek [Sat, 15 Sep 2012 23:47:44 +0000 (01:47 +0200)]
vnc use Breadn() instead of Bread()

11 years agohget -P to read postbody from stdin
cinap_lenrek [Sat, 15 Sep 2012 05:07:19 +0000 (07:07 +0200)]
hget -P to read postbody from stdin

11 years agohget: fix -p to not put a newline into the postbody at the end
cinap_lenrek [Sat, 15 Sep 2012 04:25:32 +0000 (06:25 +0200)]
hget: fix -p to not put a newline into the postbody at the end

11 years agousb: dont give up on unassigned pci irq line in hci driver
cinap_lenrek [Sat, 15 Sep 2012 01:17:17 +0000 (03:17 +0200)]
usb: dont give up on unassigned pci irq line in hci driver

sometimes, the bios does not assign a interrupt line for pci
devices. this should not be fatal in case of mp ineterrupts
as long as there is intpin or msi can be used.

warn in intrenable() if we hit such a interrupt and set
irq to -1 to prevent it from getting enabled on the pic
or as isa interrupt in apic mode.

11 years agoQcoalesce patch to satisfy full read length
cinap_lenrek [Fri, 14 Sep 2012 01:35:15 +0000 (03:35 +0200)]
Qcoalesce patch to satisfy full read length

11 years agothe IRS
aiju [Thu, 13 Sep 2012 16:44:44 +0000 (18:44 +0200)]
the IRS

11 years agomerge
cinap_lenrek [Thu, 13 Sep 2012 07:39:15 +0000 (09:39 +0200)]
merge

11 years agomothra: fix wrong ascent calculation if text element is too large, fix image border...
cinap_lenrek [Thu, 13 Sep 2012 07:37:28 +0000 (09:37 +0200)]
mothra: fix wrong ascent calculation if text element is too large, fix image border layout

11 years agofortunes, rob, troll: the usual
stanley lieber [Wed, 12 Sep 2012 19:37:56 +0000 (14:37 -0500)]
fortunes, rob, troll: the usual

11 years agomothra: special parse mode for <script> as parsetag gets confused by long javascript...
cinap_lenrek [Tue, 11 Sep 2012 05:38:11 +0000 (07:38 +0200)]
mothra: special parse mode for <script> as parsetag gets confused by long javascript lines

11 years agofortunes!
aiju [Mon, 10 Sep 2012 16:10:56 +0000 (18:10 +0200)]
fortunes!

11 years agoadd hungary keyboard map (contributed by bencef)
cinap_lenrek [Mon, 10 Sep 2012 09:01:36 +0000 (11:01 +0200)]
add hungary keyboard map (contributed by bencef)

11 years agolp: HTML table support
cinap_lenrek [Mon, 10 Sep 2012 06:10:30 +0000 (08:10 +0200)]
lp: HTML table support

11 years agoupdate manual pages for lp HTML support
cinap_lenrek [Mon, 10 Sep 2012 06:01:49 +0000 (08:01 +0200)]
update manual pages for lp HTML support

11 years agolp: handle HTML files with html2ms | troff in process/generic
cinap_lenrek [Mon, 10 Sep 2012 05:40:28 +0000 (07:40 +0200)]
lp: handle HTML files with html2ms | troff in process/generic

11 years agomothra: simpler approach to ignoring <script> tags
cinap_lenrek [Mon, 10 Sep 2012 01:09:30 +0000 (03:09 +0200)]
mothra: simpler approach to ignoring <script> tags

11 years agohgwebfs: remove prefixing // from file path
cinap_lenrek [Mon, 10 Sep 2012 20:20:40 +0000 (22:20 +0200)]
hgwebfs: remove prefixing // from file path

11 years agolibaml: store *value* instead of name reference in dest for alias op
cinap_lenrek [Sun, 9 Sep 2012 07:06:37 +0000 (09:06 +0200)]
libaml: store *value* instead of name reference in dest for alias op

11 years agolibaml: implement Alias and Debug instructions
cinap_lenrek [Sat, 8 Sep 2012 15:48:09 +0000 (17:48 +0200)]
libaml: implement Alias and Debug instructions

11 years agoPrint correct sizes in prep autopart.
google [Sun, 9 Sep 2012 05:37:21 +0000 (17:37 +1200)]
Print correct sizes in prep autopart.

11 years agoAdd alignment hints for e512 ATA drives.
google [Sun, 9 Sep 2012 05:22:12 +0000 (17:22 +1200)]
Add alignment hints for e512 ATA drives.

11 years agosupport file:// urls in hgwebfs extension as apparently hg uses them. m(
cinap_lenrek [Fri, 7 Sep 2012 23:55:46 +0000 (01:55 +0200)]
support file:// urls in hgwebfs extension as apparently hg uses them. m(

11 years agofortunes, rob, theo: I wasn't asking about 9front.
stanley lieber [Thu, 6 Sep 2012 15:52:41 +0000 (10:52 -0500)]
fortunes, rob, theo: I wasn't asking about 9front.

11 years agonusb: handle 0 csp value on iface, remove unneeded configdev() calls after getdev()
cinap_lenrek [Thu, 6 Sep 2012 03:25:23 +0000 (05:25 +0200)]
nusb: handle 0 csp value on iface, remove unneeded configdev() calls after getdev()

11 years agousbd: add missing quotefmtinstall
cinap_lenrek [Thu, 6 Sep 2012 02:07:51 +0000 (04:07 +0200)]
usbd: add missing quotefmtinstall

11 years agordbfs(4), no ^t^t on 9front system
cinap_lenrek [Thu, 6 Sep 2012 00:45:15 +0000 (02:45 +0200)]
rdbfs(4), no ^t^t on 9front system

11 years agodevshr: honor noattach
cinap_lenrek [Wed, 5 Sep 2012 23:05:37 +0000 (01:05 +0200)]
devshr: honor noattach

11 years agoPrevent nusb/disk and nusb/kb from blocking nusbrc
google [Thu, 6 Sep 2012 01:15:59 +0000 (13:15 +1200)]
Prevent nusb/disk and nusb/kb from blocking nusbrc

11 years agonusbd: properly handle port detach on hub disconnect
cinap_lenrek [Tue, 4 Sep 2012 22:06:20 +0000 (00:06 +0200)]
nusbd: properly handle port detach on hub disconnect

11 years agousb: fix potential isoread overruns, error instead of panic on isoread in ohci
cinap_lenrek [Mon, 3 Sep 2012 02:23:02 +0000 (04:23 +0200)]
usb: fix potential isoread overruns, error instead of panic on isoread in ohci

11 years agousb: fix isowrite putsamples race
cinap_lenrek [Sun, 2 Sep 2012 23:54:34 +0000 (01:54 +0200)]
usb: fix isowrite putsamples race

11 years agodoom: fix mixbuffer size confusion
cinap_lenrek [Sun, 2 Sep 2012 22:24:27 +0000 (00:24 +0200)]
doom: fix mixbuffer size confusion

11 years agoether82563: fix format string error
cinap_lenrek [Sun, 2 Sep 2012 19:57:10 +0000 (21:57 +0200)]
ether82563: fix format string error

11 years agoin soviet russia greg file expands YOU
aiju [Sun, 2 Sep 2012 13:16:21 +0000 (15:16 +0200)]
in soviet russia greg file expands YOU

11 years agoin soviet russia error can not explain you!
aiju [Sun, 2 Sep 2012 10:05:36 +0000 (10:05 +0000)]
in soviet russia error can not explain you!

11 years agoAdd timeout to eeprom and flash init in ether82563 driver.
google [Mon, 3 Sep 2012 07:23:28 +0000 (19:23 +1200)]
Add timeout to eeprom and flash init in ether82563 driver.

Prevents hang on misidentified or broken cards.

11 years agoAdd Intel 82801JIB ICH10 southbridge
google [Mon, 3 Sep 2012 05:44:30 +0000 (17:44 +1200)]
Add Intel 82801JIB ICH10 southbridge

11 years agoIntel 82567V DOES support jumbo frames, despite claims to the contrary.
google [Mon, 3 Sep 2012 01:40:51 +0000 (13:40 +1200)]
Intel 82567V DOES support jumbo frames, despite claims to the contrary.

11 years agoIntel 82567V does not support jumbo frames.
google [Sat, 1 Sep 2012 23:31:53 +0000 (11:31 +1200)]
Intel 82567V does not support jumbo frames.

11 years agoaudiohda: unsigned vid/rid formating
cinap_lenrek [Sat, 1 Sep 2012 23:02:34 +0000 (01:02 +0200)]
audiohda: unsigned vid/rid formating

11 years agodate: pikeshedding
cinap_lenrek [Sat, 1 Sep 2012 22:18:43 +0000 (00:18 +0200)]
date: pikeshedding

11 years agoFixes previous commit: dc3f9d299b40
google [Sat, 1 Sep 2012 13:06:38 +0000 (01:06 +1200)]
Fixes previous commit: dc3f9d299b40

11 years agoAdd -i flag to date: prints ISO-8601 datestamp
google [Sat, 1 Sep 2012 12:33:39 +0000 (00:33 +1200)]
Add -i flag to date: prints ISO-8601 datestamp
Add -t flag to date: prints ISO-8601 timestamp

11 years agoFix for i82567V-2
google [Sat, 1 Sep 2012 12:27:43 +0000 (00:27 +1200)]
Fix for i82567V-2

11 years agoisodate in libc? revert every commit for great justice!
cinap_lenrek [Sat, 1 Sep 2012 12:12:29 +0000 (14:12 +0200)]
isodate in libc? revert every commit for great justice!

11 years agoAdd prototypes for isotime and isodate. This should have been in the previous commit.
google [Sun, 2 Sep 2012 11:15:15 +0000 (23:15 +1200)]
Add prototypes for isotime and isodate. This should have been in the previous commit.

11 years agoAdd -i and -t options to date for isodate and isotime display.
google [Sun, 2 Sep 2012 11:08:14 +0000 (23:08 +1200)]
Add -i and -t options to date for isodate and isotime display.

11 years agoAdd isotime() and isodate() functions to libc.
google [Sun, 2 Sep 2012 11:05:41 +0000 (23:05 +1200)]
Add isotime() and isodate() functions to libc.

11 years agoFix date formatting in asctime after year 2099.
google [Sun, 2 Sep 2012 10:59:31 +0000 (22:59 +1200)]
Fix date formatting in asctime after year 2099.

11 years agordmsr/wrmsr become tryrdmsr/trywrmsr, we can should check for trap
cinap_lenrek [Fri, 31 Aug 2012 14:48:33 +0000 (16:48 +0200)]
rdmsr/wrmsr become tryrdmsr/trywrmsr, we can should check for trap

11 years agoupas/fs: catch alarm note (used in pop3 code)
cinap_lenrek [Thu, 30 Aug 2012 15:39:22 +0000 (17:39 +0200)]
upas/fs: catch alarm note (used in pop3 code)

11 years agondb/dns: fix mistake
cinap_lenrek [Wed, 29 Aug 2012 18:14:15 +0000 (20:14 +0200)]
ndb/dns: fix mistake

11 years agomerge
cinap_lenrek [Wed, 29 Aug 2012 17:06:12 +0000 (19:06 +0200)]
merge

11 years agondb/dns: bug fixes and massive cleanup
cinap_lenrek [Wed, 29 Aug 2012 17:01:05 +0000 (19:01 +0200)]
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.

11 years agofortunes, troll: epub
stanley lieber [Wed, 29 Aug 2012 03:48:39 +0000 (22:48 -0500)]
fortunes, troll: epub

11 years ago/sys/lib/dist/ndb/common: for god and country, geronimo, geronimo, geronimo
stanley lieber [Wed, 29 Aug 2012 03:46:44 +0000 (22:46 -0500)]
/sys/lib/dist/ndb/common: for god and country, geronimo, geronimo, geronimo

11 years agofixed RFNOMNT
aiju [Mon, 27 Aug 2012 15:50:48 +0000 (17:50 +0200)]
fixed RFNOMNT

11 years agodns: fix rr->srv memory leak in rrcopy, mark rr->sig->signer, dn aging, cleanup
cinap_lenrek [Sun, 26 Aug 2012 19:56:03 +0000 (21:56 +0200)]
dns: fix rr->srv memory leak in rrcopy, mark rr->sig->signer, dn aging, cleanup

11 years agoaudiohda: add intel sch models (thanks puddingpimp on #cat-v for sending a patch)
cinap_lenrek [Sun, 26 Aug 2012 15:16:03 +0000 (17:16 +0200)]
audiohda: add intel sch models (thanks puddingpimp on #cat-v for sending a patch)

11 years agomore netaudit stuff
aiju [Sun, 26 Aug 2012 14:10:01 +0000 (16:10 +0200)]
more netaudit stuff

11 years agofixed netaudit blunder
aiju [Sun, 26 Aug 2012 13:56:16 +0000 (15:56 +0200)]
fixed netaudit blunder

11 years agoadded netaudit
aiju [Sun, 26 Aug 2012 12:15:08 +0000 (14:15 +0200)]
added netaudit

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