]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
11 years agowifi: allow selecting specific access point with bssid= parameter and wifictl command
cinap_lenrek [Sun, 23 Jun 2013 21:54:15 +0000 (23:54 +0200)]
wifi: allow selecting specific access point with bssid= parameter and wifictl command

11 years agowifi: add a debug flag and printing
cinap_lenrek [Sun, 23 Jun 2013 20:09:16 +0000 (22:09 +0200)]
wifi: add a debug flag and printing

add a debug flag that can be set in the ethernet options which
causes status transitions and wifictl messages to be printed.

11 years agowpa: check for eapol v2
ppatience0 [Sat, 22 Jun 2013 17:16:41 +0000 (13:16 -0400)]
wpa: check for eapol v2

11 years agowpa: s/peerwise/pairwise/g, fix bug where p is not incremented after
ppatience0 [Sat, 22 Jun 2013 13:27:56 +0000 (09:27 -0400)]
wpa: s/peerwise/pairwise/g, fix bug where p is not incremented after
reading wpa1oui into w, making the later memcmp with wpatkipoui
bogus.

11 years agoalarm: run checkalarms() only on cpu0 (from eriks alarm-once patch)
cinap_lenrek [Sat, 22 Jun 2013 07:53:14 +0000 (09:53 +0200)]
alarm: run checkalarms() only on cpu0 (from eriks alarm-once patch)

11 years agoapic: eleminate splhi and apictimerlock, per cpu apictimer structure
cinap_lenrek [Sat, 22 Jun 2013 07:50:34 +0000 (09:50 +0200)]
apic: eleminate splhi and apictimerlock, per cpu apictimer structure

the splhi() and apictimerlock in the Mach isnt neccesary, as
portclock always holds the ilock of the per mach timer queue
when calling timerset().

as fastticks() and the portclock timers are all handled on a
per processor basis, i think it should be theoretically possible
for the lapics to run at different frequencies. so we measure
the lapic frequency for each individual lapic and keep them in
a per processor Apictimer structure instead of assuming them
to be the same.

11 years agowifi: add list of setup encryption key ciphers and lengths into ifstats file
cinap_lenrek [Fri, 21 Jun 2013 23:22:57 +0000 (01:22 +0200)]
wifi: add list of setup encryption key ciphers and lengths into ifstats file

it is usefull to see what encryption keys have been
estabished by aux/wpa.

11 years agodevcons: change /dev/kmesg buffer back to normal 16K
cinap_lenrek [Fri, 21 Jun 2013 23:18:27 +0000 (01:18 +0200)]
devcons: change /dev/kmesg buffer back to normal 16K

this makes it consistent with the manual again.

11 years agoapic: fix lapic timer divider (fixes wrong lapic frequency on boot)
cinap_lenrek [Fri, 21 Jun 2013 22:47:24 +0000 (00:47 +0200)]
apic: fix lapic timer divider (fixes wrong lapic frequency on boot)

loading the divider before programming one shot mode *sometimes*
gives the wrong frequency. (X200s got 192Mhz vs. 266Mhz, after
5 boot attempts)

also reload the divider after programming periodic mode. (from
http://wiki.osdev.org/APIC_timer)

11 years agomerge
cinap_lenrek [Fri, 21 Jun 2013 00:49:33 +0000 (02:49 +0200)]
merge

11 years agoreverting *notsc= option, this needs another revision
cinap_lenrek [Fri, 21 Jun 2013 00:49:08 +0000 (02:49 +0200)]
reverting *notsc= option, this needs another revision

11 years agomerge
cinap_lenrek [Fri, 21 Jun 2013 00:48:25 +0000 (02:48 +0200)]
merge

11 years agoreverting guesscpuhz() changes, causes trouble
cinap_lenrek [Fri, 21 Jun 2013 00:46:14 +0000 (02:46 +0200)]
reverting guesscpuhz() changes, causes trouble

11 years agouhtml: fix wrong open error handling (fd 0 != fd 1) (thanks BurnZeZ)
cinap_lenrek [Fri, 21 Jun 2013 00:37:10 +0000 (02:37 +0200)]
uhtml: fix wrong open error handling (fd 0 != fd 1) (thanks BurnZeZ)

11 years agondb/dns: avoid duplicate entries for db records
cinap_lenrek [Fri, 21 Jun 2013 00:27:10 +0000 (02:27 +0200)]
ndb/dns: avoid duplicate entries for db records

dnauthdb() would relabel expired rr's as rr->db == 0 to make
them get garbage collected by dnage(). but this doesnt work
due to dn->keep and also causes the deduplication to fail on
rrattach() as rrattach1() handles rr->dn/rr->auth as separate
name spaces.

this causes duplicate entries in the rr's when ndb gets
gets changed. to fix, we just delete the expired (removed from
ndb) rr's immidiately in dnauthdb() instead of trying trick
dnage() to garbage collect it.

11 years agonusb/ether: fix asixread() invert/shift in wrong order
ppatience0 [Thu, 20 Jun 2013 01:25:08 +0000 (21:25 -0400)]
nusb/ether: fix asixread() invert/shift in wrong order

11 years agodisable tscticks in pc kernel (for now)
cinap_lenrek [Thu, 20 Jun 2013 00:30:17 +0000 (02:30 +0200)]
disable tscticks in pc kernel (for now)

doesnt seem to be reliable. also, separate tsc frequency measurement
and cpu loopconst measurement. turned out with *notsc=, the simplcycles()
calls would mess up loopconst.

11 years agoplan9.ini: add *notsc= option to disable use of TSC as righ resolution clock
cinap_lenrek [Wed, 19 Jun 2013 18:56:01 +0000 (20:56 +0200)]
plan9.ini: add *notsc= option to disable use of TSC as righ resolution clock

we previously used tsc only on cpu kernel. now that
we use it on terminal kernel too, there might be some
surprises ahead.

so make it possible to disable tsc for machines where
the tsc rate is not kept constant across cores or is
dynamically adjusted by power management.

11 years agolibc: fix compiler warning for mips canlock() and _tas()
cinap_lenrek [Wed, 19 Jun 2013 18:18:17 +0000 (20:18 +0200)]
libc: fix compiler warning for mips canlock() and _tas()

11 years agolibdraw: fix allocscreen() memory leak with too many retries (from 9atom)
cinap_lenrek [Wed, 19 Jun 2013 18:13:55 +0000 (20:13 +0200)]
libdraw: fix allocscreen() memory leak with too many retries (from 9atom)

11 years agoacpi: use Tblsz enum instead of sizeof(Tbl) due to alignment, enable use tsc on termi...
cinap_lenrek [Wed, 19 Jun 2013 20:26:27 +0000 (22:26 +0200)]
acpi: use Tblsz enum instead of sizeof(Tbl) due to alignment, enable use tsc on terminal kernel (thank erik)

11 years agoauth/asm12dsa: use fd 0 instead of trying to open /dev/stdin (thanks arpunk)
cinap_lenrek [Wed, 19 Jun 2013 20:07:10 +0000 (22:07 +0200)]
auth/asm12dsa: use fd 0 instead of trying to open /dev/stdin (thanks arpunk)

11 years agolibaml: pikeshedd style, handle division by zero (thanks erik)
cinap_lenrek [Tue, 18 Jun 2013 19:49:19 +0000 (21:49 +0200)]
libaml: pikeshedd style, handle division by zero (thanks erik)

11 years agosmtp: usage for -t flag (thanks erik)
cinap_lenrek [Tue, 18 Jun 2013 18:54:25 +0000 (20:54 +0200)]
smtp: usage for -t flag (thanks erik)

11 years agonusb/ether: fix asixwrite()
cinap_lenrek [Tue, 18 Jun 2013 00:00:05 +0000 (02:00 +0200)]
nusb/ether: fix asixwrite()

invert/shift in wrong order causing low 16 bits to be all ffff...

11 years agolibdraw: avoid moving cursor if we dont have to for menuhit
cinap_lenrek [Tue, 18 Jun 2013 21:23:41 +0000 (23:23 +0200)]
libdraw: avoid moving cursor if we dont have to for menuhit

depending on the font, poping the menu would move your cursor
one pixel down each time (due to division). this is annoying
when using a trackpoint and trying to repeat some operation
over 9000 times.

the cursor should only be moved when the menu is repositioned
to contain it on the screen.

11 years agodevsrv, devshr: wstat permissions
cinap_lenrek [Tue, 18 Jun 2013 20:09:40 +0000 (22:09 +0200)]
devsrv, devshr: wstat permissions

update permissions last in wstat so it will only get changed when there was
no error.

11 years agodevshr: fix wstat, style
cinap_lenrek [Tue, 18 Jun 2013 20:02:07 +0000 (22:02 +0200)]
devshr: fix wstat, style

- same problem with wstat, if we error then owner has been already updated...
- avoid smalloc while holding qlock in wstat, do it before
- pikeshedd style...

11 years agodevsrv: fix wstat(), srvname(), avoid smalloc() while holding srv qlock, style
cinap_lenrek [Mon, 17 Jun 2013 19:58:38 +0000 (21:58 +0200)]
devsrv: fix wstat(), srvname(), avoid smalloc() while holding srv qlock, style

- wstat would half update the Srv data structure if name was too long
- srvname() walked the linked srv list without holding srv qlock
- dont access sp->chan while not holding srv qlock in srvopen()
- dont modify sp->owner while not holding srv qlock in srvcreate()
- avoid smalloc() allocations while holding srv qlock
- style pikeshedding, sorry

11 years agopage: use resizewin() to change window size for gif display
cinap_lenrek [Mon, 17 Jun 2013 06:05:04 +0000 (08:05 +0200)]
page: use resizewin() to change window size for gif display

resizewin() has some extra logic making sure the rect doesnt get too big.
rio would otherwise refuse to create the window and the operation will fail
completely.

11 years agonusb/ether: call sysfatal if dev is nil
ppatience0 [Mon, 17 Jun 2013 00:37:51 +0000 (20:37 -0400)]
nusb/ether: call sysfatal if dev is nil

11 years agoip/ethermedium: drop short packets instead of producing negative size blocks
cinap_lenrek [Mon, 17 Jun 2013 00:28:10 +0000 (02:28 +0200)]
ip/ethermedium: drop short packets instead of producing negative size blocks

on usb ethernet, it can happen that we read truncated packets smaller
than the ethernet header size. this produces a warning in pullupblock()
later like: "pullup negative length packet, called from 0xf0199e46"

11 years agodraw: add badrect() function to reject zero, negative size or orverly huge rectangles
cinap_lenrek [Sun, 16 Jun 2013 17:01:46 +0000 (19:01 +0200)]
draw: add badrect() function to reject zero, negative size or orverly huge rectangles

not checking the rectangle dimensions causes integer overflows
and memory corruption. adding a new badrect() function that checks
for these cases.

11 years agomake filesystem handling of read9pmsg() consistent
cinap_lenrek [Sun, 16 Jun 2013 04:26:31 +0000 (06:26 +0200)]
make filesystem handling of read9pmsg() consistent

11 years agodevmnt: add debug print for convS2M failing, suspecting this causing zero length...
cinap_lenrek [Sun, 16 Jun 2013 04:16:43 +0000 (06:16 +0200)]
devmnt: add debug print for convS2M failing, suspecting this causing zero length writes

11 years agopaint: limit zoom to 12 steps
cinap_lenrek [Sun, 16 Jun 2013 01:23:41 +0000 (03:23 +0200)]
paint: limit zoom to 12 steps

11 years agowpa: fix bug
cinap_lenrek [Sat, 15 Jun 2013 23:20:35 +0000 (01:20 +0200)]
wpa: fix bug

11 years agocrop /lib/face/48x48x8/n/nixie.1 to the right size (was 512x512)
cinap_lenrek [Sat, 15 Jun 2013 23:11:51 +0000 (01:11 +0200)]
crop /lib/face/48x48x8/n/nixie.1 to the right size (was 512x512)

11 years agolibmemdraw: fix drawing to color mapped with alpha chan (m8a8)
cinap_lenrek [Sat, 15 Jun 2013 22:39:31 +0000 (00:39 +0200)]
libmemdraw: fix drawing to color mapped with alpha chan (m8a8)

11 years agoabaco: allow single quotes for ctype attribute (thanks plhk)
cinap_lenrek [Sun, 16 Jun 2013 20:43:09 +0000 (22:43 +0200)]
abaco: allow single quotes for ctype attribute (thanks plhk)

plhk9 → abaco: charset 'utf-8'> not supported
plhk9 → http://plhk.ru/trash/abaco-singlequote.diff makes it go away

11 years agopage: 12 zoom levels should be enougth
cinap_lenrek [Sat, 15 Jun 2013 19:09:27 +0000 (21:09 +0200)]
page: 12 zoom levels should be enougth

making zoom too big just causes pagesize() multiplication to overflow
passing bogus rectangles to allocimage().

11 years agowpa: automatically pick cipher suits from beacon rsne
cinap_lenrek [Sat, 15 Jun 2013 17:02:17 +0000 (19:02 +0200)]
wpa: automatically pick cipher suits from beacon rsne

11 years agondb/cs, ndb/dns: ignore special commands from users different from the one we run...
cinap_lenrek [Fri, 14 Jun 2013 17:20:06 +0000 (19:20 +0200)]
ndb/cs, ndb/dns: ignore special commands from users different from the one we run the service owner

this prevents users like "none" from toggling special options in ndb/dns
and ndb/cs.

11 years agopool: use splaying to balance free node tree
cinap_lenrek [Fri, 14 Jun 2013 15:31:04 +0000 (17:31 +0200)]
pool: use splaying to balance free node tree

use splaytree algorithm to balance the tree of free allocations
as an optimization. the data structures are unchanged by this
optimization.

11 years agordbfs: add -s srvname (from charles forsyth's rdbfs-srvname patch)
cinap_lenrek [Fri, 14 Jun 2013 21:28:59 +0000 (23:28 +0200)]
rdbfs: add -s srvname (from charles forsyth's rdbfs-srvname patch)

Add a -s srvname option to rdbfs, allowing debugging sessions to be shared
or later reattached after disconnection.

11 years agolpdaemon: fix bogus string termination (from sources)
cinap_lenrek [Fri, 14 Jun 2013 21:22:57 +0000 (23:22 +0200)]
lpdaemon: fix bogus string termination (from sources)

11 years agomerge
cinap_lenrek [Thu, 13 Jun 2013 18:08:17 +0000 (20:08 +0200)]
merge

11 years agofpiarm: condok() verfiy before specialop() omap/kw
jpathy [Fri, 14 Jun 2013 18:12:30 +0000 (23:42 +0530)]
fpiarm: condok() verfiy before specialop() omap/kw

11 years agomerge
cinap_lenrek [Wed, 12 Jun 2013 17:39:02 +0000 (19:39 +0200)]
merge

11 years agolibmach: add EMMS for disassembly (8db.c, thanks mischief)
cinap_lenrek [Wed, 12 Jun 2013 17:38:14 +0000 (19:38 +0200)]
libmach: add EMMS for disassembly (8db.c, thanks mischief)

11 years agofortunes: When Do Apps Become Rituals?
stanley lieber [Wed, 12 Jun 2013 17:26:25 +0000 (13:26 -0400)]
fortunes: When Do Apps Become Rituals?

11 years agomerge
cinap_lenrek [Wed, 12 Jun 2013 17:07:47 +0000 (19:07 +0200)]
merge

11 years agosmtp: add SMTPS support (-t)
cinap_lenrek [Wed, 12 Jun 2013 21:39:41 +0000 (23:39 +0200)]
smtp: add SMTPS support (-t)

11 years agoRemove unused fpemu function in omap, kw
jpathy [Tue, 11 Jun 2013 19:47:49 +0000 (01:17 +0530)]
Remove unused fpemu function in omap, kw

11 years agoARM: kernel: add vfp emulator to bcm, teg2, omap, kw
jpathy [Tue, 11 Jun 2013 19:41:41 +0000 (01:11 +0530)]
ARM: kernel: add vfp emulator to bcm, teg2, omap, kw

11 years ago5e: vfp support
jpathy [Mon, 10 Jun 2013 19:00:16 +0000 (00:30 +0530)]
5e: vfp support

11 years agomerge with jpathy
cinap_lenrek [Mon, 10 Jun 2013 18:43:35 +0000 (20:43 +0200)]
merge with jpathy

11 years agoARM: kernel changes make teg2 procfork() call fpuprocfork() and acid fixes for vfp...
jpathy [Mon, 10 Jun 2013 12:37:16 +0000 (18:07 +0530)]
ARM: kernel changes make teg2 procfork() call fpuprocfork() and acid fixes for vfp instruction

11 years agomerge
cinap_lenrek [Sun, 9 Jun 2013 23:13:56 +0000 (01:13 +0200)]
merge

11 years agoacid: fix dumptree() acid function to work in kernel debug, update malloc.acid and...
cinap_lenrek [Sun, 9 Jun 2013 23:13:21 +0000 (01:13 +0200)]
acid: fix dumptree() acid function to work in kernel debug, update malloc.acid and pool.acid files

11 years agokernel: allow sysr1 debugging only for hostowner
cinap_lenrek [Sun, 9 Jun 2013 23:09:52 +0000 (01:09 +0200)]
kernel: allow sysr1 debugging only for hostowner

11 years agohgignore: ignore stuff in /lib/rfc
ppatience0 [Sun, 9 Jun 2013 15:16:33 +0000 (11:16 -0400)]
hgignore: ignore stuff in /lib/rfc

11 years agograbrfc: create /lib/rfc/drafts if it doesn't exist yet
ppatience0 [Sun, 9 Jun 2013 14:57:12 +0000 (10:57 -0400)]
grabrfc: create /lib/rfc/drafts if it doesn't exist yet

11 years agopage: handle interrupt note
cinap_lenrek [Sat, 8 Jun 2013 23:51:19 +0000 (01:51 +0200)]
page: handle interrupt note

11 years agopage: exit on kill note
cinap_lenrek [Sat, 8 Jun 2013 23:36:45 +0000 (01:36 +0200)]
page: exit on kill note

11 years agomerge
cinap_lenrek [Sat, 8 Jun 2013 21:54:47 +0000 (23:54 +0200)]
merge

11 years agoape: fix _main stack setup for arm (_privates and _errnoloc was inside argv)
cinap_lenrek [Sat, 8 Jun 2013 21:53:28 +0000 (23:53 +0200)]
ape: fix _main stack setup for arm (_privates and _errnoloc was inside argv)

11 years agobitcoin stuff
aiju [Fri, 7 Jun 2013 17:43:40 +0000 (19:43 +0200)]
bitcoin stuff

11 years agolibaml: create \_GL name object
cinap_lenrek [Fri, 7 Jun 2013 16:34:28 +0000 (18:34 +0200)]
libaml: create \_GL name object

11 years agono need to disable fpu in execregs, this is done in procsetup() already
cinap_lenrek [Fri, 7 Jun 2013 16:04:59 +0000 (18:04 +0200)]
no need to disable fpu in execregs, this is done in procsetup() already

11 years agoarchacpi: handle multiple SSDT tables
cinap_lenrek [Fri, 7 Jun 2013 16:03:44 +0000 (18:03 +0200)]
archacpi: handle multiple SSDT tables

we cannot assume theres only one instance of an acpi table. some
bios have multiple SSDT tables and we would only find the first
one.

now, we keep a second array to record the physical address of
the table visited by maptable(). load all instances to the
SSDT.

11 years agoplan9.ini(8): typo
ppatience0 [Wed, 5 Jun 2013 23:11:41 +0000 (19:11 -0400)]
plan9.ini(8): typo

11 years agocifs(4): default method is ntlmv2, fix formatting
cinap_lenrek [Wed, 5 Jun 2013 18:35:09 +0000 (20:35 +0200)]
cifs(4): default method is ntlmv2, fix formatting

11 years agoremove iwl-firmware download script, this should be a package
cinap_lenrek [Wed, 5 Jun 2013 18:34:04 +0000 (20:34 +0200)]
remove iwl-firmware download script, this should be a package

11 years agoadded a script to automate downloading and installing of iwl firmware
mveety [Tue, 4 Jun 2013 16:52:18 +0000 (12:52 -0400)]
added a script to automate downloading and installing of iwl firmware

11 years agolibaml: various fixes found by plhk
cinap_lenrek [Tue, 4 Jun 2013 20:11:01 +0000 (22:11 +0200)]
libaml: various fixes found by plhk

- fix bogus execution of Else{} blocks
- always allocate Env in amleval()
- add Sleep() and Stall() instructions
- keep package size for packages with empty body

11 years agotime: fix -older t for relative times to current time (thanks arisawa for pointing...
cinap_lenrek [Mon, 3 Jun 2013 21:49:06 +0000 (23:49 +0200)]
time: fix -older t for relative times to current time (thanks arisawa for pointing out)

from test(1):

          f -older t True if file f is older than (modified before)
                     time t. If t is a integer followed by the letters
                     y(years), M(months), d(days), h(hours),
                     m(minutes), or s(seconds), it represents current
                     time minus the specified time.  If there is no
                     letter, it represents seconds since epoch.  You
                     can also concatenate mixed units.  For example,
                     3d12h means three days and twelve hours ago.

this means *without* [y M d h m s] unit, t is *absolute* time
in seconds since epoch.

11 years agograbrfc: fix null list in concatination when no $dom, just use $sysname
cinap_lenrek [Sun, 2 Jun 2013 02:59:02 +0000 (04:59 +0200)]
grabrfc: fix null list in concatination when no $dom, just use $sysname

11 years agograbrfc: +x
cinap_lenrek [Sun, 2 Jun 2013 02:50:47 +0000 (04:50 +0200)]
grabrfc: +x

11 years agofgui: check if fd is valid before entering new key
ppatience0 [Sat, 1 Jun 2013 23:40:38 +0000 (19:40 -0400)]
fgui: check if fd is valid before entering new key

11 years agoaux/wpa: make sure essid is configured, dont make factotum ask for essid
cinap_lenrek [Sat, 1 Jun 2013 22:24:42 +0000 (00:24 +0200)]
aux/wpa: make sure essid is configured, dont make factotum ask for essid

11 years agomerge
cinap_lenrek [Sun, 2 Jun 2013 21:46:38 +0000 (23:46 +0200)]
merge

11 years agonusb/kb: map button 4 to middle button 2 (for logitech 5 button mouse)
cinap_lenrek [Sun, 2 Jun 2013 21:45:38 +0000 (23:45 +0200)]
nusb/kb: map button 4 to middle button 2 (for logitech 5 button mouse)

11 years agohjfs: ignore atime on wstat
ppatience0 [Sat, 1 Jun 2013 20:56:24 +0000 (16:56 -0400)]
hjfs: ignore atime on wstat

11 years agoauth(2): auth_getkey only takes a single argument: char *params
ppatience0 [Sat, 1 Jun 2013 18:00:19 +0000 (14:00 -0400)]
auth(2): auth_getkey only takes a single argument: char *params

11 years agohgignore: ignore /lib/firmware
ppatience0 [Sat, 1 Jun 2013 17:44:07 +0000 (13:44 -0400)]
hgignore: ignore /lib/firmware

11 years agoreadgif, readjpg: fix incorrect malloc arguments: use sizeof(Rawimage*) instead of...
ppatience0 [Sat, 1 Jun 2013 21:14:50 +0000 (17:14 -0400)]
readgif, readjpg: fix incorrect malloc arguments: use sizeof(Rawimage*) instead of sizeof(Rawimage**) and 2*sizeof(Rawimage*) instead of sizeof(Header)

readtga: switch calloc arguments: nelem is supposed to first, elsize second

11 years ago8c: apply charles forsyth's 8c-cgen64-mul-savereg patch (from sources)
cinap_lenrek [Sat, 1 Jun 2013 16:51:47 +0000 (18:51 +0200)]
8c: apply charles forsyth's 8c-cgen64-mul-savereg patch (from sources)

If 64-bit multiply has to save both AX and DX, it could load the wrong value
into DX; also, biggen shouldn't allocate either AX or DX as temporaries
when using the template for MUL.

11 years agousbdwc: sync with sources (Raspberry Pi Model A support)
cinap_lenrek [Sat, 1 Jun 2013 14:31:58 +0000 (16:31 +0200)]
usbdwc: sync with sources (Raspberry Pi Model A support)

11 years agoinst/ndbsetup: allow setting sysname more than once
cinap_lenrek [Sat, 1 Jun 2013 14:14:53 +0000 (16:14 +0200)]
inst/ndbsetup: allow setting sysname more than once

In the installation, if you run the ndbsetup task n times (n > 1),
the installed /lib/ndb/local will have n sys= entries.

The problem is that ndb(8) will use the first sys= entry found, but
one would expect that the last configuration in the ndbsetup task
would be the active one.

Remove any previous entry in ndbsetup before adding new one.

11 years agomothra: implement link buttons
cinap_lenrek [Sat, 1 Jun 2013 00:42:02 +0000 (02:42 +0200)]
mothra: implement link buttons

a button embedded in a <a> link tag should follow the link
when clicked.

11 years agoether82557: panic() if receive buffer allocation fails on init
cinap_lenrek [Fri, 31 May 2013 23:42:39 +0000 (01:42 +0200)]
ether82557: panic() if receive buffer allocation fails on init

11 years agoether83815: dont raise error() from etherreset
cinap_lenrek [Fri, 31 May 2013 23:40:56 +0000 (01:40 +0200)]
ether83815: dont raise error() from etherreset

can't raise error() without process context. use panic() instead.

11 years ago/lib/1oct1993: Reprinted with corrections, October 2012
stanley lieber [Fri, 31 May 2013 17:49:17 +0000 (13:49 -0400)]
/lib/1oct1993: Reprinted with corrections, October 2012

11 years agopool: do poolcheck when free nodes get corrupted instead of assert
cinap_lenrek [Fri, 31 May 2013 16:55:01 +0000 (18:55 +0200)]
pool: do poolcheck when free nodes get corrupted instead of assert

doing poolcheck should give us better context to figure out
what memory blocks / owners corrupted the blocks after free.

this is for hunting down a memory corruption seen in connection
with usb serial.

11 years agofixed a segfault in auth/as because it didn't check to see if argv[0] and argv[1...
mveety [Thu, 30 May 2013 02:25:57 +0000 (22:25 -0400)]
fixed a segfault in auth/as because it didn't check to see if argv[0] and argv[1] actually had things in them

11 years agohjfs: deal with ORCLOSE in chancreat()
cinap_lenrek [Wed, 29 May 2013 23:58:09 +0000 (01:58 +0200)]
hjfs: deal with ORCLOSE in chancreat()

ORCLOSE was effectively ignored for Tcreate. just setting
CHRCLOSE flag on chan should fix it.

11 years agomerge
cinap_lenrek [Thu, 30 May 2013 21:27:28 +0000 (23:27 +0200)]
merge

11 years agomerge
cinap_lenrek [Thu, 30 May 2013 21:27:07 +0000 (23:27 +0200)]
merge

11 years agokernel: do all fp state fork from procfork() (like pc kernel)
cinap_lenrek [Thu, 30 May 2013 21:26:21 +0000 (23:26 +0200)]
kernel: do all fp state fork from procfork() (like pc kernel)

this simplifies the arm ports and keeps all the stuff in one place
instead of spreading it thru notify(), trap() and syscall() functions
and prevents useless fp state copying for kernel procs.

also make sure to save fp in notify while still splhi().