]>
git.lizzy.rs Git - plan9front.git/log
qwx [Mon, 22 May 2017 16:19:24 +0000 (18:19 +0200)]
igfx: add support for haswell graphics
add support for edp, dp and hdmi on haswell and haswell ult.
vga, dvi and specific configurations like ulx are unimplemented.
remaining issue: edp link training always fails (time out).
aiju [Mon, 22 May 2017 09:04:51 +0000 (09:04 +0000)]
io(1): %llx -> %ullx
aiju [Mon, 22 May 2017 00:40:18 +0000 (00:40 +0000)]
libmach: fix wrong offset bug (thanks cinap); add VMX instructions
cinap_lenrek [Sun, 21 May 2017 14:36:11 +0000 (16:36 +0200)]
kernel: avoid panic with segio and SG_FAULT segments
the problem is that segio doesnt check segment attributes
and it can't really in case of SG_FAULT which can be
inherited from pseg and toggle at any time.
so instead of returning -1 from fault into the fault$cputype
handler which then panics when fault happend kernel mode,
we jump into segio's waserror() block just like in the
demand load i/o error case (faulterror()).
cinap_lenrek [Sat, 20 May 2017 12:45:47 +0000 (14:45 +0200)]
vt: don't flush while there is keyboard input available
BurnZeZ [Thu, 11 May 2017 19:34:54 +0000 (19:34 +0000)]
/sys/lib/acid/port: make line() also print the line number
cinap_lenrek [Tue, 9 May 2017 14:23:48 +0000 (16:23 +0200)]
/sys/doc: fix mkfile to and remove files that now can be regenerated
cinap_lenrek [Tue, 9 May 2017 14:10:44 +0000 (16:10 +0200)]
troff: charlib: fix right hand special character
cinap_lenrek [Sun, 7 May 2017 17:05:12 +0000 (19:05 +0200)]
rio: implement writable and truncatable /dev/text
cinap_lenrek [Sun, 7 May 2017 16:13:37 +0000 (18:13 +0200)]
kernel: fix namelenerror(), avoid memrchr() and make it static
make sure the loop terminates and doesnt get stuck at
name == aname. avoid memrchr() as it conflicts with
libc on unix (drawterm). declare namelenerror() as
static.
aiju [Sat, 6 May 2017 14:33:52 +0000 (14:33 +0000)]
update ape/bio.h (thanks jpm)
cinap_lenrek [Fri, 5 May 2017 22:49:47 +0000 (00:49 +0200)]
devproc: can't wait for ourselfs to stop (thanks Shamar)
BurnZeZ [Fri, 5 May 2017 21:43:30 +0000 (21:43 +0000)]
aux/statusmsg: use libbio for textmode output
calling write(1, "\b", 1); for each rune to be removed is a lot of
overhead, and we don’t want rio to turn each of these writes into a
draw operation.
also, it now prints to stderr before exiting if initdraw() fails
cinap_lenrek [Fri, 5 May 2017 19:04:31 +0000 (21:04 +0200)]
ssh: add -h flag to pass host (for compatibility)
aiju [Fri, 5 May 2017 08:22:13 +0000 (08:22 +0000)]
sed: add -u flag that flushes output buffers before reading in further input
aiju [Thu, 4 May 2017 17:47:03 +0000 (17:47 +0000)]
bio(2): manpage typo
aiju [Thu, 4 May 2017 17:42:12 +0000 (17:42 +0000)]
bio: add support for custom I/O handler via Biofn
cinap_lenrek [Wed, 3 May 2017 18:56:20 +0000 (20:56 +0200)]
ssh(1): document -T tries option, #subsys cmd behaviour
cinap_lenrek [Wed, 3 May 2017 18:55:32 +0000 (20:55 +0200)]
ssh: quote cmd arguments with unix shell single quotes, request tty even with TERM=dumb
cinap_lenrek [Wed, 3 May 2017 18:47:46 +0000 (20:47 +0200)]
ctime(2): fix example (thanks raiz)
raiz → the reason that the manpage example works not because
it's a correct timezone file format, but because readtimezone()
(in libc) fails and defaults to GMT.
cinap_lenrek [Tue, 2 May 2017 02:07:21 +0000 (04:07 +0200)]
upas/fs: handle partial fetches (imap server returning less messages than available)
cinap_lenrek [Mon, 1 May 2017 20:50:16 +0000 (22:50 +0200)]
inst/configether: in manual network configuration, ask for dns server
cinap_lenrek [Mon, 1 May 2017 20:49:35 +0000 (22:49 +0200)]
dist/ndb: move sources auth server to ndb/common, list root dns servers in ndb/local as a fallback
cinap_lenrek [Mon, 1 May 2017 18:22:23 +0000 (20:22 +0200)]
5e: fix special bitshift and rotations
cinap_lenrek [Mon, 1 May 2017 00:31:50 +0000 (02:31 +0200)]
vt(1): the "send" menu became "paste"
cinap_lenrek [Mon, 1 May 2017 00:18:09 +0000 (02:18 +0200)]
sshfs(4): fix bad cross reference
cinap_lenrek [Mon, 1 May 2017 00:15:03 +0000 (02:15 +0200)]
vgamach64xx: remove drawdebug reference
cinap_lenrek [Sun, 30 Apr 2017 22:03:01 +0000 (00:03 +0200)]
merge
cinap_lenrek [Sun, 30 Apr 2017 22:01:14 +0000 (00:01 +0200)]
ip/torrent: avoid requesting same chunks
instead of always just requesting the missing range
of the current piece, remember the workpiece offset
and request sequential chunks from the workpiece.
this avoids double requests of the same ranges when
the peer does not respond with the data immidiately.
spew [Sun, 30 Apr 2017 20:08:36 +0000 (15:08 -0500)]
libregexp: miscellaneous little cleanups
cinap_lenrek [Sun, 30 Apr 2017 16:28:06 +0000 (18:28 +0200)]
sshfs: fix -r / retulting in "//foo" paths, memory leaks, use estrdup9p()
just use cleanname() to implement pathcat(), which
handles double slashes and ".." elements already.
have to free the partial dir structue on error in
parsedir().
use estrdup9p() instead of strdup().
cinap_lenrek [Sun, 30 Apr 2017 02:06:03 +0000 (04:06 +0200)]
vnc: substitute iprint() with fprint(2, (gone from libmemdraw)
cinap_lenrek [Sat, 29 Apr 2017 23:51:07 +0000 (01:51 +0200)]
kernel: fix rewinding in directories with pread() offset
reading directories with pread() offset has to work the same
way as read(), otherwise exportfs breaks rewinding in directories.
cinap_lenrek [Sat, 29 Apr 2017 23:49:21 +0000 (01:49 +0200)]
lib9p: allow rewinding in 9pfile directories
cinap_lenrek [Sat, 29 Apr 2017 19:13:48 +0000 (21:13 +0200)]
libmemdraw: get rid of kernel iprint() emulation
cinap_lenrek [Sat, 29 Apr 2017 19:10:28 +0000 (21:10 +0200)]
libmemdraw/libmemlayer: get rid of drawdebug prints
cinap_lenrek [Sat, 29 Apr 2017 19:09:11 +0000 (21:09 +0200)]
devdraw: ignore drawdebug command
cinap_lenrek [Sat, 29 Apr 2017 19:03:52 +0000 (21:03 +0200)]
libdraw: get rid of _drawdebug variable
aiju [Sat, 29 Apr 2017 18:44:01 +0000 (18:44 +0000)]
sshfs: add -r and -M options
cinap_lenrek [Sat, 29 Apr 2017 15:28:35 +0000 (17:28 +0200)]
cwfs: allow "none" user to rename files
cinap_lenrek [Sat, 29 Apr 2017 14:25:48 +0000 (16:25 +0200)]
sshfs: don't crash when no /etc/password file could be read on the remote side
in a cygwin environment, theres no /etc/passwd file to
translate numeric uid/gid's. changing passwdparse() to
ignore nil string argument.
aiju [Fri, 28 Apr 2017 20:42:38 +0000 (20:42 +0000)]
sshfs: check correctly for directory bits; calculate parent directory correctly
aiju [Fri, 28 Apr 2017 18:45:32 +0000 (18:45 +0000)]
sshfs: reset SReq->reqid field to fix double-free of request ids
aiju [Fri, 28 Apr 2017 18:32:04 +0000 (18:32 +0000)]
sshfs: remove debug print
aiju [Fri, 28 Apr 2017 18:21:03 +0000 (18:21 +0000)]
sshfs: don't cache directory contents
aiju [Fri, 28 Apr 2017 17:15:20 +0000 (17:15 +0000)]
add sshfs(4) manpage
aiju [Fri, 28 Apr 2017 16:34:24 +0000 (16:34 +0000)]
sshfs: look up uid/gid from /etc/^(passwd group)
aiju [Fri, 28 Apr 2017 15:41:48 +0000 (15:41 +0000)]
add sshfs
aiju [Fri, 28 Apr 2017 15:41:39 +0000 (15:41 +0000)]
ssh: add support for subsystems
cinap_lenrek [Thu, 27 Apr 2017 18:06:00 +0000 (20:06 +0200)]
upas/fs: fix warning about unused Err: label
aiju [Thu, 27 Apr 2017 08:46:44 +0000 (08:46 +0000)]
games/md: copy updated cpu.c from blit
aiju [Thu, 27 Apr 2017 08:42:41 +0000 (08:42 +0000)]
add blit(1) manpage
aiju [Mon, 24 Apr 2017 23:26:43 +0000 (23:26 +0000)]
ssh: make number of retries configurable
aiju [Mon, 24 Apr 2017 23:16:59 +0000 (23:16 +0000)]
ssh: loop keyboard-interactive on failure
aiju [Mon, 24 Apr 2017 16:07:34 +0000 (16:07 +0000)]
ssh: fix typo
aiju [Mon, 24 Apr 2017 16:04:09 +0000 (16:04 +0000)]
ssh: add "none" method to find out list of acceptable methods
spew [Mon, 24 Apr 2017 15:50:03 +0000 (10:50 -0500)]
libavl: fix documentation
cinap_lenrek [Mon, 24 Apr 2017 00:21:43 +0000 (02:21 +0200)]
ssh(1): refer to thumbprint(6) for the sshthumbs file format
cinap_lenrek [Sun, 23 Apr 2017 23:46:22 +0000 (01:46 +0200)]
ssh: print the whole ssh-rsa hostkey in base64 when thumb check fails
in addition to the thumbprint, also print the whole
hostkey in base64 (same format as openssh uses) to
make verification easier.
cinap_lenrek [Sun, 23 Apr 2017 17:00:08 +0000 (19:00 +0200)]
libsec: sha256 support for thumbprint files, use it in ssh as well
initThumbprints() now takes an application tag argument
so x509 and ssh can coexist.
the thumbprint entries can now hold both sha1 and sha256
hashes. okThumbprint() now takes a len argument for the
hash length used.
the new function okCertificate() hashes the certificate
with both and checks for any matches.
on failure, okCertificate() returns 0 and sets error string.
we also check for include loops now in thumbfiles, limiting
the number of includes to 8.
cinap_lenrek [Sun, 23 Apr 2017 16:42:26 +0000 (18:42 +0200)]
upas/fs: don't abort on malformed unix header
cinap_lenrek [Sun, 23 Apr 2017 01:31:20 +0000 (03:31 +0200)]
ssh(1): add $home/lib/thumbfile to FILE section
cinap_lenrek [Sun, 23 Apr 2017 00:59:32 +0000 (02:59 +0200)]
ssh: document thumbfile options
cinap_lenrek [Sun, 23 Apr 2017 00:54:41 +0000 (02:54 +0200)]
ssh: implement primitive hostkey verification
this checks $home/lib/sshthumbs for the sha256 hash
of the hosts rsa public key. if its not there, it
prints the rc command to add it and exits.
cinap_lenrek [Sat, 22 Apr 2017 23:11:12 +0000 (01:11 +0200)]
ssh(1): add bugs section about host not being authenticated
cinap_lenrek [Sat, 22 Apr 2017 22:42:33 +0000 (00:42 +0200)]
ssh(1): initial documentation, needs examples for authentication
cinap_lenrek [Sat, 22 Apr 2017 20:52:34 +0000 (22:52 +0200)]
vt: handle underline attribute
cinap_lenrek [Sat, 22 Apr 2017 20:21:47 +0000 (22:21 +0200)]
merge
cinap_lenrek [Sat, 22 Apr 2017 20:19:17 +0000 (22:19 +0200)]
vt: handle nocolor flag and reversed background colors
spew [Sat, 22 Apr 2017 19:28:34 +0000 (14:28 -0500)]
merge
spew [Sat, 22 Apr 2017 19:28:02 +0000 (14:28 -0500)]
replica: use libavl for avl tree implementation
cinap_lenrek [Sat, 22 Apr 2017 19:07:53 +0000 (21:07 +0200)]
vt: handle insert/delete/home/end keys for vt220/xterm
spew [Sat, 22 Apr 2017 18:59:37 +0000 (13:59 -0500)]
libavl: lookup can return the closest match
cinap_lenrek [Sat, 22 Apr 2017 18:16:07 +0000 (20:16 +0200)]
vt: handle application/normal mode (really fixes cursor keys)
cinap_lenrek [Sat, 22 Apr 2017 16:21:57 +0000 (18:21 +0200)]
merge
cinap_lenrek [Sat, 22 Apr 2017 16:01:49 +0000 (18:01 +0200)]
vt: fix xterm cursor keys
cinap_lenrek [Sat, 22 Apr 2017 00:42:16 +0000 (02:42 +0200)]
merge
cinap_lenrek [Sat, 22 Apr 2017 00:41:00 +0000 (02:41 +0200)]
vt: fix background drawing
mischief [Fri, 21 Apr 2017 22:09:50 +0000 (15:09 -0700)]
nusb/ptp: treat any assocation as a directory
previously nusb/ptp showed only 'generic folder' association type as directories, but all associations work as directories. tested with LG G5/android 7.0
cinap_lenrek [Fri, 21 Apr 2017 17:25:25 +0000 (19:25 +0200)]
merge
cinap_lenrek [Fri, 21 Apr 2017 17:23:56 +0000 (19:23 +0200)]
ssh: actually handle flow control and channel id's
aiju [Fri, 21 Apr 2017 17:16:44 +0000 (17:16 +0000)]
fix yacc bug (found by dan cross)
cinap_lenrek [Thu, 20 Apr 2017 23:45:11 +0000 (01:45 +0200)]
ssh: increase initial window size for better throughput
cinap_lenrek [Thu, 20 Apr 2017 22:23:46 +0000 (00:23 +0200)]
rsa(8): fix description of rsa2ssh (now, ssh2 format only)
cinap_lenrek [Thu, 20 Apr 2017 22:09:30 +0000 (00:09 +0200)]
ssh: cleanup debug messages
cinap_lenrek [Thu, 20 Apr 2017 21:45:56 +0000 (23:45 +0200)]
ssh: do not try authentication methods that we know are not possible
cinap_lenrek [Thu, 20 Apr 2017 20:28:21 +0000 (22:28 +0200)]
ssh: implement password and keyboard-interactive authentication methods
cinap_lenrek [Wed, 19 Apr 2017 20:34:47 +0000 (22:34 +0200)]
vt: cursoron, don't resize winow when replying history
cinap_lenrek [Wed, 19 Apr 2017 19:03:26 +0000 (21:03 +0200)]
ssh: fix locking, and key reexchange handling
when we initiate re-key exchange we data packets can still
come in. so instead we have everything that can come in all
the time in dispatch() function (including KEXINIT) and have
the receiver process just call that in a loop. exclude dispatch
and the sender proc from corrupting each others sendpkt() calls
with the QLock sl.
stanley lieber [Wed, 19 Apr 2017 17:38:30 +0000 (13:38 -0400)]
/lib/rob, /lib/theo: I don't think so.
aiju [Wed, 19 Apr 2017 10:16:00 +0000 (10:16 +0000)]
remove accidentally pushed change to .hgignore
aiju [Wed, 19 Apr 2017 10:13:36 +0000 (10:13 +0000)]
blit: always show top-left corner; add tony kaku's -m flag
aiju [Wed, 19 Apr 2017 09:00:44 +0000 (09:00 +0000)]
change cpurc to look for service folder in /cfg/$sysname and /cfg/default
aiju [Wed, 19 Apr 2017 08:51:18 +0000 (08:51 +0000)]
disable all services except 17019, 17020 by default
cinap_lenrek [Wed, 19 Apr 2017 00:18:28 +0000 (02:18 +0200)]
vt: but not too fast :-)
if drawing can't keep up with the host, make sure we
eventually redraw the screen and check for user events.
cinap_lenrek [Tue, 18 Apr 2017 23:46:20 +0000 (01:46 +0200)]
vt: make it fast
cinap_lenrek [Tue, 18 Apr 2017 01:13:15 +0000 (03:13 +0200)]
vt: send interrupt on exit, open logfile OCEXEC, run host after environment got exported, send rest of arguments to host
cinap_lenrek [Tue, 18 Apr 2017 01:06:39 +0000 (03:06 +0200)]
ssh: close the channel when vt hangs up
cinap_lenrek [Mon, 17 Apr 2017 22:21:51 +0000 (00:21 +0200)]
vt: allow for a bit of buffering
cinap_lenrek [Mon, 17 Apr 2017 22:18:03 +0000 (00:18 +0200)]
vt: convert from event to threads
the event library doesnt do any flow control. if the host
keeps sending data while the user is mousing arround,
extract() will collect the data until memory fills up.
so instead we abandon the event library and convert
the program to use channels.