]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
11 years agoape: fix thread race with close() and select()
cinap_lenrek [Mon, 11 Mar 2013 00:16:34 +0000 (01:16 +0100)]
ape: fix thread race with close() and select()

in ape close(), do the real filedescriptor _CLOSE() *after* we cleared
the _fdinfo[] slot because once closed, we dont own the slot anymore and
another process doing open() can trash the slot. make sure open() retuns
fd < OPEN_MAX.

double check in _startbuf() holding mux->lock if the fd is already buffered
preveting running double copyprocs on a fd.

dont zero the mux->rwant/ewant bitmaps at the end of select() as we do not
hold the mix->lock.

in _closebuf() kill copyproc while holding the mux->lock to make sure the
copyproc isnt holding it at the time it is killed. run kill() multiple times
to make sure the proc is gone.

11 years agoape/malloc: make malloc and free threadsafe for python
cinap_lenrek [Sun, 10 Mar 2013 23:55:26 +0000 (00:55 +0100)]
ape/malloc: make malloc and free threadsafe for python

11 years agoape/stdio: make fopen() quasi threadsafe for python
cinap_lenrek [Sun, 10 Mar 2013 23:48:35 +0000 (00:48 +0100)]
ape/stdio: make fopen() quasi threadsafe for python

python uses processes sharing memory. it requires at least fopen() to
be called by multiple threads at once so we introduce _IO_newfile()
which allocates the FILE structure slot under a lock.

11 years agoape: check for invalid filedescriptors in select()
cinap_lenrek [Sun, 10 Mar 2013 17:35:07 +0000 (18:35 +0100)]
ape: check for invalid filedescriptors in select()

11 years agonusb/disk: add small delay after unit start command (for thinkpad sdcard reader)
cinap_lenrek [Sun, 10 Mar 2013 03:06:42 +0000 (04:06 +0100)]
nusb/disk: add small delay after unit start command (for thinkpad sdcard reader)

diskparts fails on thinkpad x200 sdcard reader if we dont
give the unit some time to startup. the device took about
100ms to become ready so status poll loop with a long
timeout would be overkill.

11 years agoprovide wpa(8) manual page
cinap_lenrek [Sat, 9 Mar 2013 18:18:00 +0000 (19:18 +0100)]
provide wpa(8) manual page

11 years agoaux/wpa: check reply counter only after mic check
cinap_lenrek [Sat, 9 Mar 2013 17:12:49 +0000 (18:12 +0100)]
aux/wpa: check reply counter only after mic check

11 years agoadd wpa key setup program aux/wpa
cinap_lenrek [Sat, 9 Mar 2013 16:33:58 +0000 (17:33 +0100)]
add wpa key setup program aux/wpa

11 years agowifi: add experimental wpa / tkip encryption support
cinap_lenrek [Sat, 9 Mar 2013 16:28:41 +0000 (17:28 +0100)]
wifi: add experimental wpa / tkip encryption support

11 years agofactotum: add wpapsk client authentication
cinap_lenrek [Sat, 9 Mar 2013 16:22:59 +0000 (17:22 +0100)]
factotum: add wpapsk client authentication

11 years agoadded geigerstats
aiju [Fri, 8 Mar 2013 19:51:08 +0000 (20:51 +0100)]
added geigerstats

11 years agofortunes: He wasn't asking about plan9port.
stanley lieber [Thu, 7 Mar 2013 23:34:35 +0000 (18:34 -0500)]
fortunes: He wasn't asking about plan9port.

11 years agoaan: fix structure padding for amd64
cinap_lenrek [Wed, 6 Mar 2013 13:11:21 +0000 (14:11 +0100)]
aan: fix structure padding for amd64

11 years agofltfmt: make %g print decimal numbers less than 1 with a leading zero
ppatience0 [Sun, 3 Mar 2013 19:12:33 +0000 (14:12 -0500)]
fltfmt: make %g print decimal numbers less than 1 with a leading zero

11 years agofltfmt: %.0g should print with one significant figure
ppatience0 [Sun, 3 Mar 2013 18:21:17 +0000 (13:21 -0500)]
fltfmt: %.0g should print with one significant figure

11 years agofltfmt: fix %g not printing as %e in some cases when it should
ppatience0 [Fri, 1 Mar 2013 22:23:26 +0000 (17:23 -0500)]
fltfmt: fix %g not printing as %e in some cases when it should

11 years agonusb/kb: fix "Home" key producing "7" with some usb keyboards (import from sources...
cinap_lenrek [Fri, 1 Mar 2013 18:53:11 +0000 (19:53 +0100)]
nusb/kb: fix "Home" key producing "7" with some usb keyboards (import from sources patch/usb-khome)

Fixes the problem with certain keyboards generating "7" on "Home" key press.

http://9fans.net/archive/2013/03/8
http://9fans.net/archive/2013/03/10

11 years ago6c: fix 32bit pointer truncation (from patch/6c-sugen-types)
cinap_lenrek [Thu, 28 Feb 2013 18:23:54 +0000 (19:23 +0100)]
6c: fix 32bit pointer truncation (from patch/6c-sugen-types)

1. Go group spotted that a slightly-obscured pointer move was done by AMOVL not AMOVQ.
2. Inspecting the code further, I noticed that other pointer types were set to TLONG not TIND,
   causing similar truncation of pointers to 32 bits.

11 years agoape: add PASS_MAX constant for getpass() to limits.h (from patch/ape-pass_max)
cinap_lenrek [Thu, 28 Feb 2013 18:21:03 +0000 (19:21 +0100)]
ape: add PASS_MAX constant for getpass() to limits.h (from patch/ape-pass_max)

add PASS_MAX to limits.h for ape, and make getpass respect it. also increase the size of
the maximum passwords (we use long ones at work). Needed for native port of SVN (in progress).

11 years agotermrc: termrc.local can start ndb/cs for us, so check if its already running
cinap_lenrek [Wed, 27 Feb 2013 17:04:35 +0000 (18:04 +0100)]
termrc: termrc.local can start ndb/cs for us, so check if its already running

11 years agoadd cpurc.local and termrc.local hooks
cinap_lenrek [Wed, 27 Feb 2013 16:59:57 +0000 (17:59 +0100)]
add cpurc.local and termrc.local hooks

11 years agofltfmt: %.ng is supposed to print a number with n significant figures, but it prints...
ppatience0 [Wed, 27 Feb 2013 21:15:18 +0000 (16:15 -0500)]
fltfmt: %.ng is supposed to print a number with n significant figures, but it prints it with n+1. This fixes that behaviour.

11 years agodont use full qualified domain names in example configuration
cinap_lenrek [Wed, 27 Feb 2013 07:18:18 +0000 (08:18 +0100)]
dont use full qualified domain names in example configuration

use shorter sysnames instead of full qualified domain names
so one doesnt have to setup the dns server in the example
configuration.

11 years agocwfs: fix mtime for dump yyyy directories
cinap_lenrek [Mon, 25 Feb 2013 05:11:43 +0000 (06:11 +0100)]
cwfs: fix mtime for dump yyyy directories

11 years agocdproto: only include binaries for $objtype, filter temporary files
cinap_lenrek [Sun, 24 Feb 2013 03:48:12 +0000 (04:48 +0100)]
cdproto: only include binaries for $objtype, filter temporary files

11 years agosdiahci: only wait for drives that are in the process of becoming ready when onlining...
cinap_lenrek [Sat, 23 Feb 2013 13:05:51 +0000 (14:05 +0100)]
sdiahci: only wait for drives that are in the process of becoming ready when onlining, add *noahci option

11 years agolibip: make myetheraddr() accept # device names
cinap_lenrek [Sat, 23 Feb 2013 08:33:04 +0000 (09:33 +0100)]
libip: make myetheraddr() accept # device names

11 years agoether8169: add another RTL8111/8168B mac id
ppatience0 [Fri, 22 Feb 2013 06:14:31 +0000 (01:14 -0500)]
ether8169: add another RTL8111/8168B mac id

11 years agondb(2): fix wrong attr names
ftrvxmtrx [Fri, 22 Feb 2013 21:52:52 +0000 (22:52 +0100)]
ndb(2): fix wrong attr names

11 years agosdiahci: fix mistake
cinap_lenrek [Fri, 22 Feb 2013 12:47:04 +0000 (13:47 +0100)]
sdiahci: fix mistake

11 years agosdiahci: prevent nil pointer dereference on spurious interrupt status
cinap_lenrek [Fri, 22 Feb 2013 11:23:01 +0000 (12:23 +0100)]
sdiahci: prevent nil pointer dereference on spurious interrupt status

on some controllers, we get bogus interrupt indication
for non present drives. ack the irq but ignore.

11 years agoether8169: add RTL8111e mac id (thanks glorfdev for the patch)
cinap_lenrek [Fri, 22 Feb 2013 09:37:47 +0000 (10:37 +0100)]
ether8169: add RTL8111e mac id (thanks glorfdev for the patch)

11 years agomerge
cinap_lenrek [Thu, 21 Feb 2013 15:13:37 +0000 (16:13 +0100)]
merge

11 years agonetif: fix stat() on "stats" and "ifstats" files in network interface
cinap_lenrek [Thu, 21 Feb 2013 15:10:28 +0000 (16:10 +0100)]
netif: fix stat() on "stats" and "ifstats" files in network interface

the kernel would go into endless loop when stating "stats" and "ifstats"
files and the network interface having no connections, or otherwise return
wrong stat info.

11 years agofix the constitution
stanley lieber [Wed, 20 Feb 2013 15:51:15 +0000 (09:51 -0600)]
fix the constitution

11 years agoetheriwl: fix rominit
cinap_lenrek [Tue, 19 Feb 2013 06:57:30 +0000 (07:57 +0100)]
etheriwl: fix rominit

we used use the *last* block in otp block list instead of
the block *before* the last block resulting in wrong eeprom
data (1000er series only)

11 years agoadd wifi link 1000 pci id
khm [Tue, 19 Feb 2013 02:04:19 +0000 (21:04 -0500)]
add wifi link 1000 pci id

11 years ago9boot: fix 9bootiso
cinap_lenrek [Mon, 18 Feb 2013 03:16:33 +0000 (04:16 +0100)]
9boot: fix 9bootiso

rearrange sub.c for putc(), readn(), memcmp(), memmove(), strchr() and strlen()
and uart to fit into the first 2K of the image.

11 years ago9boot: serial console support
cinap_lenrek [Mon, 18 Feb 2013 00:22:29 +0000 (01:22 +0100)]
9boot: serial console support

11 years ago9boot: make print handle \n -> \r\n conversion, style
cinap_lenrek [Sun, 17 Feb 2013 20:48:51 +0000 (21:48 +0100)]
9boot: make print handle \n -> \r\n conversion, style

11 years agofilter(1), nedmail(1): fix typos in both and consistency in nedmail(1)
ppatience0 [Sun, 17 Feb 2013 17:02:14 +0000 (12:02 -0500)]
filter(1), nedmail(1): fix typos in both and consistency in nedmail(1)

11 years agordbio: fix bug where a->user never gets set if Bopen fails.
ppatience0 [Sun, 17 Feb 2013 14:55:03 +0000 (09:55 -0500)]
rdbio: fix bug where a->user never gets set if Bopen fails.

11 years agomerge
ftrvxmtrx [Sun, 17 Feb 2013 11:35:01 +0000 (12:35 +0100)]
merge

11 years agoftpfs: fix wrong comment
ftrvxmtrx [Sun, 17 Feb 2013 11:32:50 +0000 (12:32 +0100)]
ftpfs: fix wrong comment

11 years ago9boot: preserve configuration on boot error, add show command
cinap_lenrek [Sun, 17 Feb 2013 08:30:02 +0000 (09:30 +0100)]
9boot: preserve configuration on boot error, add show command

11 years agoftpfs: do not call getfields after NLST
ftrvxmtrx [Sat, 16 Feb 2013 21:06:26 +0000 (22:06 +0100)]
ftpfs: do not call getfields after NLST

11 years agoetheriwl: simplify
cinap_lenrek [Sat, 16 Feb 2013 20:37:36 +0000 (21:37 +0100)]
etheriwl: simplify

11 years agoetheriwl: add otp rom initialization (for 1000er series, untested)
cinap_lenrek [Sat, 16 Feb 2013 20:16:05 +0000 (21:16 +0100)]
etheriwl: add otp rom initialization (for 1000er series, untested)

11 years agoetheriwl: use first available antenna from eeprom txantmask instead of hardcode to...
cinap_lenrek [Sat, 16 Feb 2013 03:42:42 +0000 (04:42 +0100)]
etheriwl: use first available antenna from eeprom txantmask instead of hardcode to antenna A

11 years agosysinfo: list ethernet devices #l[0-3], fix spaces -> tabs
cinap_lenrek [Sat, 16 Feb 2013 02:52:33 +0000 (03:52 +0100)]
sysinfo: list ethernet devices #l[0-3], fix spaces -> tabs

11 years agoetheriwl: move runtime dc calibration block to proper place
ftrvxmtrx [Sat, 16 Feb 2013 02:28:21 +0000 (03:28 +0100)]
etheriwl: move runtime dc calibration block to proper place

11 years agoetheriwl: support for Centrino Advanced-N 6205
ftrvxmtrx [Sat, 16 Feb 2013 01:56:40 +0000 (02:56 +0100)]
etheriwl: support for Centrino Advanced-N 6205

11 years agotroff macros: change unix /usr/lib paths to plan9 /sys/lib and /usr/bin/col -> /bin/col
cinap_lenrek [Sat, 16 Feb 2013 22:56:17 +0000 (23:56 +0100)]
troff macros: change unix /usr/lib paths to plan9 /sys/lib and /usr/bin/col -> /bin/col

11 years agoboot(8): manpage correction $objtype vs. $cputype (from /n/sources/patch/boot-cputype...
cinap_lenrek [Sat, 16 Feb 2013 22:38:58 +0000 (23:38 +0100)]
boot(8): manpage correction $objtype vs. $cputype (from /n/sources/patch/boot-cputype-objtype)

boot(8) claims that boot will launch /$objtype/init;
that is incorrect. It launches /$cputype/init (so says
both boot.c and cpurc(8)). That's the more sensible
choice. This patch fixes the man page to resolve the
mismatch.

11 years agoetheriwl: avoid leaking blocks when controller breaks
cinap_lenrek [Fri, 15 Feb 2013 21:56:54 +0000 (22:56 +0100)]
etheriwl: avoid leaking blocks when controller breaks

11 years agomerge
cinap_lenrek [Fri, 15 Feb 2013 21:21:45 +0000 (22:21 +0100)]
merge

11 years agoetheriwl: fix bugs, support for Centrino Ultimate-N 6300
cinap_lenrek [Fri, 15 Feb 2013 21:20:25 +0000 (22:20 +0100)]
etheriwl: fix bugs, support for Centrino Ultimate-N 6300

11 years agopci: add intel qm67 pch
ftrvxmtrx [Thu, 14 Feb 2013 00:04:45 +0000 (01:04 +0100)]
pci: add intel qm67 pch

11 years agomerge
ppatience0 [Wed, 13 Feb 2013 12:37:26 +0000 (07:37 -0500)]
merge

11 years agoether8169: support for RTL8111/8168B
ppatience0 [Wed, 13 Feb 2013 12:12:51 +0000 (07:12 -0500)]
ether8169: support for RTL8111/8168B

11 years agoplan9.ini(8): make more clear what firmware file to get for iwl
cinap_lenrek [Wed, 13 Feb 2013 10:03:19 +0000 (11:03 +0100)]
plan9.ini(8): make more clear what firmware file to get for iwl

11 years agoplan9.ini(8): document iwl options
cinap_lenrek [Wed, 13 Feb 2013 09:57:47 +0000 (10:57 +0100)]
plan9.ini(8): document iwl options

11 years agonusb/disk: allow 12 and 16 byte raw scsi commands (from erik quanstro)
cinap_lenrek [Wed, 13 Feb 2013 09:03:53 +0000 (10:03 +0100)]
nusb/disk: allow 12 and 16 byte raw scsi commands (from erik quanstro)

11 years agoetheriwl: dont let transmit change back receiver settings when in promisc mode, cleanup
cinap_lenrek [Wed, 13 Feb 2013 07:23:54 +0000 (08:23 +0100)]
etheriwl: dont let transmit change back receiver settings when in promisc mode, cleanup

11 years agofortunes: Monument To Steve Jobs Goes Up In St. Petersburg
stanley lieber [Tue, 12 Feb 2013 22:43:02 +0000 (16:43 -0600)]
fortunes: Monument To Steve Jobs Goes Up In St. Petersburg

11 years agoetheriwl: support for WiFi Link 4965
cinap_lenrek [Tue, 12 Feb 2013 13:28:22 +0000 (14:28 +0100)]
etheriwl: support for WiFi Link 4965

11 years agowifi: filter SNAP ethernet orgcode only
cinap_lenrek [Mon, 11 Feb 2013 15:02:16 +0000 (16:02 +0100)]
wifi: filter SNAP ethernet orgcode only

11 years agowifi: reset status when clearing essid
cinap_lenrek [Mon, 11 Feb 2013 01:10:36 +0000 (02:10 +0100)]
wifi: reset status when clearing essid

11 years agowifi: clear out ssid in node table entry, cleanup
cinap_lenrek [Mon, 11 Feb 2013 01:02:44 +0000 (02:02 +0100)]
wifi: clear out ssid in node table entry, cleanup

11 years agowifi: actually check if management replies are for us
cinap_lenrek [Mon, 11 Feb 2013 00:29:10 +0000 (01:29 +0100)]
wifi: actually check if management replies are for us

11 years agocreate /lib/firmware in rootstub
cinap_lenrek [Sun, 10 Feb 2013 23:53:51 +0000 (00:53 +0100)]
create /lib/firmware in rootstub

11 years agomerge
cinap_lenrek [Sun, 10 Feb 2013 23:11:28 +0000 (00:11 +0100)]
merge

11 years agoetheriwl: automatic channel scanning, transmission handling, promisc mode
cinap_lenrek [Sun, 10 Feb 2013 23:09:41 +0000 (00:09 +0100)]
etheriwl: automatic channel scanning, transmission handling, promisc mode

the channel= plan9.ini parameter isnt needed anymore as we now
hop the channels to scan for beacons. the status is also indicated
with the link led :-)

handle all these flags on packet transmission like RTS for big
packets and sending data packets to the AP instead of broadcasting
everything.

properly setup bss hardware node table and filtering. now promisc
mode is only used when requested.

handle deauth message from ap.

increase node table to 32 entries.

11 years agomp.h: fix typo
ftrvxmtrx [Sun, 10 Feb 2013 19:46:56 +0000 (20:46 +0100)]
mp.h: fix typo

11 years agofix typo
stanley lieber [Sun, 10 Feb 2013 05:34:15 +0000 (23:34 -0600)]
fix typo

11 years agomerge
cinap_lenrek [Sun, 10 Feb 2013 04:05:40 +0000 (05:05 +0100)]
merge

11 years agoetheriwl: add /lib/firmware to bootfs.paq proto file
cinap_lenrek [Sun, 10 Feb 2013 04:04:31 +0000 (05:04 +0100)]
etheriwl: add /lib/firmware to bootfs.paq proto file

11 years agowifi: lie a bit more about the supported rates to get into more ap's
cinap_lenrek [Sun, 10 Feb 2013 03:55:57 +0000 (04:55 +0100)]
wifi: lie a bit more about the supported rates to get into more ap's

11 years agoadd Intel (R) WiFi Link 5100 AGN, vid/did: 8086/4237
stanley lieber [Sun, 10 Feb 2013 03:54:44 +0000 (21:54 -0600)]
add Intel (R) WiFi Link 5100 AGN, vid/did: 8086/4237

11 years agoetheriwl: implement 4965 firmware bootstrap (untested)
cinap_lenrek [Sun, 10 Feb 2013 00:26:28 +0000 (01:26 +0100)]
etheriwl: implement 4965 firmware bootstrap (untested)

11 years agoetheriwl: check RF-Kill switch on attach
cinap_lenrek [Sat, 9 Feb 2013 23:14:17 +0000 (00:14 +0100)]
etheriwl: check RF-Kill switch on attach

11 years agoetheriwl: fix mistake
cinap_lenrek [Sun, 10 Feb 2013 22:38:08 +0000 (23:38 +0100)]
etheriwl: fix mistake

11 years agoexportfs: applying exportfs-chdir patch (from sources)
cinap_lenrek [Sun, 10 Feb 2013 22:31:26 +0000 (23:31 +0100)]
exportfs: applying exportfs-chdir patch (from sources)

Fix the behavior of exportfs -r.

Check the return of chdir(srv) to prevent exporting accidentally
the current working directory when the directory specified
with option -r doesn't exist.

Also fix at the same time the missing trailing \n in error
messages printed just before exits().

11 years agoetheriwl: work towards supporting other cards than 5300, gather channel information
cinap_lenrek [Sun, 10 Feb 2013 22:02:21 +0000 (23:02 +0100)]
etheriwl: work towards supporting other cards than 5300, gather channel information

11 years agoetheriwl: fix command queue handling
cinap_lenrek [Sat, 9 Feb 2013 18:12:51 +0000 (19:12 +0100)]
etheriwl: fix command queue handling

we have to decrement the queue counter for all tx rings
*including* the command ring 4.

zero the command buffer for the crystal callibration
command.

11 years agoetheriwl: experimental intel wifi link driver
cinap_lenrek [Sat, 9 Feb 2013 02:19:50 +0000 (03:19 +0100)]
etheriwl: experimental intel wifi link driver

11 years agoape: fix bug in access()
ppatience0 [Fri, 8 Feb 2013 23:01:31 +0000 (18:01 -0500)]
ape: fix bug in access()

11 years agocdproto create /sys/log/www
stanley lieber [Mon, 4 Feb 2013 22:56:34 +0000 (16:56 -0600)]
cdproto create /sys/log/www

11 years agoadd !tcp80
stanley lieber [Mon, 4 Feb 2013 22:42:13 +0000 (16:42 -0600)]
add !tcp80

11 years agoadd rc-httpd
stanley lieber [Mon, 4 Feb 2013 22:40:05 +0000 (16:40 -0600)]
add rc-httpd

11 years agocc/lex: do not crash on -I without arg
ftrvxmtrx [Sat, 2 Feb 2013 15:54:09 +0000 (16:54 +0100)]
cc/lex: do not crash on -I without arg

11 years agoaudio: fix delay control, increase default buffer delay to 40ms
cinap_lenrek [Fri, 1 Feb 2013 14:23:38 +0000 (15:23 +0100)]
audio: fix delay control, increase default buffer delay to 40ms

just doing a single sleep isnt enougth, as we get woken
up for every block!

11 years ago6l: eleminate NOP X0 instructions (from eriks 6l-nop-x0 patch)
cinap_lenrek [Thu, 31 Jan 2013 23:15:02 +0000 (00:15 +0100)]
6l: eleminate NOP X0 instructions (from eriks 6l-nop-x0 patch)

erik found that -N left NOPs in that 6l couldn't ignore.
add Xn to the NOP table.

bonanza; cat > fp.c
#include <u.h>
#include <libc.h>
#include <stdio.h>

void
main(void)
{
        double g;

        g = -0.;

        print("%g\n", g);
        printf("%g\n", g);
        exits("");
}
bonanza; 6c -N -FVTw fp.c
bonanza; 6l -o 6.fp fp.6
main: doasm: notfound from=6f to=34 (939)       NOP     ,X0
main: doasm: notfound from=6f to=34 (939)       NOP     ,X0
main: doasm: notfound from=6f to=34 (939)       NOP     ,X0

11 years agohttpd: fix rane requests
cinap_lenrek [Thu, 31 Jan 2013 21:51:21 +0000 (22:51 +0100)]
httpd: fix rane requests

we gave wrong content-length in range requests. r->stop - r->start
is wrong because r->stop is the byte offset of the *last* byte, not
the *next* byte after the last.

11 years agohttpfile: fix range requests
cinap_lenrek [Thu, 31 Jan 2013 21:48:56 +0000 (22:48 +0100)]
httpfile: fix range requests

byte ranges use closed intervals (inclusive first
and last byte offsets)

11 years agousbehci: remove panic() calls from interrupts if stuff isnt ready (spurious interrupts?)
cinap_lenrek [Thu, 31 Jan 2013 22:43:04 +0000 (23:43 +0100)]
usbehci: remove panic() calls from interrupts if stuff isnt ready (spurious interrupts?)

11 years agonusb/kb: increase maximum report descriptor size, non-continuous endpoints (from...
cinap_lenrek [Wed, 30 Jan 2013 19:33:28 +0000 (20:33 +0100)]
nusb/kb: increase maximum report descriptor size, non-continuous endpoints (from richard millars usbmouse-endpoint patch)

Another band-aid fix to the usb mouse driver, to cope with a mouse which has
an interrupt endpoint number 3 but no number 1 or 2, and a report descriptor
more than 128 bytes long.

11 years agolib9p: defer freeing srv for listensrv()
cinap_lenrek [Wed, 30 Jan 2013 09:34:57 +0000 (10:34 +0100)]
lib9p: defer freeing srv for listensrv()

use the Srv.end callback for freeing the srv and closing the
file descriptor of a connection. this makes sure we wont free
the srv while there are still outstanding requests that would
access the srv when doing the respond() call.

11 years agohjfs: fix bogus nodata getbuf() of superblock in createroot() (failed ream race bug)
cinap_lenrek [Wed, 30 Jan 2013 08:38:02 +0000 (09:38 +0100)]
hjfs: fix bogus nodata getbuf() of superblock in createroot() (failed ream race bug)

we used to do getbuf() with nodata flag so it only worked when
we where lucky and got the same in memory block back. this
is uncritical once you have reamed the filesystem, its just
that sometimes ream would fail with "ream successfull, then
hjfs: fsinit: file ./hjfs not found".

11 years agomerge
cinap_lenrek [Wed, 30 Jan 2013 05:30:07 +0000 (06:30 +0100)]
merge