]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
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

8 years agompc: use new strtomp() c-style prefixes to parse integer constants
cinap_lenrek [Mon, 4 Jan 2016 17:35:04 +0000 (18:35 +0100)]
mpc: use new strtomp() c-style prefixes to parse integer constants

8 years agolibmp: mistake in strtomp()
cinap_lenrek [Mon, 4 Jan 2016 17:33:06 +0000 (18:33 +0100)]
libmp: mistake in strtomp()

8 years agolibmp: support for c-style base prefixes for strtomp(), octal support
cinap_lenrek [Sun, 3 Jan 2016 21:43:44 +0000 (22:43 +0100)]
libmp: support for c-style base prefixes for strtomp(), octal support

8 years agolibsec: implement TLS-PSK for tlsClient()/tlsServer()
cinap_lenrek [Fri, 25 Dec 2015 16:05:05 +0000 (17:05 +0100)]
libsec: implement TLS-PSK for tlsClient()/tlsServer()

8 years agofile: recognize bootable disk images (by 0x55AA boot sector signature)
cinap_lenrek [Wed, 23 Dec 2015 01:31:47 +0000 (02:31 +0100)]
file: recognize bootable disk images (by 0x55AA boot sector signature)

8 years agofile: recognize tcpdump pcap files
cinap_lenrek [Wed, 23 Dec 2015 01:11:29 +0000 (02:11 +0100)]
file: recognize tcpdump pcap files

8 years agosnoopy: fix timestamps for pcap files (thanks BurnZeZ)
cinap_lenrek [Wed, 23 Dec 2015 01:00:09 +0000 (02:00 +0100)]
snoopy: fix timestamps for pcap files (thanks BurnZeZ)

the pcap files produced by snoopy had the wrong timestamps because it expected:

/* magic=0xa1b2c3d4 */
ulong ts_sec; /* seconds*/
ulong ts_usec; /* microseconds */

but we wrote:

uvlong ts; /* nanoseconds */

now, we write:

/* magic=0xa1b23c4d */
ulong ts_sec; /* seconds */
ulong ts_nsec; /* nanoseconds */

8 years agolibjson: added printing support (thanks spew)
cinap_lenrek [Tue, 22 Dec 2015 17:12:56 +0000 (18:12 +0100)]
libjson: added printing support (thanks spew)

8 years agolibjson: fix memory leak setjmp/longjmp problem (thanks spew)
cinap_lenrek [Tue, 22 Dec 2015 16:00:00 +0000 (17:00 +0100)]
libjson: fix memory leak setjmp/longjmp problem (thanks spew)

spew → I fixed the memory leak setjmp/longjmp problem with libjson
spew → http://www.spew.club/json.patch
spew → full file: http://www.spew.club/json.c
spew → going to bed, I'll annoy cinap_lenrek tomorrow to try to get this committed

8 years agotls: implement chacha20/poly1305 aead cipher suits
cinap_lenrek [Mon, 21 Dec 2015 03:55:54 +0000 (04:55 +0100)]
tls: implement chacha20/poly1305 aead cipher suits

8 years agokernel: missing changes for ibrk() prototype
cinap_lenrek [Mon, 21 Dec 2015 03:49:29 +0000 (04:49 +0100)]
kernel: missing changes for ibrk() prototype

8 years agompfmt: handle base 2, 4
aiju [Sun, 20 Dec 2015 12:45:28 +0000 (13:45 +0100)]
mpfmt: handle base 2, 4

8 years agoimport/expoerfs: dont assert() fault when ai->secret is > 8 bytes, just use the first...
cinap_lenrek [Wed, 16 Dec 2015 20:30:56 +0000 (21:30 +0100)]
import/expoerfs: dont assert() fault when ai->secret is > 8 bytes, just use the first 8 bytes

8 years agoauth/httpauth: use auth_userpasswd() instead of AuthHttp request to AS
cinap_lenrek [Wed, 16 Dec 2015 20:27:44 +0000 (21:27 +0100)]
auth/httpauth: use auth_userpasswd() instead of AuthHttp request to AS

the /sys/lib/httppasswords will be removed soon from authsrv,
so we use auth_userpasswd() to verify a username/password pair
instead.

8 years agolibsec: use tsmemcmp() when comparing hashes, use mpfield() for ecc, use mptober...
cinap_lenrek [Wed, 16 Dec 2015 20:23:40 +0000 (21:23 +0100)]
libsec: use tsmemcmp() when comparing hashes, use mpfield() for ecc, use mptober() when right adjusting mpint to bytes

8 years agolibmp: add mpfield() function for fast field arithmetic
cinap_lenrek [Wed, 16 Dec 2015 20:18:20 +0000 (21:18 +0100)]
libmp: add mpfield() function for fast field arithmetic

instead of testing for special field primes each time in mpmod(),
make it explicit with a mpfiled() function that tests a modulus N
to be of some special form that can be reduced more efficiently with
some precalculation, and replaces N with a Mfield* when it can. the
Mfield*'s are recognized by mpmod() as they have the MPfield flag
set and provide a function pointer that executes the fast reduction.

8 years agodevprov: remove unused extern int unfair
cinap_lenrek [Wed, 16 Dec 2015 20:07:24 +0000 (21:07 +0100)]
devprov: remove unused extern int unfair

8 years agokernel: use uintptr for ibrk() return value (for base >2GB) and clarify segbrk(2)
cinap_lenrek [Wed, 16 Dec 2015 20:06:51 +0000 (21:06 +0100)]
kernel: use uintptr for ibrk() return value (for base >2GB) and clarify segbrk(2)

8 years ago/sys/lib/dist/ndb/common: update for sl's auth servers
stanley lieber [Fri, 11 Dec 2015 19:18:06 +0000 (14:18 -0500)]
/sys/lib/dist/ndb/common: update for sl's auth servers

8 years ago/lib/ndb/common: add auth=cb.inri.net authdom=nyc
stanley lieber [Wed, 9 Dec 2015 06:17:41 +0000 (01:17 -0500)]
/lib/ndb/common: add auth=cb.inri.net authdom=nyc

8 years agomp: strtomp support for bases 2,4,8
aiju [Tue, 8 Dec 2015 19:26:17 +0000 (20:26 +0100)]
mp: strtomp support for bases 2,4,8

8 years agomp: fix bug in mplogic.c; update mkfile
aiju [Tue, 8 Dec 2015 18:43:22 +0000 (19:43 +0100)]
mp: fix bug in mplogic.c; update mkfile

8 years agomp: add logic operations; mpfmt: include 0x with #
aiju [Tue, 8 Dec 2015 17:29:22 +0000 (18:29 +0100)]
mp: add logic operations; mpfmt: include 0x with #

8 years agofixed spelling error in 2c(1) for the axp entry.
Matthew Veety [Mon, 7 Dec 2015 23:55:26 +0000 (18:55 -0500)]
fixed spelling error in 2c(1) for the axp entry.

8 years agomade sure that rcmain.local runs independent of the existence of $home/lib/profile...
Matthew Veety [Mon, 7 Dec 2015 22:59:53 +0000 (17:59 -0500)]
made sure that rcmain.local runs independent of the existence  of $home/lib/profile. Documented /rc/lib/rcmain, /rc/lib/rcmain.local, $home/lib/profile in rc(1) and the first two in namespace(4)

8 years agoAdded change to /rc/lib/rcmain to allow execution of /rc/lib/rcmain.local if it exist...
Matthew Veety [Mon, 7 Dec 2015 21:01:09 +0000 (16:01 -0500)]
Added change to /rc/lib/rcmain to allow execution of /rc/lib/rcmain.local if it exists. /rc/lib/rcmain.local is similar to $home/lib/profile in that it will only be executed with -l, but is site-wide.

8 years agoyacc: attempt to keep line numbers right for yyparse()
cinap_lenrek [Mon, 7 Dec 2015 16:00:41 +0000 (17:00 +0100)]
yacc: attempt to keep line numbers right for yyparse()

as the generated parser intermixes lines from .y source
and the parser text, the line source/lineno for yyparse()
shows up wrong in the debugger. to make stack traces a
bit less crazy, put a #line 1 "/sys/lib/yaccpar" before
copying in the parser text.

8 years agomerge
cinap_lenrek [Sun, 6 Dec 2015 19:55:27 +0000 (20:55 +0100)]
merge

8 years agolibmp: fix assert() for mpexp() with nil modulus
cinap_lenrek [Sun, 6 Dec 2015 19:53:54 +0000 (20:53 +0100)]
libmp: fix assert() for mpexp() with nil modulus

8 years agolibmp: fix wrong move instruction for arm vector operations
cinap_lenrek [Sun, 6 Dec 2015 19:52:15 +0000 (20:52 +0100)]
libmp: fix wrong move instruction for arm vector operations

8 years agowinwatch: l allows label changes
aiju [Sun, 6 Dec 2015 19:37:18 +0000 (20:37 +0100)]
winwatch: l allows label changes

8 years agolibmp: mpmod() fix typo
cinap_lenrek [Tue, 1 Dec 2015 10:25:08 +0000 (11:25 +0100)]
libmp: mpmod() fix typo

8 years agolibmp: with mpmod() m = 2^a - c ensure that digits(c) < digits(m)
cinap_lenrek [Tue, 1 Dec 2015 10:13:52 +0000 (11:13 +0100)]
libmp: with mpmod() m = 2^a - c ensure that digits(c) < digits(m)

8 years agomerge
cinap_lenrek [Tue, 1 Dec 2015 08:41:49 +0000 (09:41 +0100)]
merge

8 years agolibsec: fix genprime() to produce normalized result
cinap_lenrek [Tue, 1 Dec 2015 08:40:24 +0000 (09:40 +0100)]
libsec: fix genprime() to produce normalized result

this fixed bug "assert_failed_m-flags__mpnorm_since_283cc2200e34".

8 years agomkone: yacc wants the D
aiju [Mon, 30 Nov 2015 22:36:39 +0000 (23:36 +0100)]
mkone: yacc wants the D

8 years agowebcookies: strdup() file argument to avoid crash (thanks mischief)
cinap_lenrek [Mon, 30 Nov 2015 19:08:22 +0000 (20:08 +0100)]
webcookies: strdup() file argument to avoid crash (thanks mischief)

mischief reports:

 acid: lstk()
 abort()+0x0 /sys/src/libc/9sys/abort.c:6
 ppanic(p=0x1bff4,fmt=0x1d749)+0x146 /sys/src/libc/port/malloc.c:166
         pv=0x1dad8
         msg=0x1e4a8
         v=0x3ffffe7c
         n=0x2f
 D2B(p=0x1bff4,v=0x3fffffae)+0x57 /sys/src/libc/port/pool.c:926
         a=0x3fffffa4
 poolfreel(v=0x3fffffae,p=0x1bff4)+0x20 /sys/src/libc/port/pool.c:1152
         ab=0x1dad8
 poolfree(p=0x1bff4,v=0x3fffffae)+0x3b /sys/src/libc/port/pool.c:1287
 free(v=0x3fffffb6)+0x23 /sys/src/libc/port/malloc.c:250
 readjar(file=0x3fffffb6)+0xce /sys/src/cmd/webcookies.c:473
         jar=0x1ea28
         lock=0x1ea68
         p=0x1ea6d
 main(argv=0x3fffffa0,argc=0x0)+0x10f /sys/src/cmd/webcookies.c:1295
         file=0x3fffffb6
         srv=0x0
         mtpt=0x1cfd0
         _argc=0x66
         _args=0x1cfe0
         home=0x0
 _main+0x31 /sys/src/libc/386/main9.s:16
 acid:

8 years agomerge
cinap_lenrek [Mon, 30 Nov 2015 13:57:16 +0000 (14:57 +0100)]
merge

8 years agokernel: cleanup exit()/shutdown()/reboot() code
cinap_lenrek [Mon, 30 Nov 2015 13:56:00 +0000 (14:56 +0100)]
kernel: cleanup exit()/shutdown()/reboot() code

introduce cpushutdown() function that does the common
operation of initiating shutdown, returning once all
cpu's got the message and are about to shutdown. this
avoids duplicated code which isnt really machine specific.

automatic reboot on panic only when *debug= is not set
and the machine is a cpu server or has no display,
otherwise just hang.

8 years agofplot(1): fix typo
BurnZeZ [Sun, 29 Nov 2015 23:06:55 +0000 (18:06 -0500)]
fplot(1): fix typo

8 years agofortunes: If you get this, delete it. - Sorry! -- Tim Berners-Lee, www-talk, Mon...
stanley lieber [Fri, 27 Nov 2015 22:04:02 +0000 (17:04 -0500)]
fortunes: If you get this, delete it. - Sorry! -- Tim Berners-Lee, www-talk, Mon, 28 Oct 91 14:34:12 GMT+0100

8 years agofplot(1): add BUGS section
stanley lieber [Fri, 27 Nov 2015 21:49:19 +0000 (16:49 -0500)]
fplot(1): add BUGS section

8 years agolibsec: add chacha20 poly1305 aead, allow 64 bit iv's for chacha, add tsmemcmp()
cinap_lenrek [Thu, 26 Nov 2015 14:25:10 +0000 (15:25 +0100)]
libsec: add chacha20 poly1305 aead, allow 64 bit iv's for chacha, add tsmemcmp()

chacha20 comes in two variants: ietf rfc7539, using 96 bit iv and 32 bit counter
and draft-agl-tls-chacha20poly1305 using 64 bit iv and a 64 bit counter. so
setupChachastate() now takes a ivlen argument which sets the mode.

add ccpoly_encrypt()/ccpoly_decrypt() routines.

to implement timing safe ccpoly_decrypt(), a constant time memcmp was needed, so
adding tsmemcmp() to libsec.

8 years agompc: mpc.c is generated by yacc, so remove it on mk clean
BurnZeZ [Wed, 25 Nov 2015 16:39:01 +0000 (11:39 -0500)]
mpc: mpc.c is generated by yacc, so remove it on mk clean

8 years agorio: allow reading the image of a hidden window thru the window file
cinap_lenrek [Wed, 25 Nov 2015 03:31:30 +0000 (04:31 +0100)]
rio: allow reading the image of a hidden window thru the window file

8 years agorio: fix handling "resize" wctl for hidden windows
cinap_lenrek [Wed, 25 Nov 2015 03:30:44 +0000 (04:30 +0100)]
rio: fix handling "resize" wctl for hidden windows

when the "resize" wctl was used on a hidden window, the window
was put back on the screen, however, it was not removed from
the hidden[] array so trying to hide the window again failed
because whide() assumed it was already hidden.

the fix is to not unhide the window, but preserve the hidden
state, so windows can programmatically be reshaped and moved,
but will remain hidden unless explicitely unhidden.

8 years agodisksim: don't assume 4-byte pointers
cinap_lenrek [Tue, 24 Nov 2015 10:02:04 +0000 (11:02 +0100)]
disksim: don't assume 4-byte pointers

8 years agorio: stop serving kbdin file (thanks eekee)
cinap_lenrek [Sun, 22 Nov 2015 23:50:44 +0000 (00:50 +0100)]
rio: stop serving kbdin file (thanks eekee)

kbdfs already provides a /dev/kbdin file for the system, rio does
not need to provide one for the onscreen keyboard anymore.

8 years agoadd mpc(1), extended precision code generator
cinap_lenrek [Sun, 22 Nov 2015 22:47:58 +0000 (23:47 +0100)]
add mpc(1), extended precision code generator

8 years agobootrc: remove usbwait hack, usbd/nusbrc are now synchronous by previous commit
cinap_lenrek [Sun, 22 Nov 2015 02:19:27 +0000 (03:19 +0100)]
bootrc: remove usbwait hack, usbd/nusbrc are now synchronous by previous commit

8 years agousbd: intoruce /env/usbbusy
cinap_lenrek [Sun, 22 Nov 2015 02:17:15 +0000 (03:17 +0100)]
usbd: intoruce /env/usbbusy

to solve the usb device enumeration race on boot, usbd creates /env/usbbusy
on startup and once all devices have been enumerated and readers have consumed
all the events, we remove the file so nusbrc/bootrc can continue. this makes
sure all the usb devices that where plugged in on boot are made available.

8 years agodevenv: fix ORCLOSE handling
cinap_lenrek [Sun, 22 Nov 2015 01:39:57 +0000 (02:39 +0100)]
devenv: fix ORCLOSE handling

when opening a /env file ORCLOSE, and the process exits, envgrp() would
return nil can crash in envremove() because procexit will have set up->egrp
to nil before calling closefgrp().

the solution is to capture the environment on open, keeping a reference in
Chan.aux, so it doesnt matter on what process the close happens and a
env chan will always refer to its original environment group.

8 years agolibmp: initial attempt at constant time code, faster reductions for special primes...
cinap_lenrek [Sat, 21 Nov 2015 08:39:59 +0000 (09:39 +0100)]
libmp: initial attempt at constant time code, faster reductions for special primes (for ecc)

introduce MPtimesafe flag to request time invariant computation
disables normalization so significant digits are not leaked.

8 years agoremove dunning-krugerrand code
aiju [Fri, 20 Nov 2015 21:26:20 +0000 (22:26 +0100)]
remove dunning-krugerrand code

8 years agolibmp: fix test program
cinap_lenrek [Fri, 20 Nov 2015 05:28:17 +0000 (06:28 +0100)]
libmp: fix test program

8 years agolibmp: add mpvecadd()/mpvecsub() assembly versions for arm
cinap_lenrek [Fri, 20 Nov 2015 05:25:56 +0000 (06:25 +0100)]
libmp: add mpvecadd()/mpvecsub() assembly versions for arm

8 years agolibmp: 386/amd64 mpvec*(): replace conditional branches with ADC/SBB instructions
cinap_lenrek [Fri, 20 Nov 2015 05:25:01 +0000 (06:25 +0100)]
libmp: 386/amd64 mpvec*(): replace conditional branches with ADC/SBB instructions

8 years ago9fs: add case 9front
stanley lieber [Sat, 7 Nov 2015 01:00:03 +0000 (20:00 -0500)]
9fs: add case 9front

8 years agomerge
cinap_lenrek [Fri, 6 Nov 2015 16:28:29 +0000 (17:28 +0100)]
merge

8 years agokernel: use nicer check in okaddr(), wet floor signs in fixfault()
cinap_lenrek [Fri, 6 Nov 2015 16:27:15 +0000 (17:27 +0100)]
kernel: use nicer check in okaddr(), wet floor signs in fixfault()

instead of checking addr+len >= addr, check len >= -addr so
that addr == 0 is never valid for len > 0 even if we decide
to have memory at the zero page so theres never any chance
user can pass in "nil" pointers.

put up some signs where we fall thru the switch cases in
fixfault()

8 years agomerge
cinap_lenrek [Fri, 6 Nov 2015 01:55:11 +0000 (02:55 +0100)]
merge

8 years agokernel: fix okaddr() check
cinap_lenrek [Fri, 6 Nov 2015 01:53:30 +0000 (02:53 +0100)]
kernel: fix okaddr() check

8 years ago9fs: add 9pio case for unauthenticated connections to 9p.io.
stanley lieber [Tue, 3 Nov 2015 00:12:15 +0000 (19:12 -0500)]
9fs: add 9pio case for unauthenticated connections to 9p.io.

8 years agomerge
cinap_lenrek [Sun, 1 Nov 2015 11:14:00 +0000 (12:14 +0100)]
merge

8 years agolibmp: optimize case x/0xffffffff in mpdigdiv() (helps arm)
cinap_lenrek [Sun, 1 Nov 2015 11:12:41 +0000 (12:12 +0100)]
libmp: optimize case x/0xffffffff in mpdigdiv() (helps arm)

8 years agolibmp: add mpvecdigmuladd()/mpvecdigmulsub() assembly routines for arm
cinap_lenrek [Sun, 1 Nov 2015 11:10:10 +0000 (12:10 +0100)]
libmp: add mpvecdigmuladd()/mpvecdigmulsub() assembly routines for arm

8 years ago5c: handle (rare) MULU instruction in peephole optimizer
cinap_lenrek [Sun, 1 Nov 2015 11:09:03 +0000 (12:09 +0100)]
5c: handle (rare) MULU instruction in peephole optimizer

8 years agofortunes: [9fans] FUSE on Plan9
stanley lieber [Sat, 31 Oct 2015 20:09:15 +0000 (16:09 -0400)]
fortunes: [9fans] FUSE on Plan9

8 years agodelkey(1): update man page to reflect recent changes.
stanley lieber [Sat, 31 Oct 2015 20:07:22 +0000 (16:07 -0400)]
delkey(1): update man page to reflect recent changes.

8 years agodelkey: don't be stupid
aiju [Fri, 30 Oct 2015 21:18:09 +0000 (22:18 +0100)]
delkey: don't be stupid

8 years agodevtls: reject SHA2_256 mac for SSL, but TLS is fine
cinap_lenrek [Wed, 28 Oct 2015 16:09:22 +0000 (17:09 +0100)]
devtls: reject SHA2_256 mac for SSL, but TLS is fine

sha256 is only defined for TLS1.2, however, technically, theres
no reason not to use it in TLS1.0/TLS1.1. the choice is up to
tlshand and pushtls, not the kernel.

8 years agomp(2): fix typo mnprand() -> mpnrand()
cinap_lenrek [Wed, 28 Oct 2015 12:39:17 +0000 (13:39 +0100)]
mp(2): fix typo mnprand() -> mpnrand()

8 years agoascii: replace mnemonic np (new page) with ff (form feed) for consistency
BurnZeZ [Sun, 25 Oct 2015 18:46:10 +0000 (14:46 -0400)]
ascii: replace mnemonic np (new page) with ff (form feed) for consistency

8 years agorio: fix scrolling when cursor is above window
BurnZeZ [Sun, 25 Oct 2015 02:57:07 +0000 (22:57 -0400)]
rio: fix scrolling when cursor is above window

8 years agolibsec: add chacha cipher (from charles forsyth)
cinap_lenrek [Thu, 22 Oct 2015 05:48:26 +0000 (07:48 +0200)]
libsec: add chacha cipher (from charles forsyth)

8 years agolibsec: add poly1305
cinap_lenrek [Thu, 22 Oct 2015 05:17:25 +0000 (07:17 +0200)]
libsec: add poly1305

8 years agofortunes: Maybe a git branch can help here?
stanley lieber [Mon, 19 Oct 2015 15:56:03 +0000 (11:56 -0400)]
fortunes: Maybe a git branch can help here?

8 years agoacid/leak: fix endless loop for B2NB(b) == b case (thanks mischief)
cinap_lenrek [Sun, 18 Oct 2015 22:20:33 +0000 (00:20 +0200)]
acid/leak: fix endless loop for B2NB(b) == b case (thanks mischief)

8 years agowifi: prioritize rsne over wpaie
cinap_lenrek [Sat, 17 Oct 2015 12:45:25 +0000 (14:45 +0200)]
wifi: prioritize rsne over wpaie

if beacon/proble contains both wpa information element and rsne, the rsne wins.

8 years agomerge
cinap_lenrek [Thu, 15 Oct 2015 11:22:48 +0000 (13:22 +0200)]
merge

8 years agolib9p: do not override Srv.end in listensrv(), simplify srvclose() and recounting
cinap_lenrek [Thu, 15 Oct 2015 11:21:30 +0000 (13:21 +0200)]
lib9p: do not override Srv.end in listensrv(), simplify srvclose() and recounting

listensrv() used to override Srv.end() with its own handler
to free the malloc'd Srv structure and close the fd. this
makes it impossible to register your own cleanup handler.
instead, we introduce the private Srv.free() handler that
is used by listensrv to register its cleanup code. Srv.free()
is called once all the srv procs have been exited and all
requests on that srv have been responded to while Srv.end()
is called once all the procs exited the srv loop regardless
of the requests still being in flight.

8 years agolib9p: add reqqueuefree
aiju [Mon, 12 Oct 2015 08:41:40 +0000 (10:41 +0200)]
lib9p: add reqqueuefree

8 years agolibsec: remove rc4 cipher suits for tls
cinap_lenrek [Fri, 9 Oct 2015 23:12:30 +0000 (01:12 +0200)]
libsec: remove rc4 cipher suits for tls

8 years agoaux/listen1: usage()
cinap_lenrek [Fri, 9 Oct 2015 22:11:03 +0000 (00:11 +0200)]
aux/listen1: usage()

8 years agoaux/listen1: allow alternative namespace when running as user none with -n option
cinap_lenrek [Fri, 9 Oct 2015 22:09:02 +0000 (00:09 +0200)]
aux/listen1: allow alternative namespace when running as user none with -n option