]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
11 years agobootrc: fix mistake, god damn it
cinap_lenrek [Thu, 6 Dec 2012 02:46:22 +0000 (03:46 +0100)]
bootrc: fix mistake, god damn it

11 years agobootrc: reparse all env variables, not just #ec
cinap_lenrek [Thu, 6 Dec 2012 01:03:59 +0000 (02:03 +0100)]
bootrc: reparse all env variables, not just #ec

11 years agonusb/ether: remove debug prints, cleanup
cinap_lenrek [Wed, 5 Dec 2012 23:31:25 +0000 (00:31 +0100)]
nusb/ether: remove debug prints, cleanup

11 years agonusb/ether: remove vid check in smsc driver, cleanup cdc driver
cinap_lenrek [Thu, 6 Dec 2012 22:24:42 +0000 (23:24 +0100)]
nusb/ether: remove vid check in smsc driver, cleanup cdc driver

11 years agonusb(4): document new nusb/ether options
cinap_lenrek [Thu, 6 Dec 2012 22:17:18 +0000 (23:17 +0100)]
nusb(4): document new nusb/ether options

11 years agonusb/ether: port drivers for asix and smsc ethernet
cinap_lenrek [Thu, 6 Dec 2012 22:05:24 +0000 (23:05 +0100)]
nusb/ether: port drivers for asix and smsc ethernet

11 years agoip/ipconfig: automatically find ethernet device on /net if not given
cinap_lenrek [Wed, 5 Dec 2012 13:38:30 +0000 (14:38 +0100)]
ip/ipconfig: automatically find ethernet device on /net if not given

11 years agomove usb ethernet in bootfs.paq
cinap_lenrek [Wed, 5 Dec 2012 12:53:34 +0000 (13:53 +0100)]
move usb ethernet in bootfs.paq

11 years agodevtls: add support for aes_128_cbc and aes_256_cbc (import from sources)
cinap_lenrek [Tue, 4 Dec 2012 09:53:53 +0000 (10:53 +0100)]
devtls: add support for aes_128_cbc and aes_256_cbc (import from sources)

11 years agodevssl: handle bad secretin/secretout ctl arguments (import from sources)
cinap_lenrek [Tue, 4 Dec 2012 09:52:42 +0000 (10:52 +0100)]
devssl: handle bad secretin/secretout ctl arguments (import from sources)

11 years agodevpipe: import pipe wstat() support to change permissions (import from sources)
cinap_lenrek [Tue, 4 Dec 2012 09:40:08 +0000 (10:40 +0100)]
devpipe: import pipe wstat() support to change permissions (import from sources)

11 years agoupas: fix original mail in /sys/src/cmd/upas/misc
cinap_lenrek [Tue, 4 Dec 2012 07:02:50 +0000 (08:02 +0100)]
upas: fix original mail in /sys/src/cmd/upas/misc

11 years agosyscallfmt: fix syscall trace for kw/opamp4
cinap_lenrek [Tue, 4 Dec 2012 06:26:33 +0000 (07:26 +0100)]
syscallfmt: fix syscall trace for kw/opamp4

11 years agoape/mv: check if from path fits and error if too long
cinap_lenrek [Tue, 4 Dec 2012 05:06:28 +0000 (06:06 +0100)]
ape/mv: check if from path fits and error if too long

11 years agokw: syscallfmt() declaration moved to port/portfns.h
cinap_lenrek [Tue, 4 Dec 2012 04:28:38 +0000 (05:28 +0100)]
kw: syscallfmt() declaration moved to port/portfns.h

11 years agopython: fix pgen build for other archs
cinap_lenrek [Tue, 4 Dec 2012 02:05:01 +0000 (03:05 +0100)]
python: fix pgen build for other archs

11 years agoape: fix memory leak and path limit in unlink()
cinap_lenrek [Mon, 3 Dec 2012 18:16:22 +0000 (19:16 +0100)]
ape: fix memory leak and path limit in unlink()

db1 was leaked, and newname could overflow. fixed.

11 years agoape: forgot to set errno in access() for dir create fail
cinap_lenrek [Mon, 3 Dec 2012 17:54:56 +0000 (18:54 +0100)]
ape: forgot to set errno in access() for dir create fail

11 years agoape: fix _grpmems(), access(), getppid(), cleanup
cinap_lenrek [Mon, 3 Dec 2012 17:47:41 +0000 (18:47 +0100)]
ape: fix _grpmems(), access(), getppid(), cleanup

_grpmems() was broken tokenizing group list in place.
we have to copy it to status buffer before tokenizing.

dynamically alloc path for test file to check write
permission on directory and add pid to the name to
prevent races.

use _OPEN instead of ape open to read /dev/ppid in
getppid().

use mode enums instead of numeric constants for _OPEN()
and _CREATE().

11 years ago9boot: truncate long lines instead of producing partial lines from console/plan9.ini
cinap_lenrek [Mon, 3 Dec 2012 15:52:14 +0000 (16:52 +0100)]
9boot: truncate long lines instead of producing partial lines from console/plan9.ini

11 years agoape: putenv, add file :)
cinap_lenrek [Mon, 3 Dec 2012 05:47:01 +0000 (06:47 +0100)]
ape: putenv, add file :)

11 years agoape: fix putenv()
cinap_lenrek [Mon, 3 Dec 2012 05:44:30 +0000 (06:44 +0100)]
ape: fix putenv()

writing /env in putenv() doesnt work. exec will create
new enviroment anyway. we have to modify environ array!

11 years agoape: fix more bugs, use /env and /proc instead of #e and #p, cleanup
cinap_lenrek [Mon, 3 Dec 2012 04:35:33 +0000 (05:35 +0100)]
ape: fix more bugs, use /env and /proc instead of #e and #p, cleanup

remove envname length limitation in _envsetup()
by using allocated buffer and use /env instead of #e

use /proc and getpid() instead of #p and #c in
readprocfdinit()

fix buffer overflow in execlp(), check if name
of failed exec starts with / . or is \0

make sure not to close our own filedescriptors
for FD_CLOEXEC in execve(), fix wrong length
check for flushing buffer to /env/_fdinfo.
fix error handling cases. copy the enviroment
before decoding \1 to \0 because the strings in
environ[] array might not be writable.

remove bogus close if we fail to open ppid file
in getppid() and use /dev/ppid instead of #c/ppid

11 years agoape: initialize _tos and use _tos->pid for getpid()
cinap_lenrek [Mon, 3 Dec 2012 04:22:21 +0000 (05:22 +0100)]
ape: initialize _tos and use _tos->pid for getpid()

11 years ago/lib/greg: Ebios[]
cinap_lenrek [Sun, 2 Dec 2012 12:41:40 +0000 (13:41 +0100)]
/lib/greg: Ebios[]

11 years agoape: fix buffer overflow in _envsetup()
cinap_lenrek [Sun, 2 Dec 2012 11:32:23 +0000 (12:32 +0100)]
ape: fix buffer overflow in _envsetup()

11 years agosdiahci: fix staggered spinup wait loop, fix confusion
cinap_lenrek [Sun, 2 Dec 2012 03:50:37 +0000 (04:50 +0100)]
sdiahci: fix staggered spinup wait loop, fix confusion

setting Asud in the cmd register is not needed, because
Apwr is (Asud|Apod) already. the problem really was that
the drive comes up with sstatus Spresent (001), so we never
spun it up because (p->sstatus & Sphylink) == 0 was never
met (Sphylink being a mask (011) overlaping Spresent bit).

the spinup wait loop has to run only for the staggered spinup
case (h->cap & Hss) and it should wait for the drive to be
detected by the phy, not just cold presence detect.

11 years agosdiahci: make drive dvd drive spinup work, add *ahcidebug= boot parameter
cinap_lenrek [Sun, 2 Dec 2012 00:39:03 +0000 (01:39 +0100)]
sdiahci: make drive dvd drive spinup work, add *ahcidebug= boot parameter

thinkpad r400 dvd drive was not recognized. port status
indicated present device but no Sphylink because the
device did not spin up. setting the Asud bit in ahciconfigdrive()
made it come up clean.

add scsciverify() call in iaverify() for atapi inquiry.

keep in some of the debug prints and add a *ahcidebug= boot
parameter to enable them.

11 years agonusb/kb: fix 5ms sleep polling in repeatproc, notegroup, cleanup
cinap_lenrek [Fri, 30 Nov 2012 18:01:59 +0000 (19:01 +0100)]
nusb/kb: fix 5ms sleep polling in repeatproc, notegroup, cleanup

fix repeatproc timeout handling, add constants for Kbdelay
and Kbrepeat.

set procname so one knows which is keyboard and which is mouse
and on what endpoints they work.

9front's /dev/mousein and /dev/kbdin allow multiple opens,
so theres no need for the refcounted Kin structures.

spawn the worker procs in ther own note group, so they wont
get killed on interrupt in the original notegroup.

11 years agoupas/ned: fix M command
cinap_lenrek [Fri, 30 Nov 2012 14:13:23 +0000 (15:13 +0100)]
upas/ned: fix M command

11 years agonusb/kb: add support for evoluent vertical mouse
cinap_lenrek [Fri, 30 Nov 2012 03:02:03 +0000 (04:02 +0100)]
nusb/kb: add support for evoluent vertical mouse

11 years agoupas/fs: fix tlsClient() memory leaks
cinap_lenrek [Wed, 28 Nov 2012 07:51:50 +0000 (08:51 +0100)]
upas/fs: fix tlsClient() memory leaks

11 years agousbehci: route ports to all ehci controllers, not just the first
cinap_lenrek [Wed, 28 Nov 2012 06:35:28 +0000 (07:35 +0100)]
usbehci: route ports to all ehci controllers, not just the first

i belive the seizing up was a side effect of broken
bios handover. ehci will not work on the other controllers
if we do not route the ports to them.

11 years agoaudiohda: add pci vid/did for lenovo thinkpad x230t
cinap_lenrek [Wed, 28 Nov 2012 00:20:58 +0000 (01:20 +0100)]
audiohda: add pci vid/did for lenovo thinkpad x230t

11 years agoupas: handle Bcc: header
cinap_lenrek [Tue, 27 Nov 2012 20:10:55 +0000 (21:10 +0100)]
upas: handle Bcc: header

when -8 flag is given, upas/marshal override To:, Cc: and Bcc: headers.
add -B option for Bcc. it is also now valid to pass recipient list
on upas/marshal arguments and have -8 flag set. make nedmail and
/rc/bin/mail call upas/marshal with -8 now to make it effective.

11 years agoreverting string "general purpose password" braindamage
cinap_lenrek [Tue, 27 Nov 2012 21:07:34 +0000 (22:07 +0100)]
reverting string "general purpose password" braindamage

11 years agopasswd: improved message
glenda [Tue, 27 Nov 2012 14:16:10 +0000 (14:16 +0000)]
passwd: improved message

11 years agosysinfo: -m handle e-mail from unconfigured systems
stanley lieber [Mon, 26 Nov 2012 22:38:25 +0000 (16:38 -0600)]
sysinfo: -m handle e-mail from unconfigured systems

11 years agonusb/kb: skip 0x01 lead byte hack, you dont wanna know
cinap_lenrek [Sun, 25 Nov 2012 21:37:53 +0000 (22:37 +0100)]
nusb/kb: skip 0x01 lead byte hack, you dont wanna know

apparently, some mouse send constant 0x01 byte
before normal 4 byte mouse packet. this is known in
openbsd/freebsd as UQ_MS_LEADING_BYTE quirk.

11 years agousbehci: fix broken bios takeover
cinap_lenrek [Sun, 25 Nov 2012 15:24:10 +0000 (16:24 +0100)]
usbehci: fix broken bios takeover

bios takeover was broken. bad Ceecpmask (was 8, should be 0xFF)
causing it to miss the legacy control ecap and properly take
overship of the controller. also the order seems wrong, we
have to takeover before we do anything with the controller.

remove the pci config space 0xc0 = 0x2000 write. this the
uhci legacy register. its not anywhere in the ehci spec.

11 years agousbohci: revert td overrun error handling change from sources
cinap_lenrek [Sat, 24 Nov 2012 15:41:38 +0000 (16:41 +0100)]
usbohci: revert td overrun error handling change from sources

regarding the ohci spec, a overrun td might supply a full
packet of data. this change seemed to have caused nusb/kb to
fail with getting spurious zero byte reads. reverting for now.

11 years agonusb/kb: zero reads, error handling, priority, cleanup
cinap_lenrek [Sat, 24 Nov 2012 15:37:39 +0000 (16:37 +0100)]
nusb/kb: zero reads, error handling, priority, cleanup

handle short reads as errors and retry. this can happen
on ohci and some ps2 to usb converter. it might'v deen caused
by a recent change on sources handling td overrun differently.

fix error handling. have to check f->ep == nil after recovery
and check packet size. also, use f->ep->dfd instead of ptrfd
and kbdfd as it might be different after recovery. make a
setleds() error non fatal.

boost process priority for keyboard and mouse worker processes.

cleanup: use single write() in putmod(), improve error reporting.

11 years agousbohci: implement smm handover, timeouts, donehead dequeue.
cinap_lenrek [Sat, 24 Nov 2012 02:51:57 +0000 (03:51 +0100)]
usbohci: implement smm handover, timeouts, donehead dequeue.

implement SMM emulation driver handover in ohcireset(). this fixes
hang and defunct internal keyboard problems on a acer notebook.

dont spin forever waiting for the controller on soft reset in init().

check both, donehead pointer *and* interrupt status for
processed td event (Wdh) similar to the ohci spec example for
processed tds and unlink immidiately. acknowledge *all* the
interrupt status bits before masking. mask out unhandled
events.

various stuff:

check for christmas light interrupt status (cardbus controller
removed?)

add (missing?) break for Tddataovr error case in qhinterrupt().
(changed on sources, not clear why?)

mask interrupt events on shutdown() (from sources).

11 years agoratrace: fix race conditions and range check
cinap_lenrek [Fri, 23 Nov 2012 19:27:09 +0000 (20:27 +0100)]
ratrace: fix race conditions and range check

the syscallno check in syscallfmt() was wrong. the unsigned
syscall number was cast to an signed integer. so negative
values would pass the check provoking bad memory access from
kernel. the check also has an off by one. one has to check
syscallno >= nsyscalls instead of syscallno > nsyscalls.

access to the p->syscalltrace string was not protected
from modification in devproc. you could awake the process
and cause it to free the string giving an opportunity for
the kernel to access bad memory. or someone could kill the
process (pexit would just free it).

now the string is protected by the usual p->debug qlock. we
also keep the string arround until it is overwritten again
or the process exists. this has the nice side effect that
one can inspect it after the process crashed.

another problem was that our validaddr() would error() instead
of pexiting the current process. the code was changed to only
access up->s.args after it was validated and copied instead of
accessing the user stack directly. this also prevents a sneaky
multithreaded process from chaning the arguments under us.

in case our validaddr() errors, we cannot assume valid user
stack after the waserror() if block. use up->s.arg[0] for the
noted() call to avoid bad access.

11 years agolibmach: fix file permission for map.c
cinap_lenrek [Wed, 21 Nov 2012 23:56:32 +0000 (00:56 +0100)]
libmach: fix file permission for map.c

11 years agohgfs: work in progress stuff...
cinap_lenrek [Wed, 21 Nov 2012 23:02:43 +0000 (00:02 +0100)]
hgfs: work in progress stuff...

11 years agohgfs: remove bogus OTRUNC mode from create() call in fmktemp()
cinap_lenrek [Wed, 21 Nov 2012 18:28:40 +0000 (19:28 +0100)]
hgfs: remove bogus OTRUNC mode from create() call in fmktemp()

11 years agohgfs: various improvements
cinap_lenrek [Wed, 21 Nov 2012 18:22:46 +0000 (19:22 +0100)]
hgfs: various improvements

lazily close revlog files and keep up to 8
revlogs arround. also cache the latest extracted
file descriptor of a revision in the revlog.
this avoids the quite expensive reextracting/patching
when we reopen the same file revision.

dont use the racy mktemp()/create, instead create
a uniqueue name and create with OEXCL. this also
avoids a bunch of access() calls.

fix eof case and use pread() in fcopy() to avoid the
seeks.

dont modify changelog temp file but simulate trailing
newline instead.

11 years agoderp: handle file type changes
cinap_lenrek [Wed, 21 Nov 2012 14:34:12 +0000 (15:34 +0100)]
derp: handle file type changes

handle cases when files become directories or directories
become files.

11 years agohjfs: eleminate seek syscalls
cinap_lenrek [Sun, 18 Nov 2012 11:53:31 +0000 (12:53 +0100)]
hjfs: eleminate seek syscalls

reduce syscalls by using pread/pwrite instead
of seek/read/write.

11 years agomerge
cinap_lenrek [Sun, 18 Nov 2012 11:02:36 +0000 (12:02 +0100)]
merge

11 years agomerge
cinap_lenrek [Sun, 18 Nov 2012 11:01:16 +0000 (12:01 +0100)]
merge

11 years agohjfs: ORCLOSE parent check, estrdup / erealloc, CHFNOPERM consistency
cinap_lenrek [Sun, 18 Nov 2012 11:00:13 +0000 (12:00 +0100)]
hjfs: ORCLOSE parent check, estrdup / erealloc, CHFNOPERM consistency

check for write premission in the parent directory
for open with ORCLOSE. honor CHFNOPERM not just in
chancreat(), pikeshedd the error handling. added
estrdup()/erealloc() that call sysfatal instead
of returning nil.

11 years agohgfs: work in progress stuff
cinap_lenrek [Sun, 18 Nov 2012 10:54:04 +0000 (11:54 +0100)]
hgfs: work in progress stuff

11 years agomerge
cinap_lenrek [Sun, 18 Nov 2012 00:12:27 +0000 (01:12 +0100)]
merge

11 years agohjfs: fix dump / create
cinap_lenrek [Sat, 17 Nov 2012 23:06:54 +0000 (00:06 +0100)]
hjfs: fix dump / create

getdent() introduced a bug as the qid check fails in
the case when we walk to DUMPROOTQID, but get ROOTQID
in the directory instead.

newentry() getblk(..., GBCREATE) caused the whole
directory to get dumped until it hit a free slot.
we cannot do this because this changes the addresses
of Dentries of files but doesnt update the loctree.

this caused the bogus walks when we hit a different
directory than we expected.

what we do now is the following: newentry() was changed
to never dump anything. it will just read the directory
and return a the address of a free slot or create a
new block having space for one. chancreat() then makes
a loc in the loctree for the free slot, drops the dirent
buffer and calls willmodify() on the new slot. this will
dump the block containing the slot (and possible other
slots) and updates the loctree to the new version.

after that, chancreate() modifies the slot filling the
Dentry. there should be no race, as newentry() skips
slots that have a loc in the loctree.

theres one case where newentry() can dump the block
immidiately when it is called from dump. added new
parameter for that and documented in the comment.

createuserdir() was simplified by just calling chancreat().
to get arround the permission check, a new per channel
flag CHFNOPERM was added.

11 years agofortunes: did anyone at iwp9 give an update about osprey? anyone ask when it'll be...
stanley lieber [Sat, 17 Nov 2012 20:24:01 +0000 (14:24 -0600)]
fortunes: did anyone at iwp9 give an update about osprey? anyone ask when it'll be available?

11 years agohjfs: fix getfree() races, fix very rare buf leak in deltraverse()
cinap_lenrek [Fri, 16 Nov 2012 21:57:43 +0000 (22:57 +0100)]
hjfs: fix getfree() races, fix very rare buf leak in deltraverse()

11 years agohjfs: fix potential deadlock in putloc()
cinap_lenrek [Fri, 16 Nov 2012 18:55:58 +0000 (19:55 +0100)]
hjfs: fix potential deadlock in putloc()

11 years agohjfs: dentry qid checking, prevent newentry() from allocating already in use slot
cinap_lenrek [Fri, 16 Nov 2012 12:42:45 +0000 (13:42 +0100)]
hjfs: dentry qid checking, prevent newentry() from allocating already in use slot

always check if the directory entry qid from the loc still
matches the one on disk before doing anything. helps
catching bugs and is basically equivalent to what cwfs does
with its checktag.

make a haveloc() check in newentry() to make sure we dont
allocate a file slot thats still in use, but deleted.
this seems to fix the NPROC>1 build problems.

11 years agofix spaces
cinap_lenrek [Thu, 15 Nov 2012 18:41:13 +0000 (19:41 +0100)]
fix spaces

11 years agoadd C-Keens tls-client-auth
cinap_lenrek [Thu, 15 Nov 2012 18:32:53 +0000 (19:32 +0100)]
add C-Keens tls-client-auth

This patch adds client TLS authentication to libsec in compliance with
rfc 4346.

A new -c flag has been introduced for tlsclient allowing the user to
specify a certificate in pem(8) format which will be provided to the
server upon request.

A -D debug flag has been introduced to enable debugging output.

The patch has been tested against OpenSSL 0.9.7j 04 May 2006.

It exists today because of the great (debugging) help and insight
provided by Matthias Bauer.

TODOs:

- specification of a certain client key in factotum is not possible at
the moment
- tlssrv should support this too

These will get added in another patch.

The first try to submit this patch failed due to a network error.
Sorry for the duplication!

Kind regards,

Christian

11 years agohjfs: fix more missing dirty marks, error handling, cleanup
cinap_lenrek [Thu, 15 Nov 2012 15:43:35 +0000 (16:43 +0100)]
hjfs: fix more missing dirty marks, error handling, cleanup

11 years agohjfs: fix missing BDELWRI mark in newentry()
cinap_lenrek [Thu, 15 Nov 2012 08:22:13 +0000 (09:22 +0100)]
hjfs: fix missing BDELWRI mark in newentry()

11 years agomerge
cinap_lenrek [Mon, 12 Nov 2012 06:01:25 +0000 (07:01 +0100)]
merge

11 years agotap: various improvements
cinap_lenrek [Mon, 12 Nov 2012 01:12:05 +0000 (02:12 +0100)]
tap: various improvements

dont use sed pipeline for indention, cache process arguments,
get process list once at start.

11 years agossam: add usage
stanley lieber [Sat, 10 Nov 2012 21:24:58 +0000 (21:24 +0000)]
ssam: add usage

11 years agovt: on resize, restore screen using history buffer
cinap_lenrek [Sat, 10 Nov 2012 06:56:39 +0000 (07:56 +0100)]
vt: on resize, restore screen using history buffer

11 years agorio: fix auto compmplete candidates getting read back without prompt
cinap_lenrek [Sat, 10 Nov 2012 01:30:17 +0000 (02:30 +0100)]
rio: fix auto compmplete candidates getting read back without prompt

11 years agokbdfs: send interrupt note in separate proc to prevent potential deadlock
cinap_lenrek [Fri, 9 Nov 2012 16:39:35 +0000 (17:39 +0100)]
kbdfs: send interrupt note in separate proc to prevent potential deadlock

11 years agokbdfs: kill input buffer on interrupt key
cinap_lenrek [Fri, 9 Nov 2012 16:09:20 +0000 (17:09 +0100)]
kbdfs: kill input buffer on interrupt key

11 years agopstree: manpage, print pid in first column, bio, silly walks
cinap_lenrek [Wed, 7 Nov 2012 23:06:54 +0000 (00:06 +0100)]
pstree: manpage, print pid in first column, bio, silly walks

11 years agolimit clunk queue length for cclose()
cinap_lenrek [Wed, 7 Nov 2012 21:04:29 +0000 (22:04 +0100)]
limit clunk queue length for cclose()

dont let the clunk queue grow too large if we are allowed to
block (cclose) as the fileserver might run out of fids.

11 years agopstree: sort children, fix missing close, strip newline from args
cinap_lenrek [Wed, 7 Nov 2012 20:14:41 +0000 (21:14 +0100)]
pstree: sort children, fix missing close, strip newline from args

11 years agofix spurious kproc ppid
cinap_lenrek [Wed, 7 Nov 2012 19:46:30 +0000 (20:46 +0100)]
fix spurious kproc ppid

newproc() didnt zero parentpid and kproc() didnt set it, so
kprocs ended up with random parent pid. this is harmless as
kprocs have no up->parent but it gives confusing results in
pstree(1).

now we zero parentpid in newproc(), and set it in sysrfork()
unless RFNOWAIT has been set.

11 years agoremove tty(1) command as kbdfs now handles interrupts
cinap_lenrek [Wed, 7 Nov 2012 18:04:26 +0000 (19:04 +0100)]
remove tty(1) command as kbdfs now handles interrupts

11 years agodevproc: remove pgrpid == 1 check for notepg open
cinap_lenrek [Wed, 7 Nov 2012 17:57:02 +0000 (18:57 +0100)]
devproc: remove pgrpid == 1 check for notepg open

assuming that this check tried to prevent the hostowner
from killing init, it is silly because init would just
handle the note.

with kbdfs, we actually want to send interrupt note to
the initial process group so instead of working arround
this with rfork(RFNOTEG|RFNAMEG), we remove the check.

11 years agomerge
cinap_lenrek [Tue, 6 Nov 2012 16:21:15 +0000 (17:21 +0100)]
merge

11 years agomake interrupt key (Del) just work in the console
cinap_lenrek [Tue, 6 Nov 2012 16:19:41 +0000 (17:19 +0100)]
make interrupt key (Del) just work in the console

these changes make the interrupt key available in the
console (before rio is started).

kbdfs: will now send a "interrupt" note to its invoking
process group in cooked mode.

bootrc: is now prepared to handle interrupts, mainly to
not accidently spawn a new bootargs prompt.

init: forwards the interrupt to the cpurc/termrc pgrp.

vncs: shields itself from kbdfs notegroup so interrrupt
wont kill the whole vnc session.

11 years agoOops, make exponential function work
iru [Mon, 5 Nov 2012 17:47:13 +0000 (15:47 -0200)]
Oops, make exponential function work

11 years agoAdd exponential function.
iru [Mon, 5 Nov 2012 17:45:10 +0000 (15:45 -0200)]
Add exponential function.

11 years agofplot(1) man page
iru [Mon, 5 Nov 2012 17:38:39 +0000 (15:38 -0200)]
fplot(1) man page

11 years agowikifmt: fix trailing _ in heading name reference
cinap_lenrek [Mon, 5 Nov 2012 02:16:13 +0000 (03:16 +0100)]
wikifmt: fix trailing _ in heading name reference

11 years agoadd google code wiki formatter aux/wikifmt
cinap_lenrek [Mon, 5 Nov 2012 01:39:33 +0000 (02:39 +0100)]
add google code wiki formatter aux/wikifmt

11 years agoderp(1) spelling (thanks pap)
cinap_lenrek [Fri, 2 Nov 2012 21:15:17 +0000 (22:15 +0100)]
derp(1) spelling (thanks pap)

11 years agoadd directory-examining recursive compare derp(1)
cinap_lenrek [Fri, 2 Nov 2012 19:28:12 +0000 (20:28 +0100)]
add directory-examining recursive compare derp(1)

11 years agohgfs: fix metaheader offset for log
cinap_lenrek [Fri, 2 Nov 2012 02:31:55 +0000 (03:31 +0100)]
hgfs: fix metaheader offset for log

11 years agohjfs: fix group permissions for /adm and /adm/users for init
cinap_lenrek [Thu, 1 Nov 2012 15:34:33 +0000 (16:34 +0100)]
hjfs: fix group permissions for /adm and /adm/users for init

11 years agohgfs: strip metadata header, bogus .n walks
cinap_lenrek [Thu, 1 Nov 2012 02:42:24 +0000 (03:42 +0100)]
hgfs: strip metadata header, bogus .n walks

11 years agorio: fix topping a hidden window does not activate the foreground font color
cinap_lenrek [Tue, 30 Oct 2012 22:18:53 +0000 (23:18 +0100)]
rio: fix topping a hidden window does not activate the foreground font color

11 years agohgfs: work in progress stuff...
cinap_lenrek [Mon, 29 Oct 2012 21:00:38 +0000 (22:00 +0100)]
hgfs: work in progress stuff...

11 years agohgfs: more work in progress stuff
cinap_lenrek [Sun, 28 Oct 2012 21:18:38 +0000 (23:18 +0200)]
hgfs: more work in progress stuff

11 years agodevdraw: fix stats for #i/winname (thanks jas)
cinap_lenrek [Sat, 27 Oct 2012 20:27:19 +0000 (22:27 +0200)]
devdraw: fix stats for #i/winname (thanks jas)

11 years agofile: paq, troff, hp pcl, lua, vcard
cinap_lenrek [Fri, 26 Oct 2012 14:06:17 +0000 (16:06 +0200)]
file: paq, troff, hp pcl, lua, vcard

11 years agofix permissiosn for upas and telco rc script
cinap_lenrek [Thu, 25 Oct 2012 16:51:55 +0000 (18:51 +0200)]
fix permissiosn for upas and telco rc script

11 years agofix permissions for auth/(status enable disable)
cinap_lenrek [Thu, 25 Oct 2012 16:25:31 +0000 (18:25 +0200)]
fix permissions for auth/(status enable disable)

11 years agorealemu: fix REP prefix condition
cinap_lenrek [Thu, 25 Oct 2012 04:55:41 +0000 (06:55 +0200)]
realemu: fix REP prefix condition

11 years ago/sys/src/cmd/mk*: add $CLEANFILES to clean and nuke targets
cinap_lenrek [Wed, 24 Oct 2012 23:58:43 +0000 (01:58 +0200)]
/sys/src/cmd/mk*: add $CLEANFILES to clean and nuke targets

11 years agomerge
cinap_lenrek [Wed, 24 Oct 2012 23:07:16 +0000 (01:07 +0200)]
merge

11 years agohgfs: add wip debug command
cinap_lenrek [Wed, 24 Oct 2012 23:05:39 +0000 (01:05 +0200)]
hgfs: add wip debug command