]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
9 years agofortunes: it´s easy but you are complicated
stanley lieber [Sun, 10 Aug 2014 23:04:20 +0000 (19:04 -0400)]
fortunes: it´s easy but you are complicated

9 years agofs(8): correct spelling
stanley lieber [Sun, 10 Aug 2014 23:00:55 +0000 (19:00 -0400)]
fs(8): correct spelling

9 years agocwfs: add optional uid argument to allow command, unify permission override code
cinap_lenrek [Mon, 11 Aug 2014 20:36:59 +0000 (22:36 +0200)]
cwfs: add optional uid argument to allow command, unify permission override code

the allow command now takes an optional uid argument for the user
to be granted temporary god status on the fileserver for maintenance.

this was kenji okomotos idea, so thanks :)

remove wstatallow and writeallow flags. instead, we have global:

int allowed;

that contains the uid of the currently allowed user id or -1
if permission checking is globally disabled for the fileserver.
when zero, normal permission checking takes place.

added int isallowed(File*) function that returns non-zero when the
context is the console, or the allowed user. this is also used internally
by iaccess(), so all the extra code of in the callers of iaccess()
is gone now.

dont conflate allowed user with noauth flag and auto-allow on ream.
the installer already knows about noauth and allow flags so theres no
problem with bootstraping.

9 years ago5a: MOVM.IA.W.S ..., [R15] is exception return and needs to be allowed (thanks aiju)
cinap_lenrek [Sat, 9 Aug 2014 16:23:14 +0000 (18:23 +0200)]
5a: MOVM.IA.W.S ..., [R15] is exception return and needs to be allowed (thanks aiju)

9 years agocwfs: fix 32bit multiplication overflows for allocation sizes (thanks kenji okomoto)
cinap_lenrek [Sat, 9 Aug 2014 15:37:02 +0000 (17:37 +0200)]
cwfs: fix 32bit multiplication overflows for allocation sizes (thanks kenji okomoto)

9 years ago5a: reject MOVM instruction with .S and .W bits both set (aijus idea)
cinap_lenrek [Sat, 9 Aug 2014 20:47:46 +0000 (22:47 +0200)]
5a: reject MOVM instruction with .S and .W bits both set (aijus idea)

9 years agokernel: more nil vs 0 cleanup in chan.c
cinap_lenrek [Fri, 8 Aug 2014 15:02:10 +0000 (17:02 +0200)]
kernel: more nil vs 0 cleanup in chan.c

9 years agokernel: use nil for pointers instead of 0, zero channel umc and dirrock in newchan()
cinap_lenrek [Fri, 8 Aug 2014 14:44:41 +0000 (16:44 +0200)]
kernel: use nil for pointers instead of 0, zero channel umc and dirrock in newchan()

9 years agondb/dns: fix nil dereference crash with convM2DNS() returning reqmsg.qd == nil
cinap_lenrek [Fri, 8 Aug 2014 00:06:03 +0000 (02:06 +0200)]
ndb/dns: fix nil dereference crash with convM2DNS() returning reqmsg.qd == nil

9 years agodevmnt: fix potential race with mntflushfree(), remove mntstats, 0 vs nil cleanup
cinap_lenrek [Fri, 8 Aug 2014 21:28:47 +0000 (23:28 +0200)]
devmnt: fix potential race with mntflushfree(), remove mntstats, 0 vs nil cleanup

when mountmux() completes a request for another process, enforce odering
of the loads and stores to the request prior to writing q->done = 1
so mntflushfree() sees q->done != 0 only when the request has actually
completed. otherwise, the q->done = 1 store could have been reordered
before the load from q->z, reading from already freed request and causing
spurious wakeups.

removing unused mntstats callback.

use nil for pointers instead of 0.

9 years ago8c, 6c: generate enam.c file, just like 5c
cinap_lenrek [Thu, 7 Aug 2014 19:35:52 +0000 (21:35 +0200)]
8c, 6c: generate enam.c file, just like 5c

9 years agopc, pc64: make pc kaddr() check reject -KZERO address (thanks aiju)
cinap_lenrek [Thu, 7 Aug 2014 19:11:11 +0000 (21:11 +0200)]
pc, pc64: make pc kaddr() check reject -KZERO address (thanks aiju)

9 years ago5a, 5l: add LDREX/STREX/CLREX instructions
cinap_lenrek [Thu, 7 Aug 2014 18:22:00 +0000 (20:22 +0200)]
5a, 5l: add LDREX/STREX/CLREX instructions

9 years agopc64: fix wrong Ureg* argument on note handler (thanks _sl!)
cinap_lenrek [Thu, 7 Aug 2014 17:55:25 +0000 (19:55 +0200)]
pc64: fix wrong Ureg* argument on note handler (thanks _sl!)

_sl reported crash:

stats 593: suicide: sys: trap: fault write addr=0xffffffff8258d1b0 pc=0x204cc7

; acid 593
/proc/593/text:amd64 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/amd64
acid: lstk()
notejmp(ret=0x1,j=0x40ac90)+0x13 /sys/src/libc/amd64/notejmp.c:10
alarmed(a=0xffffffff8258d1b0,s=0x7ffffeffea58)+0x3f /sys/src/cmd/stats.c:718
notifier+0x3e /sys/src/libc/port/atnotify.c:15
acid:

note how a in alarmed is a kernel address!

the first Ureg* argument is passed to the note handler in the
RARG (BX) register, which was not loaded when returning to
userspace from syscall() thru forkret(). fix by returning thru
noteret() from syscall().

9 years agosamterm: fix ctrl-b crash when cmd window resized (thanks revex)
cinap_lenrek [Mon, 4 Aug 2014 07:33:23 +0000 (09:33 +0200)]
samterm: fix ctrl-b crash when cmd window resized (thanks revex)

for reference:

On IRC revex reported that samterm crashes on Ctrl-b if the command window has
been resized. I was able to reproduce:

http://plan9.stanleylieber.com/sam/bugs/ctrl-b.png

; acid 831213
/proc/831213/text:amd64 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/amd64
acid: lstk()
abort()+0x0 /sys/src/libc/9sys/abort.c:6
panic1(s=0x400448)+0x27 /sys/src/cmd/samterm/main.c:692
panic()+0x19 /sys/src/cmd/samterm/main.c:684
lldelete()+0x71 /sys/src/cmd/samterm/flayer.c:221
flupfront(l=0x40eac0)+0x18 /sys/src/cmd/samterm/flayer.c:139
v=0x20062900000001
current(nw=0x40eac0)+0x49 /sys/src/cmd/samterm/main.c:156
type(l=0x40eac0,res=0x15300000001)+0x37c /sys/src/cmd/samterm/main.c:658
t=0x40eaa8
buf=0x419ec0
p=0x41dd48
a=0x0
backspacing=0x200000000
c=0x41dd4800000002
cursor=0x0
a0=0x0
threadmain(argv=0x7ffffeffefa0)+0x21c /sys/src/cmd/samterm/main.c:75
r=0xb0000001b1
got=0xfefefefe00000002
chord=0x0
nwhich=0x43c310
scr=0x200000000
t=0xfefefefefefefefe
w=0x43c310fefefefe
mainlauncher()+0x18 /sys/src/libthread/main.c:59
launcheramd64(arg=0x4194a0,f=0x221673)+0x10 /sys/src/libthread/amd64.c:11
0xfefefefefefefefe ?file?:0
acid:

9 years agoiostats: properly distribute exit status and give usefull error messages
cinap_lenrek [Sun, 3 Aug 2014 15:09:28 +0000 (17:09 +0200)]
iostats: properly distribute exit status and give usefull error messages

9 years agoiostats: remove unused fcallfmt, dont leak our mount pipe end into exportfs proc
cinap_lenrek [Sun, 3 Aug 2014 14:28:07 +0000 (16:28 +0200)]
iostats: remove unused fcallfmt, dont leak our mount pipe end into exportfs proc

9 years agoiostats: bring back standard filedescriptor spying
cinap_lenrek [Sun, 3 Aug 2014 14:02:47 +0000 (16:02 +0200)]
iostats: bring back standard filedescriptor spying

9 years agoexportfs: simplify freefile() code
cinap_lenrek [Sat, 2 Aug 2014 17:22:10 +0000 (19:22 +0200)]
exportfs: simplify freefile() code

remove impossible checks, rewrite as while loop.

9 years agoexportfs: remove getsbuf() nil check, can't happen
cinap_lenrek [Sat, 2 Aug 2014 17:04:33 +0000 (19:04 +0200)]
exportfs: remove getsbuf() nil check, can't happen

9 years agoiostats: isolate fs from interrupt notes
cinap_lenrek [Sat, 2 Aug 2014 16:45:19 +0000 (18:45 +0200)]
iostats: isolate fs from interrupt notes

interrupt notes go to the child process, not the filesystem
and filter process.

9 years agoiostats: cannot spy on fd 0,1,2 as /fd is per process
cinap_lenrek [Sat, 2 Aug 2014 13:47:24 +0000 (15:47 +0200)]
iostats: cannot spy on fd 0,1,2 as /fd is per process

9 years agoexportfs: cleanup
cinap_lenrek [Sat, 2 Aug 2014 13:07:29 +0000 (15:07 +0200)]
exportfs: cleanup

9 years agoftpfs: dont convert names to latin when string is valid utf-8
cinap_lenrek [Sat, 2 Aug 2014 12:37:16 +0000 (14:37 +0200)]
ftpfs: dont convert names to latin when string is valid utf-8

9 years agopython: disable symlink and readlink compile options, ape has no reasonable way emula...
cinap_lenrek [Sat, 2 Aug 2014 12:28:19 +0000 (14:28 +0200)]
python: disable symlink and readlink compile options, ape has no reasonable way emulating it

9 years agoiostats: dont prefix /bin to argv[0] when already absolute or relative path
cinap_lenrek [Sat, 2 Aug 2014 01:06:09 +0000 (03:06 +0200)]
iostats: dont prefix /bin to argv[0] when already absolute or relative path

9 years agoiostats: cleanup, remove bogus Maxrpc constant
cinap_lenrek [Sat, 2 Aug 2014 00:41:57 +0000 (02:41 +0200)]
iostats: cleanup, remove bogus Maxrpc constant

9 years agoiostats: reimplement iostats as a 9p filter instead of duplicating exportfs
cinap_lenrek [Sat, 2 Aug 2014 00:30:19 +0000 (02:30 +0200)]
iostats: reimplement iostats as a 9p filter instead of duplicating exportfs

old iostats failed to work when builidng the kernel due to old bugs
that where already fixed in exportfs. instead of backporting the fixes,
reimplement iostats as a filter that sits between exportfs and the
process mount. from users perspective, theres no difference.

the result is much smaller and can handle everything that exportfs
can like /srv.

9 years agousps: yet another update
ftrvxmtrx [Fri, 1 Aug 2014 18:44:58 +0000 (20:44 +0200)]
usps: yet another update

9 years agoexportfs: use argv0 instead of hardcoding "/bin/exportfs" in openmount(), dont use...
cinap_lenrek [Fri, 1 Aug 2014 14:57:39 +0000 (16:57 +0200)]
exportfs: use argv0 instead of hardcoding "/bin/exportfs" in openmount(), dont use 0 for nil

9 years agospred: scrolling and other bugfixes
aiju [Thu, 31 Jul 2014 09:36:24 +0000 (11:36 +0200)]
spred: scrolling and other bugfixes

9 years agofstype: fix kfs detection (thanks kenji okomoto)
cinap_lenrek [Wed, 30 Jul 2014 18:34:45 +0000 (20:34 +0200)]
fstype: fix kfs detection (thanks kenji okomoto)

9 years agofortunes: From: urielc@cantv.net
stanley lieber [Wed, 30 Jul 2014 16:11:58 +0000 (12:11 -0400)]
fortunes: From: urielc@cantv.net

9 years agospred(1): fix troff
stanley lieber [Wed, 30 Jul 2014 16:09:35 +0000 (12:09 -0400)]
spred(1): fix troff

9 years agoadded sprite editor spred
aiju [Wed, 30 Jul 2014 13:57:14 +0000 (15:57 +0200)]
added sprite editor spred

9 years agofstype(1): document hjfs
stanley lieber [Wed, 30 Jul 2014 02:32:16 +0000 (22:32 -0400)]
fstype(1): document hjfs

9 years agorc: fix slow Xqdol(), avoid recursion in conclist(), estrdup(), avoid copying
cinap_lenrek [Wed, 23 Jul 2014 13:28:37 +0000 (15:28 +0200)]
rc: fix slow Xqdol(), avoid recursion in conclist(), estrdup(), avoid copying

Xqdol() used to take quadratic time because of strcat(),
the code isnt really needed as list2str() aready does the
same thing in linear time without the strcat().

add estrdup() which uses emalloc() so allocation error are
catched.

move strdups() of name from callers into newvar().

avoid recursion of conclist(), and avoid copying of word
strings by providing Newword() function which doesnt copy
the word string.

9 years agoratrace(1): uses syscall not syscalltrace file
mischief [Wed, 23 Jul 2014 06:40:53 +0000 (23:40 -0700)]
ratrace(1): uses syscall not syscalltrace file

9 years agofortunes: I wanted to do something that didn't involve arguing online about trivia...
stanley lieber [Tue, 22 Jul 2014 22:41:36 +0000 (18:41 -0400)]
fortunes: I wanted to do something that didn't involve arguing online about trivia. -- jwz

9 years agosega(1): add man page for games/md (and potential future sega emulators)
stanley lieber [Tue, 22 Jul 2014 22:29:33 +0000 (18:29 -0400)]
sega(1): add man page for games/md (and potential future sega emulators)

9 years agonintendo(1): document snes
stanley lieber [Tue, 22 Jul 2014 21:44:46 +0000 (17:44 -0400)]
nintendo(1): document snes

9 years agogames/md: add -2 -3 -a and trailing newline to usage
stanley lieber [Tue, 22 Jul 2014 21:38:44 +0000 (17:38 -0400)]
games/md: add -2 -3 -a and trailing newline to usage

9 years agogames/snes: add -a -h -m -T to usage
stanley lieber [Tue, 22 Jul 2014 21:00:32 +0000 (17:00 -0400)]
games/snes: add -a -h -m -T to usage

9 years agoratrace: make multithreaded ratraces less confusing (for mischief)
cinap_lenrek [Tue, 22 Jul 2014 19:54:26 +0000 (21:54 +0200)]
ratrace: make multithreaded ratraces less confusing (for mischief)

9 years agolibdraw: add missing borderop() (thanks aiju)
cinap_lenrek [Mon, 21 Jul 2014 16:10:58 +0000 (18:10 +0200)]
libdraw: add missing borderop() (thanks aiju)

9 years agopc64: cleanup syscallentry()
cinap_lenrek [Mon, 21 Jul 2014 16:02:14 +0000 (18:02 +0200)]
pc64: cleanup syscallentry()

avoid the stack shuffeling and make syscallentry() and
forkret() use the same stack offsets.

9 years agopc64: dont save/restore DS/ES/FS/GS segment registers on syscall or interrupt, they...
cinap_lenrek [Sun, 20 Jul 2014 00:59:45 +0000 (02:59 +0200)]
pc64: dont save/restore DS/ES/FS/GS segment registers on syscall or interrupt, they are ignored in long mode.

we do not support 32 bit processes and DS, ES, FS and GS segment
registers are ignored in long mode, so theres no point in saving
and restoring them.

9 years agopc64: preserve user extern registers R14 and R15 across syscalls, use Ureg.bp (RARG...
cinap_lenrek [Sun, 20 Jul 2014 20:49:02 +0000 (22:49 +0200)]
pc64: preserve user extern registers R14 and R15 across syscalls, use Ureg.bp (RARG) for syscall number

the 6c compiler reserves R14 and R15 for extern register variables,
which is used by the kernel to hold the m and up pointers. until
now, the meaning of R14 and R15 was undefined for userspace and
extern register would not work as the kernel trashes R14 and R15
on syscalls. with this change, user extern registers R14 and R15
are zeroed on exec and otherwise preserved across syscalls. so
userspace *could* use them for per process variables like the
kernel does.

use Ureg.bp (RARG) for syscall number instead of Ureg.ax. this is
less confusing and mirrors the amd64 calling convention.

9 years agoa.out(6): sync definitions
mischief [Fri, 18 Jul 2014 06:22:48 +0000 (23:22 -0700)]
a.out(6): sync definitions

9 years agolibframe: use correct text color on frinsert depending on selection (thanks sl)
cinap_lenrek [Thu, 17 Jul 2014 21:29:55 +0000 (23:29 +0200)]
libframe: use correct text color on frinsert depending on selection (thanks sl)

frinsert() used cols[TEXT] for drawing selected text instead of the
HTEXT color. this was discovered with rio -b.

9 years agopage: fix deadlock with addpage (thanks BurnZeZ for the stacktraces)
cinap_lenrek [Tue, 15 Jul 2014 18:45:00 +0000 (20:45 +0200)]
page: fix deadlock with addpage (thanks BurnZeZ for the stacktraces)

addpage() should not be called with the display locked as it
calls showpage1() which sleeps when there are too many
processes active.

the bug was triggered by plumbing to trigger the addpage().

9 years agodevproc: nil
cinap_lenrek [Tue, 15 Jul 2014 16:51:58 +0000 (18:51 +0200)]
devproc: nil

9 years agodevproc: fix syscalltrace error handling, conistent use of nil for pointers
cinap_lenrek [Tue, 15 Jul 2014 05:54:22 +0000 (07:54 +0200)]
devproc: fix syscalltrace error handling, conistent use of nil for pointers

9 years agodevproc: fix mistake
cinap_lenrek [Mon, 14 Jul 2014 04:45:23 +0000 (06:45 +0200)]
devproc: fix mistake

9 years agodevproc: fix proccrlmemio bugs
cinap_lenrek [Mon, 14 Jul 2014 04:02:21 +0000 (06:02 +0200)]
devproc: fix proccrlmemio bugs

dont kill the calling process when demand load fails if fixfault()
is called from devproc. this happens when you delete the binary
of a running process and try to debug the process accessing uncached
pages thru /proc/$pid/mem file.

fixes to procctlmemio():

- fix missed unlock as txt2data() can error
- make sure the segment isnt freed by taking a reference (under p->seglock)
- access the page with segment locked (see comment)
- get rid of the segment stealer lock

other stuff:

- move txt2data() and data2txt() to segment.c
- add procpagecount() function
- make return type mcounseg() to ulong

9 years agolibmach: fix break point instruction for little endian MIPS (from sources)
cinap_lenrek [Sat, 12 Jul 2014 23:24:55 +0000 (01:24 +0200)]
libmach: fix break point instruction for little endian MIPS (from sources)

fix break point instruction for little endian MIPS in
libmach. (patch /n/sources/patch/libmach-mipsle-bpinst)

9 years agotftpfs: make sure path is null terminated
cinap_lenrek [Sat, 12 Jul 2014 23:17:48 +0000 (01:17 +0200)]
tftpfs: make sure path is null terminated

9 years agomerge
cinap_lenrek [Sat, 12 Jul 2014 23:05:01 +0000 (01:05 +0200)]
merge

9 years agoftpd: dont skip unmountnet() and return proper error string from dialdata()
cinap_lenrek [Sat, 12 Jul 2014 23:03:17 +0000 (01:03 +0200)]
ftpd: dont skip unmountnet() and return proper error string from dialdata()

9 years agotftpd: fix error string packet overflow in nak(), fix syslog reporting
cinap_lenrek [Sat, 12 Jul 2014 23:00:02 +0000 (01:00 +0200)]
tftpd: fix error string packet overflow in nak(), fix syslog reporting

9 years agorc-httpd/handlers/serve-static: restore simple test for file type and hardcode max_ag...
stanley lieber [Sat, 12 Jul 2014 03:24:27 +0000 (23:24 -0400)]
rc-httpd/handlers/serve-static: restore simple test for file type and hardcode max_age to 1 hour (thanks eekee)

9 years agoexpr: fix missing type declarations for match(), which broke on amd64 as pointers...
cinap_lenrek [Sat, 12 Jul 2014 01:02:21 +0000 (03:02 +0200)]
expr: fix missing type declarations for match(), which broke on amd64 as pointers dont fit into a long

9 years agokernel: only complain about no images when theres nothing more to reclaim
cinap_lenrek [Fri, 11 Jul 2014 01:57:21 +0000 (03:57 +0200)]
kernel: only complain about no images when theres nothing more to reclaim

uncaching a thousand pages (arround 4MB) might not be
enougth. so keep on reclaiming pages and only complain
once theres nothing more to reclaim.

9 years agosysinfo: add cpuid info
cinap_lenrek [Fri, 11 Jul 2014 21:20:15 +0000 (23:20 +0200)]
sysinfo: add cpuid info

9 years agopkg(1): add mischief's repositories
stanley lieber [Wed, 9 Jul 2014 23:48:59 +0000 (19:48 -0400)]
pkg(1): add mischief's repositories

9 years agoAdd AHCI support for Intel 8 Series/C220 Series Chipset Family SATA Controller. ...
cinap_lenrek [Wed, 9 Jul 2014 22:07:51 +0000 (00:07 +0200)]
Add AHCI support for Intel 8 Series/C220 Series Chipset Family SATA Controller. (from sources)

9 years agoAdd Intel C226 chipset PCI support. (from sources)
cinap_lenrek [Wed, 9 Jul 2014 22:07:09 +0000 (00:07 +0200)]
Add Intel C226 chipset PCI support. (from sources)

9 years agoabaco: fix double free race of p->status string (thanks BurnZeZ for the proc snap)
cinap_lenrek [Wed, 9 Jul 2014 21:55:54 +0000 (23:55 +0200)]
abaco: fix double free race of p->status string (thanks BurnZeZ for the proc snap)

9 years agopc, pc64: initial machine check architecture support
cinap_lenrek [Wed, 9 Jul 2014 20:45:51 +0000 (22:45 +0200)]
pc, pc64: initial machine check architecture support

9 years agobcm: apply richards fix for mmukmap (from /n/sources/patch/bcm-mmukmap-bug)
cinap_lenrek [Tue, 8 Jul 2014 19:57:35 +0000 (21:57 +0200)]
bcm: apply richards fix for mmukmap (from /n/sources/patch/bcm-mmukmap-bug)

9 years agonusb/serial: implement flushes
cinap_lenrek [Sat, 5 Jul 2014 06:17:37 +0000 (08:17 +0200)]
nusb/serial: implement flushes

handle reads and writes with 9pqueue(2) so they can
be flushed and wont hang the filesystem. this also
lets us get rid of the timeouts.

ftdi is still full of braindamage that should be
rewritten, but i dont have a device to test.

9 years agonusb/serial: more cleanup
cinap_lenrek [Sat, 5 Jul 2014 04:01:03 +0000 (06:01 +0200)]
nusb/serial: more cleanup

9 years agosupport for huawei e220 g3 modem, cleanup nusb/serial
cinap_lenrek [Sat, 5 Jul 2014 21:19:13 +0000 (23:19 +0200)]
support for huawei e220 g3 modem, cleanup nusb/serial

9 years agondb/common: add ipv6-icmp, ipv6-nonxt, ipv6-opts, bootps
stanley lieber [Thu, 3 Jul 2014 16:03:40 +0000 (12:03 -0400)]
ndb/common: add ipv6-icmp, ipv6-nonxt, ipv6-opts, bootps

9 years agomerge
cinap_lenrek [Wed, 2 Jul 2014 23:11:05 +0000 (01:11 +0200)]
merge

9 years ago9pqueue(2): english
stanley lieber [Wed, 2 Jul 2014 23:01:20 +0000 (19:01 -0400)]
9pqueue(2): english

9 years ago9p(2): add reference to 9pqueue(2)
cinap_lenrek [Wed, 2 Jul 2014 22:57:40 +0000 (00:57 +0200)]
9p(2): add reference to 9pqueue(2)

9 years agoadd 9pqueue(2), medium to low quality manpage.
cinap_lenrek [Wed, 2 Jul 2014 22:47:10 +0000 (00:47 +0200)]
add 9pqueue(2), medium to low quality manpage.

9 years agoremove executable bit from /sys/src/lib9p/ramfs.c
cinap_lenrek [Wed, 2 Jul 2014 22:17:28 +0000 (00:17 +0200)]
remove executable bit from /sys/src/lib9p/ramfs.c

9 years agomerge
Aram Hăvărneanu [Tue, 1 Jul 2014 09:21:47 +0000 (11:21 +0200)]
merge

9 years agoacid: fix notestk() on amd64
Aram Hăvărneanu [Tue, 1 Jul 2014 09:20:55 +0000 (11:20 +0200)]
acid: fix notestk() on amd64

Use Ureg->pc instead of Ureg->ir.

10 years agoauthsrv(6): fix typos (from /n/sources/patch/authsrv-6-typos)
cinap_lenrek [Mon, 30 Jun 2014 06:27:51 +0000 (08:27 +0200)]
authsrv(6): fix typos (from /n/sources/patch/authsrv-6-typos)

10 years agofortunes: Subject: ftp(1) User-Agent
stanley lieber [Sun, 29 Jun 2014 19:01:44 +0000 (15:01 -0400)]
fortunes: Subject: ftp(1) User-Agent

10 years agonusbrc: ensure rpi ethernet always appears as /net/etherU0
stanley lieber [Sun, 29 Jun 2014 18:58:03 +0000 (14:58 -0400)]
nusbrc: ensure rpi ethernet always appears as /net/etherU0

10 years agonusb: fix spelling, sorry
cinap_lenrek [Sat, 28 Jun 2014 17:55:14 +0000 (19:55 +0200)]
nusb: fix spelling, sorry

10 years agomerge
cinap_lenrek [Sat, 28 Jun 2014 16:11:04 +0000 (18:11 +0200)]
merge

10 years agonusb: implement aijus stable uniqueue device names
cinap_lenrek [Sat, 28 Jun 2014 16:09:43 +0000 (18:09 +0200)]
nusb: implement aijus stable uniqueue device names

instead of naming devices by ther dynamically assigned device address,
we hash device uniqueue fields from the device descriptor and produce
a 5 digit hex string that will identify the device across machines.

when there is a collision (less than 1% chance with 100 devices),
usbd will append the device address to the name to make it uniqueue
for this machine.

the hname is passed to drivers in the devid argument, which now has
the form addr:hname, where the colon and hname can be omited (for backwards
compatibility).

when the new behaviour isnt desired, nousbhname= environment variable
can be defined giving the old behaviour.

10 years agoiostats: more procs
cinap_lenrek [Sat, 28 Jun 2014 15:53:57 +0000 (17:53 +0200)]
iostats: more procs

10 years agomerge
mischief [Sat, 28 Jun 2014 06:51:14 +0000 (23:51 -0700)]
merge

10 years agounzip: fix usage
mischief [Sat, 28 Jun 2014 06:50:42 +0000 (23:50 -0700)]
unzip: fix usage

10 years agoptp: fix alignment assumptions for amd64
cinap_lenrek [Fri, 27 Jun 2014 23:36:37 +0000 (01:36 +0200)]
ptp: fix alignment assumptions for amd64

10 years agoupas/fs: disable imap mail fetch pipeline due to race
mischief [Thu, 26 Jun 2014 05:06:29 +0000 (22:06 -0700)]
upas/fs: disable imap mail fetch pipeline due to race

pipeline = 1 with a dovecot imap server causes FETCH and OK responses
get interleaved so some message bodies accidentally get merged together.
disabling it will make fetching mail over imap slower, but it works.

10 years agoxen: delete screen.h from pc that accidentally snuck in. a screen.h for xen framebuff...
mischief [Wed, 25 Jun 2014 23:56:39 +0000 (16:56 -0700)]
xen: delete screen.h from pc that accidentally snuck in. a screen.h for xen framebuffer will be added later.

10 years agoxen: fix boot argv0
mischief [Wed, 25 Jun 2014 23:03:08 +0000 (16:03 -0700)]
xen: fix boot argv0

10 years agoxen: gotta go fast
mischief [Wed, 25 Jun 2014 22:47:31 +0000 (15:47 -0700)]
xen: gotta go fast

use smaller timeouts for sleeps while waiting for xen ether and sd devices to come online. in practice they come up very quickly.

10 years agoxen: correct print format for long
mischief [Wed, 25 Jun 2014 22:45:04 +0000 (15:45 -0700)]
xen: correct print format for long

10 years agosam: mark samsave executable
mischief [Wed, 25 Jun 2014 10:13:52 +0000 (03:13 -0700)]
sam: mark samsave executable

sam generates $home/sam.save for modified files. it expects /sys/lib/samsave to be executable to restore the modified files.

10 years agoxen: fix early console
mischief [Wed, 25 Jun 2014 02:37:03 +0000 (19:37 -0700)]
xen: fix early console

10 years agoimport xen 32 bit paravirtual kernel from /n/sources/xen.
mischief [Wed, 25 Jun 2014 01:02:25 +0000 (18:02 -0700)]
import xen 32 bit paravirtual kernel from /n/sources/xen.

10 years agokernel: more proc.c cleanup
cinap_lenrek [Mon, 23 Jun 2014 19:51:34 +0000 (21:51 +0200)]
kernel: more proc.c cleanup