]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
5 years agoupas/ned: fix %.*s format in parsesearch(), improve mkfile
cinap_lenrek [Mon, 25 Feb 2019 02:34:25 +0000 (03:34 +0100)]
upas/ned: fix %.*s format in parsesearch(), improve mkfile

5 years agoupas/scanmail: fix %.*s format in xprint(), improve mkfile
cinap_lenrek [Mon, 25 Feb 2019 02:31:50 +0000 (03:31 +0100)]
upas/scanmail: fix %.*s format in xprint(), improve mkfile

5 years agoupas/smtp: fix %.*s format for challenge in smtpcram()
cinap_lenrek [Mon, 25 Feb 2019 02:29:19 +0000 (03:29 +0100)]
upas/smtp: fix %.*s format for challenge in smtpcram()

the challenge should already be in ASCII format,
but better safe than sorry.

5 years agovt: fix %.*s in sendncars()
cinap_lenrek [Mon, 25 Feb 2019 02:25:36 +0000 (03:25 +0100)]
vt: fix %.*s in sendncars()

5 years agowebfs: properly handle %.*s in url path and debug prints
cinap_lenrek [Mon, 25 Feb 2019 02:21:09 +0000 (03:21 +0100)]
webfs: properly handle %.*s in url path and debug prints

5 years agossh: don't assume error messages are ASCII. format number of complete runes, not...
cinap_lenrek [Mon, 25 Feb 2019 00:19:44 +0000 (01:19 +0100)]
ssh: don't assume error messages are ASCII. format number of complete runes, not bytes.

5 years agoip/tinc: fix mistake from previous commit
cinap_lenrek [Fri, 15 Feb 2019 01:16:31 +0000 (02:16 +0100)]
ip/tinc: fix mistake from previous commit

5 years agolibip: prefer v4 over v6 for myipaddr()
cinap_lenrek [Wed, 13 Feb 2019 17:56:21 +0000 (18:56 +0100)]
libip: prefer v4 over v6 for myipaddr()

myipaddr() is used in legacy applications that assume a
single ip address per host. so prefer to retun a v4
address over a v6 one.

5 years agodevip: remove unused eipconvtet.c and ptclbsum.c files
cinap_lenrek [Wed, 13 Feb 2019 16:42:20 +0000 (17:42 +0100)]
devip: remove unused eipconvtet.c and ptclbsum.c files

5 years agodevip: ipv6 loopback ::1 has link-local scope
cinap_lenrek [Wed, 13 Feb 2019 07:46:49 +0000 (08:46 +0100)]
devip: ipv6 loopback ::1 has link-local scope

5 years agomerge
cinap_lenrek [Wed, 13 Feb 2019 03:47:29 +0000 (04:47 +0100)]
merge

5 years agoip/ipconfig: format ipmask with %M instead of %I
cinap_lenrek [Wed, 13 Feb 2019 03:45:41 +0000 (04:45 +0100)]
ip/ipconfig: format ipmask with %M instead of %I

5 years agopostscript: use PI
BurnZeZ [Wed, 13 Feb 2019 03:24:31 +0000 (03:24 +0000)]
postscript: use PI

5 years agolibip: don't reject ipmask in v6 form for v4 address
cinap_lenrek [Wed, 13 Feb 2019 03:04:33 +0000 (04:04 +0100)]
libip: don't reject ipmask in v6 form for v4 address

5 years agoip/ipconfig, ndb/dns, libndb: handle parseipmask() errors
cinap_lenrek [Tue, 12 Feb 2019 20:44:57 +0000 (21:44 +0100)]
ip/ipconfig, ndb/dns, libndb: handle parseipmask() errors

5 years agolibip: return -1 in parseipmask() and parseipandmask() when mask is not ipv4 and...
cinap_lenrek [Tue, 12 Feb 2019 20:43:22 +0000 (21:43 +0100)]
libip: return -1 in parseipmask() and parseipandmask() when mask is not ipv4 and v4 argument was set

5 years agodevip: use parseipandmask() for ipifc and route control message parsing
cinap_lenrek [Mon, 11 Feb 2019 22:43:14 +0000 (23:43 +0100)]
devip: use parseipandmask() for ipifc and route control message parsing

5 years agondb/dns: provide v4 argument to parseipmask(), use snprint() instead of sprint()
cinap_lenrek [Mon, 11 Feb 2019 22:42:15 +0000 (23:42 +0100)]
ndb/dns: provide v4 argument to parseipmask(), use snprint() instead of sprint()

5 years agoupas/smtpd: implement ipv6 support for ip blacklist, replace v4parsecidr() with parse...
cinap_lenrek [Mon, 11 Feb 2019 22:40:34 +0000 (23:40 +0100)]
upas/smtpd: implement ipv6 support for ip blacklist, replace v4parsecidr() with parseipandmask()

5 years agoratfs: implement ipv6 support, replace v4parsecidr() with parseipandmask()
cinap_lenrek [Mon, 11 Feb 2019 22:38:58 +0000 (23:38 +0100)]
ratfs: implement ipv6 support, replace v4parsecidr() with parseipandmask()

5 years agoip/rip: use new parseipandmask() function
cinap_lenrek [Mon, 11 Feb 2019 22:36:29 +0000 (23:36 +0100)]
ip/rip: use new parseipandmask() function

5 years agoip/ayiya: use parseipandmask(), use ipvmp() instead of equivip6()
cinap_lenrek [Mon, 11 Feb 2019 22:34:26 +0000 (23:34 +0100)]
ip/ayiya: use parseipandmask(), use ipvmp() instead of equivip6()

5 years agoip/6in4: use parseipandmask(), use ipvmp() instead of equivip6()
cinap_lenrek [Mon, 11 Feb 2019 22:33:44 +0000 (23:33 +0100)]
ip/6in4: use parseipandmask(), use ipvmp() instead of equivip6()

5 years agoip/tinc: use new parseipandmask() to parse subnets, use ipcmp()/ipmove(), remove...
cinap_lenrek [Mon, 11 Feb 2019 22:32:40 +0000 (23:32 +0100)]
ip/tinc: use new parseipandmask() to parse subnets, use ipcmp()/ipmove(), remove prefixlen

5 years agoip/dhcpd: provide v4 argument for parseipmask()
cinap_lenrek [Mon, 11 Feb 2019 22:30:52 +0000 (23:30 +0100)]
ip/dhcpd: provide v4 argument for parseipmask()

5 years agoip/ipconfig: use new parseipandmask() function
cinap_lenrek [Mon, 11 Feb 2019 22:29:53 +0000 (23:29 +0100)]
ip/ipconfig: use new parseipandmask() function

5 years agolibndb: provide parseipmask() v4 argument in subnet(), use snprint() instead of sprint()
cinap_lenrek [Mon, 11 Feb 2019 22:28:43 +0000 (23:28 +0100)]
libndb: provide parseipmask() v4 argument in subnet(), use snprint() instead of sprint()

5 years agolibip: replace v4parsecidr() with new parseipandmask()
cinap_lenrek [Mon, 11 Feb 2019 22:26:57 +0000 (23:26 +0100)]
libip: replace v4parsecidr() with new parseipandmask()

we want to accept V4 subnets in CIDR notation consistently which
means we need to interpret the mask in context of the IP address.
so parseipmask() now has an additional v4 flag argument which
offsets the prefixlength by 96 so a /24 will be interpreted
as a /120.

parseipandmask() is the new function which handles this automatically
depending on the ip address type.

v4parsecidr() is now obsolete.

5 years agosegment(3): use bind -c in examples (thanks henesy)
cinap_lenrek [Fri, 8 Feb 2019 21:28:20 +0000 (22:28 +0100)]
segment(3): use bind -c in examples (thanks henesy)

5 years agocifs: merge with steve simons latest version. thank you very much!
cinap_lenrek [Tue, 5 Feb 2019 22:10:03 +0000 (23:10 +0100)]
cifs: merge with steve simons latest version. thank you very much!

5 years agocifs: fix pruning of . and .. directory entries (thanks steve simon)
cinap_lenrek [Tue, 5 Feb 2019 19:53:40 +0000 (20:53 +0100)]
cifs: fix pruning of . and .. directory entries (thanks steve simon)

steve wrote:

> I cam across a bug in cifs.
>
> An empty directory under windows 7 pro contains a single entry "." but it
> doesn't appear to contain "..". As a result "." is not removed on dirscan
> and plan9 gets when trying to traverse the hierarchy.

5 years agobcm: include sdmmc in pi kernel configuration
cinap_lenrek [Fri, 1 Feb 2019 22:31:44 +0000 (23:31 +0100)]
bcm: include sdmmc in pi kernel configuration

5 years agodevdraw: get rid of softscreen==0xa110c hack and make attachscreen() return Memdata*
cinap_lenrek [Wed, 30 Jan 2019 17:22:52 +0000 (18:22 +0100)]
devdraw: get rid of softscreen==0xa110c hack and make attachscreen() return Memdata*

all screen implementations use a Memimage* internally
for the framebuffer, so we can return a shared reference
to its Memdata structure in attachscreen() instead of
a framebuffer data pointer.

this eleminates the softscreen == 0xa110c hack as we
always use shared Memdata* now.

5 years agobcm: list devswap only once in devtab array
cinap_lenrek [Wed, 30 Jan 2019 17:05:04 +0000 (18:05 +0100)]
bcm: list devswap only once in devtab array

5 years agodevdraw: simplify drawgen()
cinap_lenrek [Mon, 28 Jan 2019 22:29:22 +0000 (23:29 +0100)]
devdraw: simplify drawgen()

5 years agodevip: tcp: Don't respond to FIN-less ACKs during TIME-WAIT (thanks Barret Rhoden)
cinap_lenrek [Sun, 27 Jan 2019 21:12:50 +0000 (22:12 +0100)]
devip: tcp: Don't respond to FIN-less ACKs during TIME-WAIT (thanks Barret Rhoden)

Under the normal close sequence, when we receive a FIN|ACK, we enter
TIME-WAIT and respond to that LAST-ACK with an ACK.  Our TCP stack would
send an ACK in response to *any* ACK, which included FIN|ACK but also
included regular ACKs.  (Or PSH|ACKs, which is what we were actually
getting/sending).

That was more ACKs than is necessary and results in an endless ACK storm
if we were under the simultaneous close sequence.  In that scenario,
both sides of a connection are in TIME-WAIT.  Both sides receive
FIN|ACK, and both respond with an ACK.  Then both sides receive *those*
ACKs, and respond again.  This continues until the TIME-WAIT wait period
elapses and each side's TCP timers (in the Plan 9 / Akaros case) shut
down.

The fix for this is to only respond to a FIN|ACK when we are in TIME-WAIT.

5 years agodhcpd(8), ndb(6): group related ndb attributes together
cinap_lenrek [Thu, 24 Jan 2019 19:30:14 +0000 (20:30 +0100)]
dhcpd(8), ndb(6): group related ndb attributes together

5 years agoip/dhcpd: remove undocumented dhcpgroup mechanism, group related ndb attributes together
cinap_lenrek [Thu, 24 Jan 2019 19:29:39 +0000 (20:29 +0100)]
ip/dhcpd: remove undocumented dhcpgroup mechanism, group related ndb attributes together

5 years agotroff: fix -ms mug (thanks aksr)
cinap_lenrek [Wed, 23 Jan 2019 20:28:22 +0000 (21:28 +0100)]
troff: fix -ms mug (thanks aksr)

Executing .KS after .1C exhibits a bug.
Instead on the next page, the text between .KS and .KE is shown at
the bottom of the page (where footnote would be).
To reproduce the bug: http://sprunge.us/xyCUX7

The bug can be fixed by changing two lines in tmac.s:

    if \\n(NX<1 .bp\}

to

    if \\n(NX<=1 .bp\}

and

    if \\n(NX<1 'bp\}
to

  if \\n(NX<=1 'bp\}

5 years agodhcpd(8), ndb(6): update documentation (thanks k0ga)
cinap_lenrek [Wed, 23 Jan 2019 19:58:52 +0000 (20:58 +0100)]
dhcpd(8), ndb(6): update documentation (thanks k0ga)

5 years agoip/dhcpd: send vendor ndb attribute if available (thanks k0ga)
cinap_lenrek [Wed, 23 Jan 2019 19:57:20 +0000 (20:57 +0100)]
ip/dhcpd: send vendor ndb attribute if available (thanks k0ga)

At this moment plan9 is using vendorinfo to communicate
some specific plan9 parameters, but there are some boards
that use this attribute to set specific values. This
patch allows netbooting of these boards using ndb attributes
instead of hard coded solutions in dhcpd(1). Vendor attribute
is used for that purpose because it is also used for the
same purpose in bootp.

5 years agoip/dhcpd: add rootserverip read in lookupip() (thanks k0ga)
cinap_lenrek [Wed, 23 Jan 2019 19:49:50 +0000 (20:49 +0100)]
ip/dhcpd: add rootserverip read in lookupip() (thanks k0ga)

Lookupip() was already reading rootpath, but it didn't read the
address of the rootserver.  As they are very related it makes sense to
read them at the same time.

This patch also fixes a typo, where vendorclass was used instead of
vendor, resulting that vendor ndb attribute was never used.

5 years agoip/dhcpd: change swap to rootserver (thanks k0ga)
cinap_lenrek [Wed, 23 Jan 2019 19:47:48 +0000 (20:47 +0100)]
ip/dhcpd: change swap to rootserver (thanks k0ga)

5 years agodevtls: remove static "already" flag in tlsinit(). this function is only run once.
cinap_lenrek [Tue, 22 Jan 2019 21:08:07 +0000 (22:08 +0100)]
devtls: remove static "already" flag in tlsinit(). this function is only run once.

5 years agodevswap: simplify, don't panic when writing swapfile fails
cinap_lenrek [Tue, 22 Jan 2019 21:06:42 +0000 (22:06 +0100)]
devswap: simplify, don't panic when writing swapfile fails

always start the pager kproc in swapinit(), simplifying kickpager().

allow zero conf.nswap and conf.nswppo. avoid allocating the reference
map and iolist arrays in that case.

use ulong for ioptr and iolist indices.

don't panic when writing pages out to the swapfile fails. just
requeue the page in the io transaction list so we will try
again next time executeio() is run or just free the page when
the swap reference was dropped.

remove unused pagersummary() function.

5 years agopc64: properly handle faulterror in faultamd64()
cinap_lenrek [Tue, 22 Jan 2019 20:55:20 +0000 (21:55 +0100)]
pc64: properly handle faulterror in faultamd64()

replicate what faulterror() would have done with up->nerrlab == 0,
that is, terminate the process.

5 years agoupas/fs: remove unused function pop3log
Alex Musolino [Tue, 22 Jan 2019 04:41:53 +0000 (15:11 +1030)]
upas/fs: remove unused function pop3log

5 years agomerge
aiju [Sun, 20 Jan 2019 11:55:31 +0000 (12:55 +0100)]
merge

5 years agorc: clear out redirections on "rfork F" (RFCFDG)
cinap_lenrek [Sun, 20 Jan 2019 11:02:03 +0000 (12:02 +0100)]
rc: clear out redirections on "rfork F" (RFCFDG)

rfork F closes all file descriptors, so we have to
invalidate the redirections as they are now refering
to closed files. not doing so causes the wrong file
descriptors being closed later on as the fd numbers
get reused.

5 years agodtracy: fix &&
aiju [Sun, 20 Jan 2019 03:07:10 +0000 (03:07 +0000)]
dtracy: fix &&

5 years agoether82563: fix bugus FCA write and link detection for i217
cinap_lenrek [Sun, 13 Jan 2019 16:17:11 +0000 (17:17 +0100)]
ether82563: fix bugus FCA write and link detection for i217

the FCA registers 0x28, 0x2C have been reassigned to
to FEXTNVM on i217, i218 and i219 so add Fnofca flag
and avoid writing the registers.

make link detection more robust on i217 by delaying the
phy status read after link status change by 150ms. we'd
otherwise get a "phy wedged" (power saving state?) and
not update the link status until the next link change.

5 years agoether82563: work arround spurious jumbo packets on i217 (thanks k0ga)
cinap_lenrek [Sat, 12 Jan 2019 20:07:12 +0000 (21:07 +0100)]
ether82563: work arround spurious jumbo packets on i217 (thanks k0ga)

i217 appears to receive spurious jumbo frame and then
stops receiving completely. reducing the mtu to 2k as
a work arround for now.

5 years ago/sys/lib/plumb/basic: make plumbing page bookmarks work with relative paths (thanks...
cinap_lenrek [Sat, 12 Jan 2019 19:07:23 +0000 (20:07 +0100)]
/sys/lib/plumb/basic: make plumbing page bookmarks work with relative paths (thanks Tobias Heinicke)

5 years agoether82563: use 9018 byte mtu from datasheet for i217, i218, i219
cinap_lenrek [Sat, 12 Jan 2019 18:37:37 +0000 (19:37 +0100)]
ether82563: use 9018 byte mtu from datasheet for i217, i218, i219

5 years agomerge
cinap_lenrek [Sat, 12 Jan 2019 14:35:50 +0000 (15:35 +0100)]
merge

5 years agoether82563, ether82598, etherx550: round rbsz to multiple of 1K
cinap_lenrek [Sat, 12 Jan 2019 14:34:23 +0000 (15:34 +0100)]
ether82563, ether82598, etherx550: round rbsz to multiple of 1K

the max packet size is configured in 1K increments on these chips,
which can result in the card receiving a 10K packet but the
driver having only allocated 9.5K of buffer. this actually caued
pool corruption with i210, i217, i218, i219, i350.

for 82598 and x550, we explicitely round rbsz to avoid similar bugs
in the future, even tho the Rbsz constant was already a multiple of
1K and is not affected by the bug.

5 years agotorrent: avoid trying to fetch blocks past file
qwx [Tue, 8 Jan 2019 12:22:09 +0000 (13:22 +0100)]
torrent: avoid trying to fetch blocks past file

5 years agopc, pc64: properly track dependencies for mem.h on autogenerated apbootstrap.h and...
cinap_lenrek [Fri, 4 Jan 2019 01:51:29 +0000 (02:51 +0100)]
pc, pc64: properly track dependencies for mem.h on autogenerated apbootstrap.h and reboot.h targets

5 years agoupas/fs: don't put messages on the lru that cannot be uncached
cinap_lenrek [Wed, 2 Jan 2019 09:26:38 +0000 (10:26 +0100)]
upas/fs: don't put messages on the lru that cannot be uncached

the lru is there to track least recently used messages so
we can evict them from the cache and refetch them again on
demand. for pop3 mailbox, which doesnt provide fetch routine,
the messages should never be put on the freelist.

5 years agoupas/fs: include mkupas in mkfile last to get default target
cinap_lenrek [Wed, 2 Jan 2019 09:22:27 +0000 (10:22 +0100)]
upas/fs: include mkupas in mkfile last to get default target

5 years agoupas/fs: fix infinite loop in putcache (again)
Alex Musolino [Sun, 30 Dec 2018 13:30:09 +0000 (00:00 +1030)]
upas/fs: fix infinite loop in putcache (again)

The previous attempt to fix this problem (see changesets b32199e0f90a
and 00ae79a6ba50) caused all calls to cachefree to free the cached
message contents in addition to updating the LRU list.  This causes
problems for the POP3 driver since it provides no fetch function; once
a message is evicted from the LRU cache, its contents is lost.

This time we fix cachefree to always update the LRU list but only free
the cached message contents if the driver provides a fetch function or
the force flag is set.

5 years agorsa(8): add example for tinc(8) (thanks k0ga, qwx)
cinap_lenrek [Fri, 28 Dec 2018 10:46:15 +0000 (11:46 +0100)]
rsa(8): add example for tinc(8) (thanks k0ga, qwx)

5 years agodtracy: fix conditional branch generation
aiju [Fri, 28 Dec 2018 10:26:25 +0000 (10:26 +0000)]
dtracy: fix conditional branch generation

5 years agoremove function prototype that leaked into last commit
BurnZeZ [Wed, 26 Dec 2018 04:51:35 +0000 (04:51 +0000)]
remove function prototype that leaked into last commit

5 years agotcs: clean up old port code, and avoid writing 0 to stdout
BurnZeZ [Wed, 26 Dec 2018 04:47:22 +0000 (04:47 +0000)]
tcs: clean up old port code, and avoid writing 0 to stdout

5 years agomk: fix closing random fd from uninitialized stack variable (thanks BurnZeZ, mycroftiv)
cinap_lenrek [Wed, 26 Dec 2018 04:04:56 +0000 (05:04 +0100)]
mk: fix closing random fd from uninitialized stack variable (thanks BurnZeZ, mycroftiv)

mycroftiv → this is practically "500 mile email" territory - the "6 letter mk bug"

5 years agonusb/disk: revert previous attempts and just not issue capacity command when theres...
cinap_lenrek [Mon, 24 Dec 2018 18:06:01 +0000 (19:06 +0100)]
nusb/disk: revert previous attempts and just not issue capacity command when theres no media present

5 years agoMake the check work.
Ori Bernstein [Mon, 24 Dec 2018 07:10:42 +0000 (23:10 -0800)]
Make the check work.

Embarrassing.

5 years agonusb/disk: implement 64 bit lba read/write commands (16 byte commands)
cinap_lenrek [Mon, 24 Dec 2018 04:10:43 +0000 (05:10 +0100)]
nusb/disk: implement 64 bit lba read/write commands (16 byte commands)

untested.

5 years agonusb/disk: fix typo "("
cinap_lenrek [Mon, 24 Dec 2018 04:05:41 +0000 (05:05 +0100)]
nusb/disk: fix typo "("

5 years agoDon't unnecessarily unstall devices.
Ori Bernstein [Mon, 24 Dec 2018 03:44:58 +0000 (19:44 -0800)]
Don't unnecessarily unstall devices.

Some SD card readers are slow to unstall. We try to unstall them
in a loop if there's no SD card in there, but they're not stalled.
They're happily reporting that there's no SD card in them by giving
back the appropriate error code.

Skipping the unstall speeds up the retry loop, cutting the time spent
attaching the USB device at boot from multiple minutes to nearly instant.

5 years agodossrv: cleanup
cinap_lenrek [Mon, 24 Dec 2018 00:21:47 +0000 (01:21 +0100)]
dossrv: cleanup

5 years agodossrv: make GLONG() return ulong, handle getsect() error in dostat()
cinap_lenrek [Sun, 23 Dec 2018 21:43:29 +0000 (22:43 +0100)]
dossrv: make GLONG() return ulong, handle getsect() error in dostat()

5 years agoetherx550: add intel 10GB ethernet controlller x550 driver (thanks joe9)
cinap_lenrek [Sun, 23 Dec 2018 16:48:11 +0000 (17:48 +0100)]
etherx550: add intel 10GB ethernet controlller x550 driver (thanks joe9)

5 years agoether82598: fix multicast filter (thanks aiju, joe9)
cinap_lenrek [Sun, 23 Dec 2018 16:41:47 +0000 (17:41 +0100)]
ether82598: fix multicast filter (thanks aiju, joe9)

5 years agodossrv: use 64 bit vlong for sectors
cinap_lenrek [Sat, 22 Dec 2018 19:49:24 +0000 (20:49 +0100)]
dossrv: use 64 bit vlong for sectors

5 years agodtracy: avoid pointer to integer truncation warning on amd64
cinap_lenrek [Sat, 15 Dec 2018 19:39:32 +0000 (20:39 +0100)]
dtracy: avoid pointer to integer truncation warning on amd64

5 years agofplot: fix operator associativity
aiju [Sat, 15 Dec 2018 11:57:35 +0000 (11:57 +0000)]
fplot: fix operator associativity

5 years agofplot: add min/max operators
aiju [Thu, 13 Dec 2018 16:15:10 +0000 (16:15 +0000)]
fplot: add min/max operators

5 years agodtracy: get rid of DTName struct, support more than three parts in a probe name,...
aiju [Thu, 13 Dec 2018 10:42:49 +0000 (10:42 +0000)]
dtracy: get rid of DTName struct, support more than three parts in a probe name, wildcard matching

5 years agopc(1): reference counting bug
aiju [Thu, 13 Dec 2018 10:38:21 +0000 (10:38 +0000)]
pc(1): reference counting bug

5 years agomerge
Alex Musolino [Thu, 13 Dec 2018 01:30:32 +0000 (12:00 +1030)]
merge

5 years agoupas/fs: remove now unnecessary "force" argument to cachefree
Alex Musolino [Thu, 13 Dec 2018 01:29:34 +0000 (11:59 +1030)]
upas/fs: remove now unnecessary "force" argument to cachefree

5 years agoupas/fs: handle errors from fetch for cachebody()/cacheheaders()
cinap_lenrek [Wed, 12 Dec 2018 18:33:08 +0000 (19:33 +0100)]
upas/fs: handle errors from fetch for cachebody()/cacheheaders()

for imap, when a fetch fails, error out of read and stat. also don't
add failed to download messages into the lru.

5 years agomerge
Alex Musolino [Wed, 12 Dec 2018 02:21:29 +0000 (12:51 +1030)]
merge

5 years agoupas/fs: fix infinite loop in putcache
Alex Musolino [Wed, 12 Dec 2018 02:18:53 +0000 (12:48 +1030)]
upas/fs: fix infinite loop in putcache

Force the cacheclear operation in the LRU cache trimming loop in order
to guarantee that the cache becomes smaller with each iteration.

Without the force flag cacheclear is a no-op for mailboxes that do not
provide a fetch function, e.g. POP3.

5 years agofortunes: [9fans] ..... UNSUBSCRIBE_HELP NEEDED
stanley lieber [Tue, 11 Dec 2018 17:57:36 +0000 (12:57 -0500)]
fortunes: [9fans] ..... UNSUBSCRIBE_HELP NEEDED

5 years agoforgotten files
aiju [Tue, 11 Dec 2018 09:20:34 +0000 (09:20 +0000)]
forgotten files

5 years agokernel: change peek to return number of characters left rather than 0/-1
aiju [Tue, 11 Dec 2018 09:17:44 +0000 (09:17 +0000)]
kernel: change peek to return number of characters left rather than 0/-1

5 years agodtracy: catch page faults
aiju [Tue, 11 Dec 2018 09:09:08 +0000 (09:09 +0000)]
dtracy: catch page faults

5 years agoadd dtracy support to mkdevc and enable dtracy with plan9.ini
aiju [Tue, 11 Dec 2018 07:44:34 +0000 (07:44 +0000)]
add dtracy support to mkdevc and enable dtracy with plan9.ini

5 years agosshfs: add exits(nil) to threadmain
BurnZeZ [Mon, 10 Dec 2018 05:18:05 +0000 (05:18 +0000)]
sshfs: add exits(nil) to threadmain

5 years agodtracy: call dtptrigger with a struct pointer rather than a list of arguments; put...
aiju [Sun, 9 Dec 2018 21:43:22 +0000 (21:43 +0000)]
dtracy: call dtptrigger with a struct pointer rather than a list of arguments; put return value in arg9

5 years agodtracy: fix lexer bug
aiju [Sat, 8 Dec 2018 18:04:25 +0000 (18:04 +0000)]
dtracy: fix lexer bug

5 years agofix dtracy man page
aiju [Sat, 8 Dec 2018 17:24:23 +0000 (17:24 +0000)]
fix dtracy man page

5 years agoadd dtracy manpage
aiju [Sat, 8 Dec 2018 16:35:21 +0000 (16:35 +0000)]
add dtracy manpage

5 years agodtracy: add support for aggregations
aiju [Sat, 8 Dec 2018 15:07:53 +0000 (15:07 +0000)]
dtracy: add support for aggregations

5 years agorio: get rid of window delete thread, fix mysterious disappearing windows
cinap_lenrek [Fri, 7 Dec 2018 15:32:04 +0000 (16:32 +0100)]
rio: get rid of window delete thread, fix mysterious disappearing windows

because a client might not handle resize, rio would try to move ther
window offsceen after 750 ms. however, it does this by window name,
which could have been reassigned by another concurrent rio, causing the
wrong window to disappear.

now we always move the window offscreen before freeimage(). this way we
are sure to still have the right reference to the original window.

5 years agoadd entries for il rcpu
BurnZeZ [Fri, 7 Dec 2018 01:41:27 +0000 (01:41 +0000)]
add entries for il rcpu

5 years agoptrap(4): fix formatting
BurnZeZ [Thu, 6 Dec 2018 06:53:41 +0000 (06:53 +0000)]
ptrap(4): fix formatting