]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
11 years agoircrc(1): fix error
stanley lieber [Thu, 11 Oct 2012 16:34:15 +0000 (11:34 -0500)]
ircrc(1): fix error

11 years agoadd /sys/man/1/ircrc, thanks pap
stanley lieber [Thu, 11 Oct 2012 16:31:40 +0000 (11:31 -0500)]
add /sys/man/1/ircrc, thanks pap

11 years agokernel: try to catch some (rare) mistakes
cinap_lenrek [Thu, 11 Oct 2012 15:29:16 +0000 (17:29 +0200)]
kernel: try to catch some (rare) mistakes

kstrcpy() did not null terminate for < 4 byte buffers. fixed,
but i dont think there is any case where this can happen in
practice.

always set malloctag in kstrdup(), cleanup.

always use ERRMAX bounded kstrcpy() to set up->errstr, q->err
and note[]->msg. paranoia.

instead of silently truncating interface name in netifinit(),
panic the kernel if interface name is too long as this case
is clearly a mistake.

panic kernel when filename is too long for addbootfile() in
devroot. this might happen if your kernel configuration is
messed up.

11 years ago6in4: fix exit status, less strict src filtering, logging (import from sources)
cinap_lenrek [Thu, 11 Oct 2012 11:21:30 +0000 (13:21 +0200)]
6in4: fix exit status, less strict src filtering, logging (import from sources)

11 years agokenrel: simplify image cache by use of ccloseq()
cinap_lenrek [Wed, 10 Oct 2012 06:22:35 +0000 (08:22 +0200)]
kenrel: simplify image cache by use of ccloseq()

11 years agovncv: cleanup
cinap_lenrek [Tue, 9 Oct 2012 14:22:19 +0000 (16:22 +0200)]
vncv: cleanup

11 years agovncv: fork tcs with RFNOWAIT as we dont collect wait message
cinap_lenrek [Tue, 9 Oct 2012 13:26:45 +0000 (15:26 +0200)]
vncv: fork tcs with RFNOWAIT as we dont collect wait message

11 years agovncv: snarfvers race, silly walks, add -l option for clipboard charset
cinap_lenrek [Tue, 9 Oct 2012 13:15:57 +0000 (15:15 +0200)]
vncv: snarfvers race, silly walks, add -l option for clipboard charset

11 years ago/sys/lib/acid/kernel: fix imagecache() and procenv()
cinap_lenrek [Tue, 9 Oct 2012 01:52:18 +0000 (03:52 +0200)]
/sys/lib/acid/kernel: fix imagecache() and procenv()

11 years agomerge
cinap_lenrek [Tue, 9 Oct 2012 01:23:21 +0000 (03:23 +0200)]
merge

11 years ago/sys/lib/acid/kernel: needacid("chan")
cinap_lenrek [Tue, 9 Oct 2012 01:22:28 +0000 (03:22 +0200)]
/sys/lib/acid/kernel: needacid("chan")

11 years agofortunes
aiju [Mon, 8 Oct 2012 20:14:19 +0000 (22:14 +0200)]
fortunes

11 years agonetaudit(8): english
stanley lieber [Mon, 8 Oct 2012 03:06:47 +0000 (22:06 -0500)]
netaudit(8): english

11 years agocontent-driven bullshit
cinap_lenrek [Sun, 7 Oct 2012 23:57:52 +0000 (01:57 +0200)]
content-driven bullshit

11 years agonetaudit changes and manual page
cinap_lenrek [Sun, 7 Oct 2012 22:56:00 +0000 (00:56 +0200)]
netaudit changes and manual page

11 years agohjfs(8): fix wording
stanley lieber [Sun, 7 Oct 2012 20:09:04 +0000 (15:09 -0500)]
hjfs(8): fix wording

11 years agofortunes, rsc, rob: more
stanley lieber [Sun, 7 Oct 2012 19:40:29 +0000 (14:40 -0500)]
fortunes, rsc, rob: more

11 years agoadd /sys/man/8/hjfs
stanley lieber [Sun, 7 Oct 2012 19:39:45 +0000 (14:39 -0500)]
add /sys/man/8/hjfs

11 years agojust-in-time-scale bullshit
cinap_lenrek [Sun, 7 Oct 2012 19:28:58 +0000 (21:28 +0200)]
just-in-time-scale bullshit

11 years agofixed the bullshit in bullshit
aiju [Sun, 7 Oct 2012 16:39:29 +0000 (18:39 +0200)]
fixed the bullshit in bullshit

11 years ago/sys/lib/acid/kernel: fix intrcount()
cinap_lenrek [Sun, 7 Oct 2012 06:03:02 +0000 (08:03 +0200)]
/sys/lib/acid/kernel: fix intrcount()

11 years agohjfs(4): fly your flag
stanley lieber [Sat, 6 Oct 2012 17:27:40 +0000 (12:27 -0500)]
hjfs(4): fly your flag

11 years agofortunes, rob, rsc, theo, troll: updates
stanley lieber [Sat, 6 Oct 2012 16:56:56 +0000 (11:56 -0500)]
fortunes, rob, rsc, theo, troll: updates

11 years agopc kernel: make imagemem maxsize 10% less of mainmem maxsize
cinap_lenrek [Sat, 6 Oct 2012 05:05:08 +0000 (07:05 +0200)]
pc kernel: make imagemem maxsize 10% less of mainmem maxsize

11 years agoadd /sys/man/4/hjfs
stanley lieber [Sat, 6 Oct 2012 03:49:53 +0000 (03:49 +0000)]
add /sys/man/4/hjfs

11 years agotftpfs(4) example typo
cinap_lenrek [Sat, 6 Oct 2012 03:14:46 +0000 (05:14 +0200)]
tftpfs(4) example typo

11 years agohttpfile(4) section name quoting
cinap_lenrek [Sat, 6 Oct 2012 03:13:14 +0000 (05:13 +0200)]
httpfile(4) section name quoting

11 years agopaint(1) fix bad cross reference
cinap_lenrek [Sat, 6 Oct 2012 03:12:07 +0000 (05:12 +0200)]
paint(1) fix bad cross reference

11 years agotftpfs(4): minor corrections
stanley lieber [Sat, 6 Oct 2012 02:25:55 +0000 (21:25 -0500)]
tftpfs(4): minor corrections

11 years agotftpfs: add manpage, add -x option
cinap_lenrek [Sat, 6 Oct 2012 02:14:48 +0000 (04:14 +0200)]
tftpfs: add manpage, add -x option

11 years agolibfis: do not lie about logical sector units
cinap_lenrek [Sat, 6 Oct 2012 20:56:05 +0000 (22:56 +0200)]
libfis: do not lie about logical sector units

11 years agourlencode: encode null bytes
cinap_lenrek [Fri, 5 Oct 2012 21:38:43 +0000 (23:38 +0200)]
urlencode: encode null bytes

11 years agourlencode: fix null byte hexdigit() bug
cinap_lenrek [Fri, 5 Oct 2012 21:30:05 +0000 (23:30 +0200)]
urlencode: fix null byte hexdigit() bug

11 years agourlencode: decode + as space
cinap_lenrek [Fri, 5 Oct 2012 21:21:17 +0000 (23:21 +0200)]
urlencode: decode + as space

11 years agoreplace urlencode with c version that isnt broken for utf-8
cinap_lenrek [Fri, 5 Oct 2012 21:14:23 +0000 (23:14 +0200)]
replace urlencode with c version that isnt broken for utf-8

11 years agoadd /rc/bin/urlencode
stanley lieber [Thu, 4 Oct 2012 19:08:32 +0000 (14:08 -0500)]
add /rc/bin/urlencode

11 years agofixed ream code; added megabyte output to df
aiju [Wed, 3 Oct 2012 16:27:22 +0000 (18:27 +0200)]
fixed ream code; added megabyte output to df

11 years agomerge
cinap_lenrek [Wed, 3 Oct 2012 16:19:17 +0000 (18:19 +0200)]
merge

11 years agoliblex: fix allprint() definition (from sources)
cinap_lenrek [Wed, 3 Oct 2012 16:18:01 +0000 (18:18 +0200)]
liblex: fix allprint() definition (from sources)

11 years agohjfs: debug-chdeind and sync commands added
aiju [Wed, 3 Oct 2012 16:10:56 +0000 (18:10 +0200)]
hjfs: debug-chdeind and sync commands added

11 years agoapply sources patch cc-cpp-c99-comm
cinap_lenrek [Wed, 3 Oct 2012 16:09:53 +0000 (18:09 +0200)]
apply sources patch cc-cpp-c99-comm

When running "?c -p ...", ensure the backend cpp recognizes C++ comments.

2c(1) states that the compilers recognize // comments, and the bare compilers
do.  But if you invoke the compiler with '-p', the backend cpp process
doesn't handle // comments properly unless you also give ?c the undocumented
'-+' option (which it passes through to cpp).

11 years agofixed debug-getblk
aiju [Wed, 3 Oct 2012 16:01:23 +0000 (18:01 +0200)]
fixed debug-getblk

11 years agohjfs debug commands
aiju [Wed, 3 Oct 2012 15:45:58 +0000 (17:45 +0200)]
hjfs debug commands

11 years agofixed potential bug in hjfs
aiju [Wed, 3 Oct 2012 15:23:17 +0000 (17:23 +0200)]
fixed potential bug in hjfs

11 years agoRules of Acqusition 2: Rules of Acquisitioner
Kurt H Maier [Tue, 2 Oct 2012 00:40:38 +0000 (20:40 -0400)]
Rules of Acqusition 2: Rules of Acquisitioner

11 years agoRules of Acquisition
Kurt H Maier [Tue, 2 Oct 2012 00:22:57 +0000 (20:22 -0400)]
Rules of Acquisition

11 years agoupas/marshal: fix usage line and add missing flags to manpage
cinap_lenrek [Mon, 1 Oct 2012 22:37:17 +0000 (00:37 +0200)]
upas/marshal: fix usage line and add missing flags to manpage

11 years agodevproc buffer overflow, strncpy
cinap_lenrek [Mon, 1 Oct 2012 00:52:05 +0000 (02:52 +0200)]
devproc buffer overflow, strncpy

in devproc status read handler the p->status, p->text and p->user
could overflow the local statbuf buffer as they where copied into
it with code like: memmove(statbuf+someoff, p->text, strlen(p->text)).
now using readstr() which will truncate if the string is too long.

make strncpy() usage consistent, make sure results are always null
terminated.

11 years agoguesscpuhz(), apm suspend
cinap_lenrek [Sun, 30 Sep 2012 17:41:34 +0000 (19:41 +0200)]
guesscpuhz(), apm suspend

use fastclock timer (pit2) to measure cpufreq in guesscpuhz(). this
gives a bigger period minimizing the danger of overrun as pit2 runs
at the constant maximum period of 0x10000 ticks. also use smaller
loop increments (1000) and bigger maximum loop upper bound.

move the loops < ... check to the bottom of the loop so we get the
effective count *before* adding the next loop increment.

ilock() while doing measurements in guesscpuhz() to prevent accidents
with other processors reading fastclock or doing guesscpuhz()
in parralel.

export new i8253reset() function for apm to reset the timers after
a apm bios suspend.

11 years agoether82557: timeout for ifstats DumpSC command
cinap_lenrek [Sun, 30 Sep 2012 14:16:20 +0000 (16:16 +0200)]
ether82557: timeout for ifstats DumpSC command

11 years agofix devproc and killbig segment race
cinap_lenrek [Sun, 30 Sep 2012 14:14:27 +0000 (16:14 +0200)]
fix devproc and killbig segment race

we have to acquire p->seglock before we lock the individual
segments of the process and lock them. if we dont then pexit()
might free the segments before we can lock them causing the
"qunlock called with qlock not held, from ..." prints.

11 years agocpuid(8): fix spelling
stanley lieber [Sat, 29 Sep 2012 02:49:12 +0000 (21:49 -0500)]
cpuid(8): fix spelling

11 years agocpuid(8) manpage improments
cinap_lenrek [Sat, 29 Sep 2012 02:12:42 +0000 (04:12 +0200)]
cpuid(8) manpage improments

11 years agocpuid(8) manpage
cinap_lenrek [Sat, 29 Sep 2012 01:57:59 +0000 (03:57 +0200)]
cpuid(8) manpage

11 years ago/lib/troll: linux is slow
Kurt H Maier [Fri, 28 Sep 2012 23:51:03 +0000 (19:51 -0400)]
/lib/troll: linux is slow

11 years agohget: fix usage
stanley lieber [Fri, 28 Sep 2012 21:37:51 +0000 (16:37 -0500)]
hget: fix usage

11 years agomothra: fix select boxes in textview
cinap_lenrek [Thu, 27 Sep 2012 23:53:14 +0000 (01:53 +0200)]
mothra: fix select boxes in textview

11 years agofixed hjfs df
aiju [Thu, 27 Sep 2012 15:08:52 +0000 (17:08 +0200)]
fixed hjfs df

11 years agoreally renamed statw to df
aiju [Thu, 27 Sep 2012 14:26:47 +0000 (16:26 +0200)]
really renamed statw to df

11 years agorenamed statw to df
aiju [Thu, 27 Sep 2012 14:26:28 +0000 (16:26 +0200)]
renamed statw to df

11 years agotrivial mistake
aiju [Thu, 27 Sep 2012 13:10:03 +0000 (15:10 +0200)]
trivial mistake

11 years agohjfs: statw command
aiju [Thu, 27 Sep 2012 13:06:42 +0000 (15:06 +0200)]
hjfs: statw command

11 years agofortunes, rob, rsc: updates
stanley lieber [Wed, 26 Sep 2012 23:52:49 +0000 (18:52 -0500)]
fortunes, rob, rsc: updates

11 years agomothra: fix url snarfing
cinap_lenrek [Wed, 26 Sep 2012 17:32:34 +0000 (19:32 +0200)]
mothra: fix url snarfing

11 years agomothra: display url is page list if no title is available
cinap_lenrek [Wed, 26 Sep 2012 17:21:04 +0000 (19:21 +0200)]
mothra: display url is page list if no title is available

11 years agomothra: never snarf the "Go:" box
cinap_lenrek [Wed, 26 Sep 2012 17:00:50 +0000 (19:00 +0200)]
mothra: never snarf the "Go:" box

11 years agomothra: dont make all images into links (only in mothmode)
cinap_lenrek [Wed, 26 Sep 2012 16:28:10 +0000 (18:28 +0200)]
mothra: dont make all images into links (only in mothmode)

11 years agolibdraw: enter()/eenter() ^W support - we are getting there
cinap_lenrek [Wed, 26 Sep 2012 15:35:21 +0000 (17:35 +0200)]
libdraw: enter()/eenter() ^W support - we are getting there

11 years agoneed more coffee
cinap_lenrek [Wed, 26 Sep 2012 13:54:25 +0000 (15:54 +0200)]
need more coffee

11 years agolibdraw: fix ^W corner case tick == 0 for enter()/eenter()
cinap_lenrek [Wed, 26 Sep 2012 13:48:57 +0000 (15:48 +0200)]
libdraw: fix ^W corner case tick == 0 for enter()/eenter()

11 years agolibdraw: implement ^W word delete for enter() and eenter()
cinap_lenrek [Wed, 26 Sep 2012 13:31:09 +0000 (15:31 +0200)]
libdraw: implement ^W word delete for enter() and eenter()

11 years agomothra: various improvements
cinap_lenrek [Sun, 23 Sep 2012 23:08:09 +0000 (01:08 +0200)]
mothra: various improvements

* disallow snarf on password entries
* remove current title label as it is displayed in the page list (redundant)
* avoid redrawing page list just to update the title
* check if the chan changed for backup bitmap in pl_rtdraw()

11 years agomothra: cache backup bitmap in pl_rtdraw()
cinap_lenrek [Mon, 24 Sep 2012 21:32:57 +0000 (23:32 +0200)]
mothra: cache backup bitmap in pl_rtdraw()

11 years agomothra: forgot to add snarf.c
cinap_lenrek [Mon, 24 Sep 2012 20:50:44 +0000 (22:50 +0200)]
mothra: forgot to add snarf.c

11 years agomothra: snarf and paste
cinap_lenrek [Sun, 23 Sep 2012 18:14:47 +0000 (20:14 +0200)]
mothra: snarf and paste

11 years agomothra: dont highlight subpanels in textview
cinap_lenrek [Sun, 23 Sep 2012 10:11:21 +0000 (12:11 +0200)]
mothra: dont highlight subpanels in textview

11 years agomothra: fast (offscreen) alpha drawing on scroll
cinap_lenrek [Sun, 23 Sep 2012 02:18:39 +0000 (04:18 +0200)]
mothra: fast (offscreen) alpha drawing on scroll

11 years agomothra: cleanup textview code
cinap_lenrek [Sun, 23 Sep 2012 01:48:29 +0000 (03:48 +0200)]
mothra: cleanup textview code

11 years agomothra: text selection 2nd attempt
cinap_lenrek [Sat, 22 Sep 2012 17:54:33 +0000 (19:54 +0200)]
mothra: text selection 2nd attempt

11 years agomothra: first attempt on text selection
cinap_lenrek [Sat, 22 Sep 2012 15:46:56 +0000 (17:46 +0200)]
mothra: first attempt on text selection

11 years agotftp: prevent it from hanging if ack packets get lost
cinap_lenrek [Thu, 20 Sep 2012 07:33:40 +0000 (09:33 +0200)]
tftp: prevent it from hanging if ack packets get lost

send ACK reply for duplicate data packets in case our ack response
got lost. make sure packets are in sequence and ignore out of
oder packets (except the ones we'v already acked).

11 years agoAdd disk/smart to mkfile
google [Wed, 19 Sep 2012 22:42:17 +0000 (10:42 +1200)]
Add disk/smart to mkfile

11 years agouser: Marko Kostić <marko.m.kostic@gmail.com>
Marko Kostić [Wed, 19 Sep 2012 21:37:47 +0000 (23:37 +0200)]
user: Marko Kostić <marko.m.kostic@gmail.com>
branch 'default'
added sys/lib/kbmap/sr (serbian cyrillic kbmap)
added sys/lib/kbmap/sr@latin (serbian latin kbmap)

11 years agoAdd manpages for atazz and smart
google [Thu, 20 Sep 2012 10:51:20 +0000 (22:51 +1200)]
Add manpages for atazz and smart

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