]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
8 years agofix /lib/keyboard spacing
BurnZeZ [Tue, 1 Mar 2016 22:30:42 +0000 (17:30 -0500)]
fix /lib/keyboard spacing

8 years agoadd a couple runes to /lib/keyboard
BurnZeZ [Tue, 1 Mar 2016 22:29:38 +0000 (17:29 -0500)]
add a couple runes to /lib/keyboard

8 years agoadd bug to yesterday(1), fix /sys/man/3/cons permissions
BurnZeZ [Tue, 1 Mar 2016 20:27:39 +0000 (15:27 -0500)]
add bug to yesterday(1), fix /sys/man/3/cons permissions

8 years agomanpage references/typos
BurnZeZ [Tue, 1 Mar 2016 20:24:07 +0000 (15:24 -0500)]
manpage references/typos

8 years agolibsec: fix verifyDHparams() for version <= TLS1.1
cinap_lenrek [Tue, 1 Mar 2016 10:30:01 +0000 (11:30 +0100)]
libsec: fix verifyDHparams() for version <= TLS1.1

for version <= TLS1.1, there is no sigalg field in the ServerKeyExchange
message and the signature digest algorithm is fixed to md5+sha1 and we
only support RSA signatures (TLS1.1 doesnt know about ECDSA).

8 years agoglenda's default profile: remove /n/other mount, done by /lib/namespace
cinap_lenrek [Sun, 28 Feb 2016 23:25:14 +0000 (00:25 +0100)]
glenda's default profile: remove /n/other mount, done by /lib/namespace

8 years agoauthsrv(2): document _asgetpakkey(), authpak_hash(), authpak_new(), authpak_finish()
cinap_lenrek [Sun, 28 Feb 2016 22:23:05 +0000 (23:23 +0100)]
authsrv(2): document _asgetpakkey(), authpak_hash(), authpak_new(), authpak_finish()

8 years agogames/doom: handle allocimage() failure
cinap_lenrek [Sun, 28 Feb 2016 10:44:53 +0000 (11:44 +0100)]
games/doom: handle allocimage() failure

8 years agolibsec: have 16 32-bit words in DigestState to avoid out of bounds warnings for poly1305
cinap_lenrek [Sun, 28 Feb 2016 08:09:41 +0000 (09:09 +0100)]
libsec: have 16 32-bit words in DigestState to avoid out of bounds warnings for poly1305

8 years agodevdraw: remove unused Edepth[]
cinap_lenrek [Sun, 28 Feb 2016 02:06:42 +0000 (03:06 +0100)]
devdraw: remove unused Edepth[]

8 years agolibdraw: remove unused static log2[] array
cinap_lenrek [Sun, 28 Feb 2016 00:38:29 +0000 (01:38 +0100)]
libdraw: remove unused static log2[] array

8 years agorio: exit rio when /dev/cons or /dev/kbd read loop terminates
cinap_lenrek [Sat, 27 Feb 2016 01:39:45 +0000 (02:39 +0100)]
rio: exit rio when /dev/cons or /dev/kbd read loop terminates

8 years agokbdfs: read outer /dev/kbd file and use it just like /dev/kbdin
cinap_lenrek [Sat, 27 Feb 2016 01:36:54 +0000 (02:36 +0100)]
kbdfs: read outer /dev/kbd file and use it just like /dev/kbdin

this allows running kbdfs under kbdfs :-)

going use this in new drawterm. drawterm provides the initial
/dev/kbd, but only sends rune up/down messages (keeps it simple).
the servers kbdfs reads that and exports itself the full
set of files, similar to what we do in vncs. this also
provides note processing.

8 years agorcpu: post hangup note to remote when connection breaks
cinap_lenrek [Sat, 27 Feb 2016 01:08:00 +0000 (02:08 +0100)]
rcpu: post hangup note to remote when connection breaks

when the cat that forwards notes on the remote exits,
send a hangup note so processes wont keep hanging arround.

8 years agorcpu(1): fix manpage reference
cinap_lenrek [Mon, 22 Feb 2016 22:26:35 +0000 (23:26 +0100)]
rcpu(1): fix manpage reference

8 years agolibauthsrv: can write p = 2^448 - 2^224 - 1 now, as mpc has constant folding.
cinap_lenrek [Mon, 22 Feb 2016 21:56:55 +0000 (22:56 +0100)]
libauthsrv: can write p = 2^448 - 2^224 - 1 now, as mpc has constant folding.

8 years agolibfis: dont reject drives lacking SSP (sata ssd connected to ide with adapter)
cinap_lenrek [Mon, 22 Feb 2016 21:53:19 +0000 (22:53 +0100)]
libfis: dont reject drives lacking SSP (sata ssd connected to ide with adapter)

8 years agondb/dns: initialize unknown fids to point to the root qid
cinap_lenrek [Mon, 22 Feb 2016 21:44:01 +0000 (22:44 +0100)]
ndb/dns: initialize unknown fids to point to the root qid

the dns file service can be restarted, which causes it to forget
all fid state. given the simple file system structure of the dns
service (just a single dns file), we can assume that rpcs
on a unknown fid refers to the root, so the mountpoint will stay
valid and /net/dns can be reopend avoiding the need for a remount
of the dns service after restart.

8 years agorc: terminate rc when exec fails, cleanup
cinap_lenrek [Mon, 22 Feb 2016 21:25:21 +0000 (22:25 +0100)]
rc: terminate rc when exec fails, cleanup

The execexec() function should never return, as it irreversably changes
the filedescriptor table for the new program. This means rc's internal
filedesciptors for reading the script get implicitely closed and we cannot
continue the rc interpreter when Execute() fails. So Execute() now sets the
error status, and execexec() runs Xexit() in case Execute() returns.

8 years agosmtpd: remove unused lastsender logic
cinap_lenrek [Mon, 22 Feb 2016 20:55:41 +0000 (21:55 +0100)]
smtpd: remove unused lastsender logic

8 years agofactotum: fix memory leak for p9any key confirmation, fix key handling for role=client
cinap_lenrek [Mon, 22 Feb 2016 19:55:51 +0000 (20:55 +0100)]
factotum: fix memory leak for p9any key confirmation, fix key handling for role=client

when we look up role=speakfor key and askforkeys is set, the
findkey() can return RpcNeedkey, which causes us to skip the
query for a role=client key. Instead, we now check for the
return value != RpcOk (and != RpcConfirm which we want to
handle the same for both queries).

we have to free the attribute lists when returning RpcConfirm.

8 years agostats: use rimport or import to mount remote system
cinap_lenrek [Mon, 22 Feb 2016 18:38:01 +0000 (19:38 +0100)]
stats: use rimport or import to mount remote system

8 years agoexportfs: fix endless loop for eof/error on second read in localread9pmsg()
cinap_lenrek [Sun, 21 Feb 2016 19:11:04 +0000 (20:11 +0100)]
exportfs: fix endless loop for eof/error on second read in localread9pmsg()

the ini buffer was not reset when we got eof in the message
body read causing a endless loop. instead of defining our
own read9pmsg() function, just handle the first read specially
when we consumed the first 4 bytes for the "impo" protocol
escape check.

8 years agofix ipv6 icmphostunr() locking and memory free bugs (from sources)
cinap_lenrek [Sun, 21 Feb 2016 15:36:41 +0000 (16:36 +0100)]
fix ipv6 icmphostunr() locking and memory free bugs (from sources)

8 years agosgi: add chmod to bootfs.proto for sgi kernel
cinap_lenrek [Sat, 20 Feb 2016 15:39:52 +0000 (16:39 +0100)]
sgi: add chmod to bootfs.proto for sgi kernel

8 years agolibsec: remove unused tlsSecKill()
cinap_lenrek [Fri, 19 Feb 2016 08:14:09 +0000 (09:14 +0100)]
libsec: remove unused tlsSecKill()

8 years agolibsec: fix memset() size in tlsConnectionFree(), remove #include <bio.h>
cinap_lenrek [Thu, 18 Feb 2016 17:42:04 +0000 (18:42 +0100)]
libsec: fix memset() size in tlsConnectionFree(), remove #include <bio.h>

8 years agolibsec: add libc.h include for aes_xts.c (drawterm)
cinap_lenrek [Wed, 17 Feb 2016 17:50:23 +0000 (18:50 +0100)]
libsec: add libc.h include for aes_xts.c (drawterm)

8 years agorcpu(1) man page: english
stanley lieber [Wed, 17 Feb 2016 01:53:21 +0000 (20:53 -0500)]
rcpu(1) man page: english

8 years agondb/dns: removing the buggy /net.alt remount hack
cinap_lenrek [Tue, 16 Feb 2016 18:06:54 +0000 (19:06 +0100)]
ndb/dns: removing the buggy /net.alt remount hack

8 years agousbuhci: removing "uhci bug" print spam from interrupt handler
cinap_lenrek [Tue, 16 Feb 2016 07:52:33 +0000 (08:52 +0100)]
usbuhci: removing "uhci bug" print spam from interrupt handler

this code was if(0) for a long time due to wrong parentesis,
fixed parentesis cause print spam on some machines making them
unusage (kenji okomoto). removing the check alltogether.

8 years agoprovide rcpu(1), make usage line consistent
cinap_lenrek [Mon, 15 Feb 2016 16:30:56 +0000 (17:30 +0100)]
provide rcpu(1), make usage line consistent

8 years agodevmnt: deal with partial response for Tversion request in mntversion()
cinap_lenrek [Mon, 15 Feb 2016 00:03:44 +0000 (01:03 +0100)]
devmnt: deal with partial response for Tversion request in mntversion()

8 years agocron: just run /bin/rx to execute remote commands
cinap_lenrek [Sun, 14 Feb 2016 04:59:42 +0000 (05:59 +0100)]
cron: just run /bin/rx to execute remote commands

8 years agorx: rcpu service support
cinap_lenrek [Sun, 14 Feb 2016 04:37:55 +0000 (05:37 +0100)]
rx: rcpu service support

8 years agoadding experimental rcpu service
cinap_lenrek [Sun, 14 Feb 2016 04:18:33 +0000 (05:18 +0100)]
adding experimental rcpu service

this is a reimplementation of cpu and import utilities in rc using a tlsclient
and tlssrv as the encryption and authentication layers. there is only one new
service, which after authentication and encryption setup accepts an arbitrary
rc script over the network and executes it with the standard filedescriptors
redirected to the conversaion (this is *after* authentication and in the
context of the authorized user).

the new rcpu program has a few improvements over cpu(1):

- doesnt mangle program arguments
- the remote process will get the clients standard file descriptors, so error
  and output are separated and you can consume the clients input from the
  remote side :-)
- forwards error status of remote process

theres no backwards mode for rimport, but a new program called rexport
for the same purpose.

all these services use exportfs without the bolted on initial handshake,
so the hope is to clean up exportfs in the future and remove all the ugly
crap in there.

8 years agoexportfs: retry execing ourselfs as "/bin/exportfs" (argv0 might be relative path)
cinap_lenrek [Sun, 14 Feb 2016 03:49:48 +0000 (04:49 +0100)]
exportfs: retry execing ourselfs as "/bin/exportfs" (argv0 might be relative path)

8 years agoexportfs: properly reply to chdir() error when we speak 9p
cinap_lenrek [Sun, 14 Feb 2016 03:48:48 +0000 (04:48 +0100)]
exportfs: properly reply to chdir() error when we speak 9p

when we got a bad root tree, we should speak the right language
and return a Rerror response instead of crapping ascii into
the 9p conversation.

8 years agotlsclient: add -o option to establish connection over a file, free the AuthInfo struc...
cinap_lenrek [Sun, 14 Feb 2016 01:06:08 +0000 (02:06 +0100)]
tlsclient: add -o option to establish connection over a file, free the AuthInfo structure to avoid leaking secrets

8 years agonewuser: /n/other now handled in /lib/namespace
cinap_lenrek [Sun, 14 Feb 2016 00:52:51 +0000 (01:52 +0100)]
newuser: /n/other now handled in /lib/namespace

8 years agoprovide /n and /mnt early in bootrc to allow consistent use in /lib/namespace
cinap_lenrek [Sun, 14 Feb 2016 00:42:32 +0000 (01:42 +0100)]
provide /n and /mnt early in bootrc to allow consistent use in /lib/namespace

theres a bootstrap problem:

when /bin/init is run, it processes /lib/namespace where we might want to
mount or bind resources to /n or /mnt. but mntgen was run later in
cpurc/termrc so these mounts would be ignored.

we already have mntgen in bootfs, so we can provide these mountpoints early.

i keep the termrc/cpurc mntgens where they are, but ignore the error
prints. this way old kernels will continue to work.

8 years agotlssrv: add -A flag to skip changing user after authentication (usefull for aan)
cinap_lenrek [Sat, 13 Feb 2016 16:24:59 +0000 (17:24 +0100)]
tlssrv: add -A flag to skip changing user after authentication (usefull for aan)

8 years agomerge
cinap_lenrek [Sat, 13 Feb 2016 15:43:15 +0000 (16:43 +0100)]
merge

8 years agorio: fix wrong frame colors when moving non-current window
cinap_lenrek [Sat, 13 Feb 2016 15:36:24 +0000 (16:36 +0100)]
rio: fix wrong frame colors when moving non-current window

When a window is moved or reshaped, that implicitely tops
the window and makes it current. The conseqence of this
is that we always have to redraw the window as if it where
a current window in any case. This was handled for Reshaped
windows, but not when the window was just moved. We now
handle both cases the exact same way, getting rid of the
Moved wctl message.

8 years agoip/chandial: fail with Ebadarg instead of printing memory contents
ftrvxmtrx [Fri, 12 Feb 2016 21:52:50 +0000 (23:52 +0200)]
ip/chandial: fail with Ebadarg instead of printing memory contents

8 years agolibsec: simplify pkcs1_decrypt()
cinap_lenrek [Thu, 11 Feb 2016 21:59:25 +0000 (22:59 +0100)]
libsec: simplify pkcs1_decrypt()

8 years agomerge
cinap_lenrek [Thu, 11 Feb 2016 21:43:50 +0000 (22:43 +0100)]
merge

8 years agolibsec: fix double free in pkcs1_decrypt(), handle bad epm length in tlsSecRSAs(...
cinap_lenrek [Thu, 11 Feb 2016 21:42:28 +0000 (22:42 +0100)]
libsec: fix double free in pkcs1_decrypt(), handle bad epm length in tlsSecRSAs(), cleanup

8 years agoremoving libgio, this is not golang mveery >:-(
cinap_lenrek [Wed, 10 Feb 2016 04:11:11 +0000 (05:11 +0100)]
removing libgio, this is not golang mveery >:-(

8 years agofixed a typo
Matthew Veety [Tue, 9 Feb 2016 22:02:18 +0000 (17:02 -0500)]
fixed a typo

8 years agoImported ngfs libgio. This is a library to create virtual file descriptors, similar...
Matthew Veety [Tue, 9 Feb 2016 21:24:41 +0000 (16:24 -0500)]
Imported ngfs libgio. This is a library to create virtual file descriptors, similar to common lisp grey-streams or golang's io.Reader/io.Writer. Now 95% bug-free.

8 years agofortunes: ./configure CFLAGS="-I$HOME/source/harvey/ape/amd64/include -I$HOME/source...
stanley lieber [Tue, 9 Feb 2016 01:07:56 +0000 (20:07 -0500)]
fortunes: ./configure CFLAGS="-I$HOME/source/harvey/ape/amd64/include -I$HOME/source/harvey/ape/include -mno-red-zone -ffreestanding -fno-builtin -nostdlib -trigraphs -D_SUSV2_SOURCE -D_POSIX_SOURCE -D_LIMITS_EXTENSION -D_BSD_SOURCE -D_BSD_EXTENSION -DHAVE_SOCK_OPTS -DHARVEY -DPlan9" LDFLAGS="-static $HOME/source/harvey/ape/amd64/lib/crt1.o $HOME/source/harvey/ape/amd64/lib/crti.o $HOME/source/harvey/ape/amd64/lib/crtn.o -L$HOME/source/harvey/ape/amd64/lib -L$HOME/source/harvey/amd64/lib" LIBS="-lbsd -lap -lc" LIBM="" --prefix=$HOME/source/harvey/ape/ports *--host=x86_64-linux-gnu --build=x86_64-harvey *--enable-shared=no

8 years agowebfs: faster shutdown using postnote()
cinap_lenrek [Mon, 8 Feb 2016 18:35:26 +0000 (19:35 +0100)]
webfs: faster shutdown using postnote()

when the 9p end is closed, post a note to our private note
group to shoot down http procs. this results in quicker
release of namespace resources.

8 years ago/lib/keyboard: add more crucial symbols
aiju [Sun, 7 Feb 2016 22:40:07 +0000 (23:40 +0100)]
/lib/keyboard: add more crucial symbols

8 years agolibsec: fix missing error case unlock() in tlshands initCiphers()
cinap_lenrek [Sat, 6 Feb 2016 23:31:30 +0000 (00:31 +0100)]
libsec: fix missing error case unlock() in tlshands initCiphers()

8 years agofactotum: fix nil pointer crash on p9skclosekey(), thanks k0ga
cinap_lenrek [Sat, 6 Feb 2016 21:26:29 +0000 (22:26 +0100)]
factotum: fix nil pointer crash on p9skclosekey(), thanks k0ga

oversight, closekey is called again even if addkey failed, which
will have Key.priv nil.

stack trace:

 memset(data=0x0,n=0x1f8)+0x58 /sys/src/libc/arm/memset.s:40
 p9skclosekey(k=0x55358)+0x18 /sys/src/cmd/auth/factotum/p9sk1.c:493
 closekey(k=0x55358)+0x7c /sys/src/cmd/auth/factotum/util.c:247
 ctlwrite(a=0x552f8,atzero=0x0)+0x320 /sys/src/cmd/auth/factotum/rpc.c:503
 fswrite(r=0x53b78)+0x1b0 /sys/src/cmd/auth/factotum/fs.c:574
 swrite(r=0x53b78,srv=0x423e8)+0x134 /sys/src/lib9p/srv.c:559
 srvwork()+0x2a4 /sys/src/lib9p/srv.c:746
 srv(srv=0x423e8)+0xcc /sys/src/lib9p/srv.c:825
 postproc()+0x3c /sys/src/lib9p/post.c:120
 rforker(flag=0x1,fn=0x39f98,arg=0x423e8)+0x34 /sys/src/lib9p/rfork.c:16
 _postmountsrv(s=0x423e8,name=0x0,mtpt=0x46f70,flag=0x1)+0xb8 /sys/src/lib9p/post.c:27
 postmountsrv(name=0x0,mtpt=0x46f70,flag=0x1)+0x20 /sys/src/lib9p/rfork.c:32
 main(argv=0x1fffff9c,argc=0x0)+0x23c /sys/src/cmd/auth/factotum/fs.c:157
 _main+0x28 /sys/src/libc/arm/main9.s:19
 acid: /sys/src/cmd/auth/factotum/p9sk1.c:493

8 years agoadd mathematical angle brackets to /lib/keyboard
aiju [Sat, 6 Feb 2016 19:41:42 +0000 (20:41 +0100)]
add mathematical angle brackets to /lib/keyboard

8 years agolibsec: mpconv -> mpfmt
cinap_lenrek [Sat, 6 Feb 2016 06:19:31 +0000 (07:19 +0100)]
libsec: mpconv -> mpfmt

8 years agolibmp: remove include of libsec.h
mischief [Sat, 6 Feb 2016 03:29:55 +0000 (19:29 -0800)]
libmp: remove include of libsec.h

8 years agolibmp: handle out of memory case in gmfield()
cinap_lenrek [Thu, 4 Feb 2016 02:11:46 +0000 (03:11 +0100)]
libmp: handle out of memory case in gmfield()

8 years agolibsec: refactor asn1 encoding of digest for rsa signatures, fix memory leak in ecverify
cinap_lenrek [Wed, 3 Feb 2016 03:18:54 +0000 (04:18 +0100)]
libsec: refactor asn1 encoding of digest for rsa signatures, fix memory leak in ecverify

8 years agotlssrv: p9any authentication support using TLS-PSK cipher suits
cinap_lenrek [Mon, 1 Feb 2016 21:49:20 +0000 (22:49 +0100)]
tlssrv: p9any authentication support using TLS-PSK cipher suits

8 years agolibsec: ecdsa client support for tlshand, cleanups
cinap_lenrek [Mon, 1 Feb 2016 20:34:49 +0000 (21:34 +0100)]
libsec: ecdsa client support for tlshand, cleanups

8 years agompc: constant expression folding
cinap_lenrek [Mon, 1 Feb 2016 18:27:57 +0000 (19:27 +0100)]
mpc: constant expression folding

8 years agogames/doom: fix white window issue on exit
cinap_lenrek [Sat, 30 Jan 2016 18:11:33 +0000 (19:11 +0100)]
games/doom: fix white window issue on exit

make kbdproc() and mouseproc() share fd table with the main proc
and not explicitely close the file descriptors. so /dev/mouse gets
closed *after* /dev/draw/new to avoid the white window refresh issue.

8 years agosalsa(2): fix source reference
cinap_lenrek [Tue, 19 Jan 2016 12:06:22 +0000 (13:06 +0100)]
salsa(2): fix source reference

8 years agosalsa(2): some formating fixes
cinap_lenrek [Tue, 19 Jan 2016 12:02:12 +0000 (13:02 +0100)]
salsa(2): some formating fixes

8 years agolibsec: add salsa20 stream cipher
cinap_lenrek [Tue, 19 Jan 2016 11:50:33 +0000 (12:50 +0100)]
libsec: add salsa20 stream cipher

8 years agoauthsrv(6): fix arrows
cinap_lenrek [Tue, 19 Jan 2016 10:08:29 +0000 (11:08 +0100)]
authsrv(6): fix arrows

8 years agowifi: check tkip/ccmp mac and crc in constant time avoiding timing side channels
cinap_lenrek [Thu, 14 Jan 2016 22:39:29 +0000 (23:39 +0100)]
wifi: check tkip/ccmp mac and crc in constant time avoiding timing side channels

8 years agopc64: move idle() routine after CALL main(SB) as the comment suggests
cinap_lenrek [Thu, 14 Jan 2016 00:08:36 +0000 (01:08 +0100)]
pc64: move idle() routine after CALL main(SB) as the comment suggests

8 years agopc/pc64: backing out new mp startup code (caused issues with ramnode)
cinap_lenrek [Wed, 13 Jan 2016 22:18:25 +0000 (23:18 +0100)]
pc/pc64: backing out new mp startup code (caused issues with ramnode)

apparently, this causes some quadcore ramnode vm to hang on boot,
even tho all cores successfully started up and are operational.

i suspect some side effect from timersinit()... this would also
mean *notsc= would break it (syncclock() would continue)...
its unclear.

i'm reverting this for now until the problem is better understood.

8 years agodevssl: use tsmemcmp() to compare mac to close timing side channel
cinap_lenrek [Wed, 13 Jan 2016 20:48:09 +0000 (21:48 +0100)]
devssl: use tsmemcmp() to compare mac to close timing side channel

8 years agondb/dnstcp: -x specifies the mountmoint
cinap_lenrek [Tue, 12 Jan 2016 07:53:06 +0000 (08:53 +0100)]
ndb/dnstcp: -x specifies the mountmoint

8 years agofix manpage references
cinap_lenrek [Tue, 12 Jan 2016 07:43:36 +0000 (08:43 +0100)]
fix manpage references

8 years agolibauthsrv: fix ed448 goldilocks prime comment
mischief [Tue, 12 Jan 2016 03:30:41 +0000 (19:30 -0800)]
libauthsrv: fix ed448 goldilocks prime comment

8 years agopc/pc64: bring up ap's one after another, use idlehands() while waiting for thunderbi...
cinap_lenrek [Mon, 11 Jan 2016 05:47:52 +0000 (06:47 +0100)]
pc/pc64: bring up ap's one after another, use idlehands() while waiting for thunderbirdsarego

when testing in qemu, launching each ap became slower and slower
because all the ap's where spinning in syncclock() waiting for
cpu0 to update its mach0->tscticks, which happens only much later
after all cpu's have been started up.

now we wait for each cpu to do its timer callibration and
manually update our tscticks while we wait and each cpu will
not spin but halt while waiting for active.thunderbirdsarego.
this reduces the system load and noise for timer callibration
and makes the mp startup linear with regard to the number of
cores.

8 years agolibauthsrv: add D in mkfile
aiju [Sun, 10 Jan 2016 21:03:27 +0000 (22:03 +0100)]
libauthsrv: add D in mkfile

8 years ago/rc/bin/": fix quoting bug (thanks, aiju and silasm)
stanley lieber [Thu, 7 Jan 2016 20:04:56 +0000 (15:04 -0500)]
/rc/bin/": fix quoting bug (thanks, aiju and silasm)

8 years agopc/pc64: remove mpshutdown print
cinap_lenrek [Thu, 7 Jan 2016 18:37:47 +0000 (19:37 +0100)]
pc/pc64: remove mpshutdown print

8 years agokernel: remove todfix overflow iprint() spam
cinap_lenrek [Thu, 7 Jan 2016 18:37:05 +0000 (19:37 +0100)]
kernel: remove todfix overflow iprint() spam

8 years agoape/stdio: %z format is VLONG on amd64
cinap_lenrek [Thu, 7 Jan 2016 18:20:30 +0000 (19:20 +0100)]
ape/stdio: %z format is VLONG on amd64

8 years agoape/fmt: %p and %z format for amd64
cinap_lenrek [Thu, 7 Jan 2016 18:04:12 +0000 (19:04 +0100)]
ape/fmt: %p and %z format for amd64

8 years agoformat pointer subtraction results with %zd instead of %ld (for long -> intptr on...
cinap_lenrek [Thu, 7 Jan 2016 03:44:13 +0000 (04:44 +0100)]
format pointer subtraction results with %zd instead of %ld (for long -> intptr on amd64)

8 years ago6c: return vlong result for pointer subtraction
cinap_lenrek [Thu, 7 Jan 2016 03:40:47 +0000 (04:40 +0100)]
6c: return vlong result for pointer subtraction

8 years agointroduce signed intptr and %z format modifier for formating uintptr and intptr
cinap_lenrek [Thu, 7 Jan 2016 03:39:09 +0000 (04:39 +0100)]
introduce signed intptr and %z format modifier for formating uintptr and intptr

8 years agoventi/fixarenas: more %z -> %Z
cinap_lenrek [Thu, 7 Jan 2016 02:38:07 +0000 (03:38 +0100)]
venti/fixarenas: more %z -> %Z

8 years agoventi/fixarenas: replace %z fmt with %Z
cinap_lenrek [Thu, 7 Jan 2016 01:27:00 +0000 (02:27 +0100)]
venti/fixarenas: replace %z fmt with %Z

8 years agorx: theres no p9sk2 anymore
cinap_lenrek [Wed, 6 Jan 2016 05:00:22 +0000 (06:00 +0100)]
rx: theres no p9sk2 anymore

8 years agomerge
cinap_lenrek [Wed, 6 Jan 2016 04:31:55 +0000 (05:31 +0100)]
merge

8 years agolibsec: make sure theres no garbage after the asn.1 decode, cleanup
cinap_lenrek [Wed, 6 Jan 2016 04:30:44 +0000 (05:30 +0100)]
libsec: make sure theres no garbage after the asn.1 decode, cleanup

8 years agomerge
cinap_lenrek [Wed, 6 Jan 2016 02:59:40 +0000 (03:59 +0100)]
merge

8 years agoadd missing /sys/src/cmd/auth/lib/private.c
cinap_lenrek [Wed, 6 Jan 2016 02:58:04 +0000 (03:58 +0100)]
add missing /sys/src/cmd/auth/lib/private.c

8 years agoauthsrv(6): english
stanley lieber [Wed, 6 Jan 2016 02:34:15 +0000 (21:34 -0500)]
authsrv(6): english

8 years agoauth: release dp9ik implementation and reentrant factotum
cinap_lenrek [Wed, 6 Jan 2016 02:09:00 +0000 (03:09 +0100)]
auth: release dp9ik implementation and reentrant factotum

8 years agolibmp: silence compiler warning for strtomp
cinap_lenrek [Wed, 6 Jan 2016 00:19:05 +0000 (01:19 +0100)]
libmp: silence compiler warning for strtomp

8 years agopc/pc64: import i210 support from erik quanstrom's 9atom
cinap_lenrek [Tue, 5 Jan 2016 06:53:39 +0000 (07:53 +0100)]
pc/pc64: import i210 support from erik quanstrom's 9atom

8 years agokernel: change active.machs from bitmap to char array to support up to 64 cpus on...
cinap_lenrek [Tue, 5 Jan 2016 04:32:40 +0000 (05:32 +0100)]
kernel: change active.machs from bitmap to char array to support up to 64 cpus on pc64

8 years agofdisk: properly convert byte units K,M,G and T to cylinders/sectors
cinap_lenrek [Tue, 5 Jan 2016 02:57:50 +0000 (03:57 +0100)]
fdisk: properly convert byte units K,M,G and T to cylinders/sectors

the shared command language assumed 512 byte sectors, which is
not the case for fdisk as it uses cylinders for the block unit.
so we introduce an extra argument in the Edit structure and
parseexpr() function so byte sizes are properly converted to
the block unit when the K,M,G and T postfixes are used.

8 years agolibmp: check nil return value of strtomp() in test program
cinap_lenrek [Mon, 4 Jan 2016 18:09:25 +0000 (19:09 +0100)]
libmp: check nil return value of strtomp() in test program