]>
git.lizzy.rs Git - plan9front.git/log
cinap_lenrek [Thu, 11 Oct 2018 16:34:14 +0000 (18:34 +0200)]
merge
cinap_lenrek [Thu, 11 Oct 2018 16:32:31 +0000 (18:32 +0200)]
ndb/dns: use nil for pointers in dnresolve() args
cinap_lenrek [Thu, 11 Oct 2018 16:31:35 +0000 (18:31 +0200)]
ndb/dns: do recursive lookup for dnsslave=
cinap_lenrek [Thu, 11 Oct 2018 16:29:17 +0000 (18:29 +0200)]
ndb/dns: avoid format strings in procname
aiju [Thu, 11 Oct 2018 16:25:11 +0000 (16:25 +0000)]
games/gb: when the LCD is turned off, reset ppuy and ppustate to 0, fixes bug in dragon warriors iii reported by mischief
mischief [Wed, 10 Oct 2018 23:37:13 +0000 (16:37 -0700)]
etheriwl: support type 2000 devices and the 2200 chip in x230t
mischief [Wed, 10 Oct 2018 20:56:28 +0000 (13:56 -0700)]
nusb/joy: send magic packet to enable playstation controller events
mischief [Wed, 10 Oct 2018 20:49:03 +0000 (13:49 -0700)]
nusbrc: prevent nusb/kb from attaching to sony ps3 controller
cinap_lenrek [Wed, 10 Oct 2018 00:45:11 +0000 (02:45 +0200)]
hget: do a HEAD request to check if the file is already complete (thanks miscief)
when we continue a download, make sure the file isnt already
complete, as otherwise the server might respond with a 416
as the range request will out of range.
cinap_lenrek [Tue, 9 Oct 2018 04:34:27 +0000 (06:34 +0200)]
ndb/dnstcp: return a proper non-answer when rejecting zone transfer
cinap_lenrek [Tue, 9 Oct 2018 04:08:48 +0000 (06:08 +0200)]
ndb/dns: fix format print warning for procsetname(), cleanup
cinap_lenrek [Tue, 9 Oct 2018 04:07:51 +0000 (06:07 +0200)]
ndb/dns: send_notify() to multiple ip addresses in parallel, filter myip()
cinap_lenrek [Tue, 9 Oct 2018 04:02:36 +0000 (06:02 +0200)]
ndb/dnstcp: restrict DNS zone transfers to clients listed as dnsslave=
initial idea from Steve Simon, but doesnt require reverse
lookup of the callers ip address.
cinap_lenrek [Mon, 8 Oct 2018 05:10:59 +0000 (07:10 +0200)]
usbxhci: only clear RW1C bits when set.
cinap_lenrek [Mon, 8 Oct 2018 05:05:28 +0000 (07:05 +0200)]
usbxhci: delay after reset, preserve reserved bits in legacy status control register in handoff()
when clering smi enable bits in the legacy control/status register,
preserve the reserved bits. clear the RW1C bits.
linux code claims intel xhci controller needs a 1ms delay before
accessing any register after reset.
cinap_lenrek [Mon, 8 Oct 2018 00:18:02 +0000 (02:18 +0200)]
remove /lib/tftpd from proto file
cinap_lenrek [Mon, 8 Oct 2018 00:13:29 +0000 (02:13 +0200)]
get rid of /lib/tftpd
cinap_lenrek [Mon, 8 Oct 2018 00:11:36 +0000 (02:11 +0200)]
ip/dhcpd, ip/tftpd: change default for tftp homedir to /
cinap_lenrek [Sun, 7 Oct 2018 21:38:41 +0000 (23:38 +0200)]
pc drivers: more pci cleanup
cinap_lenrek [Sun, 7 Oct 2018 20:28:21 +0000 (22:28 +0200)]
pc drivers: use pcienable() to handle device power up and missing initialization
cinap_lenrek [Sun, 7 Oct 2018 19:52:53 +0000 (21:52 +0200)]
pc, pc64: add pcienable() and pcidisable() functions
pcienable() puts a device in fully powered on state
and does some missing initialization that UEFI might
have skipped such as I/O and Memory requests being
disabled.
pcidisable() is ment to shutdown the device, but
currently just disables dma to prevent accidents.
aiju [Sun, 7 Oct 2018 11:11:39 +0000 (11:11 +0000)]
add (unfinished but working) truetypefs
cinap_lenrek [Sat, 6 Oct 2018 00:42:53 +0000 (02:42 +0200)]
9boot: get rid of 64 byte line length limit
cinap_lenrek [Fri, 5 Oct 2018 22:30:59 +0000 (00:30 +0200)]
merge
cinap_lenrek [Fri, 5 Oct 2018 22:29:05 +0000 (00:29 +0200)]
usbehci, usbxhci: add *noehcihandoff= and *noxhcihandoff= parameters
on Samsung ATIV Smart PC Pro XE00T1C-A01CL, the EHCI handoff
causes the system to freeze in UEFI mode as soon as we assert
the os semaphore bit.
until a general solution is found, provide these parameters to
disable the handoff for now as it seems to otherwise work fine.
cinap_lenrek [Fri, 5 Oct 2018 22:26:07 +0000 (00:26 +0200)]
pc, pc64: increase CONFADDR buffer from 4K to 24K
move APBOOTSTRAP and TMPADDR to make space available for
boot parameters. which can become quite long such as *e820.
stanley lieber [Fri, 5 Oct 2018 03:23:50 +0000 (23:23 -0400)]
fortunes: I'm beginning to wonder if anyone is left that isn't part of 9front? -- Steve Stallion
cinap_lenrek [Tue, 2 Oct 2018 22:53:10 +0000 (00:53 +0200)]
cpurc: filter ipv6 loopback address for automatic ip address setup (thanks fhs)
cinap_lenrek [Tue, 2 Oct 2018 22:47:34 +0000 (00:47 +0200)]
devip: remove unused QLock from udp and icmpv6 control blocks (thanks brho)
cinap_lenrek [Sat, 29 Sep 2018 11:58:08 +0000 (13:58 +0200)]
5i ki qi vi: avoid buffer overflow in command read loop
mischief [Sat, 29 Sep 2018 00:28:51 +0000 (17:28 -0700)]
audio/libogg: sync to ogg v1.3.3
this corresponds to upstream git commit
4380566a44b8d5e85ad511c9c17eb04197863ec5 .
aiju [Fri, 28 Sep 2018 22:53:24 +0000 (22:53 +0000)]
5e: byte access incorrectly checked for long; brk has to round up addresses
cinap_lenrek [Fri, 28 Sep 2018 18:23:53 +0000 (20:23 +0200)]
ip/ipconfig: silently ignore prefix information with Autonomous flag clear
cinap_lenrek [Fri, 28 Sep 2018 16:16:08 +0000 (18:16 +0200)]
ip/ipconfig: default onlink and autoflag to 1
cinap_lenrek [Fri, 28 Sep 2018 16:13:01 +0000 (18:13 +0200)]
devip: only add interface route for "on-link" prefixes
when a prefix is added with the onlink flag clear, packets
towards that prefix needs to be send to the default gateway
so we omit adding the interface route.
when the on-link flag gets changed to 1 later, we add the
interface route.
the on-link flag is sticky, so theres no way to clear it back
to zero except removing and re-adding the prefix.
cinap_lenrek [Thu, 27 Sep 2018 14:08:51 +0000 (16:08 +0200)]
vt: fix backup/forward after resize
cinap_lenrek [Thu, 27 Sep 2018 13:24:41 +0000 (15:24 +0200)]
vt: implement word select
cinap_lenrek [Wed, 26 Sep 2018 13:58:19 +0000 (15:58 +0200)]
idn(2): add documentation for idn2utf() and utf2idn()
cinap_lenrek [Wed, 26 Sep 2018 13:24:29 +0000 (15:24 +0200)]
provide procsetname(2) manpage
cinap_lenrek [Wed, 26 Sep 2018 12:56:23 +0000 (14:56 +0200)]
libc: add procsetname()
cinap_lenrek [Wed, 26 Sep 2018 12:32:17 +0000 (14:32 +0200)]
libc: return number of bytes produced for idn2utf() and utf2idn()
cinap_lenrek [Tue, 25 Sep 2018 19:51:57 +0000 (21:51 +0200)]
ip/ipconfig: increase maximum host and domainname size to 255 bytes. idn for -h option
cinap_lenrek [Tue, 25 Sep 2018 18:59:08 +0000 (20:59 +0200)]
ndb/inform: handle internationalized domain names
cinap_lenrek [Tue, 25 Sep 2018 18:45:11 +0000 (20:45 +0200)]
merge
cinap_lenrek [Tue, 25 Sep 2018 18:43:37 +0000 (20:43 +0200)]
ip/ipconfig: handle internationalized domain names
cinap_lenrek [Tue, 25 Sep 2018 18:28:19 +0000 (20:28 +0200)]
ip/dhcp6d: handle internationalized domain names
cinap_lenrek [Tue, 25 Sep 2018 18:17:56 +0000 (20:17 +0200)]
ip/dhcpd: handle internationalized domain names
cinap_lenrek [Tue, 25 Sep 2018 18:17:00 +0000 (20:17 +0200)]
ndb/dns: use libc's new idn functions
cinap_lenrek [Tue, 25 Sep 2018 18:16:06 +0000 (20:16 +0200)]
webfs: remove idn.c
cinap_lenrek [Tue, 25 Sep 2018 18:15:24 +0000 (20:15 +0200)]
webfs: fix memory leak in Nfmt(), use libc's new idn functions
cinap_lenrek [Tue, 25 Sep 2018 18:14:25 +0000 (20:14 +0200)]
libc: add utf2idn() and idn2utf() functions to deal with internationalized domain names
cinap_lenrek [Tue, 25 Sep 2018 13:06:13 +0000 (15:06 +0200)]
merge
cinap_lenrek [Tue, 25 Sep 2018 13:04:19 +0000 (15:04 +0200)]
ip/dhcpd: implement rfc3397 dhcp search domain option (dnsdomain)
cinap_lenrek [Tue, 25 Sep 2018 13:02:29 +0000 (15:02 +0200)]
ip/ipconfig: implement rfc3397 dhcp dns search option (dnsdomain)
Ori Bernstein [Tue, 25 Sep 2018 08:02:31 +0000 (01:02 -0700)]
Disallow '/' in file names.
A bad rename call could send a path with a '/' to cwfs.
This is invalid, and should be disallowed.
cinap_lenrek [Mon, 24 Sep 2018 11:56:25 +0000 (13:56 +0200)]
ip/ipconfig: handle noconfig flag for router advertisement, add debug prints, cleanup
cinap_lenrek [Sun, 23 Sep 2018 21:35:41 +0000 (23:35 +0200)]
libhtml: increase Nestmax to render some convoluted pages (thanks fernan)
example page with broken citation list numbering:
https://en.m.wikipedia.org/wiki/Commodore_64
cinap_lenrek [Sun, 23 Sep 2018 20:07:56 +0000 (22:07 +0200)]
devip, ipconfig: avoid overflow on lifetime checks
cinap_lenrek [Sun, 23 Sep 2018 17:09:48 +0000 (19:09 +0200)]
devip: valid and prefered life-time should be unsigned, add remove6 ctl command
cinap_lenrek [Sun, 23 Sep 2018 17:08:16 +0000 (19:08 +0200)]
devip: fix default parameter calculation for router life-time
router life time is in seconds, while max ra interval is
in milliseconds!
cinap_lenrek [Sun, 23 Sep 2018 15:24:59 +0000 (17:24 +0200)]
devip: make updating ra6 router parameters atomic
when we fail to parse and validate the command, no update
should take place.
cinap_lenrek [Sun, 23 Sep 2018 15:14:29 +0000 (17:14 +0200)]
ip/ipconfig: valid lifetime is in seconds, not milliseconds.
cinap_lenrek [Sun, 23 Sep 2018 00:08:59 +0000 (02:08 +0200)]
ip/ipconfig: remove expired default routes on router advertisement
23hiro [Sat, 22 Sep 2018 07:41:16 +0000 (09:41 +0200)]
keyboard(2) spelling (thanks Amavect)
cinap_lenrek [Thu, 20 Sep 2018 19:25:38 +0000 (21:25 +0200)]
vt: make selecting() wait until all buttons are lifted avoiding menu when chording
cinap_lenrek [Thu, 20 Sep 2018 19:07:10 +0000 (21:07 +0200)]
vt: implement line selection by double click
mischief [Wed, 19 Sep 2018 20:27:55 +0000 (13:27 -0700)]
cfs: close mount half of pipe, fixes cfs not exiting when unmounted
cinap_lenrek [Tue, 18 Sep 2018 23:11:49 +0000 (01:11 +0200)]
kprof: fix precedence (thanks geoff)
mischief [Tue, 18 Sep 2018 22:58:22 +0000 (15:58 -0700)]
sum, md5sum, sha1sum: set exit status properly on open/read errors
mischief [Tue, 18 Sep 2018 20:14:00 +0000 (13:14 -0700)]
webfs: remove automatic Referer header
automatic Referer headers were found to break downloads from
sourceforge.net, causing html pages to appear instead of tarballs.
if a website does need them, they can be added as needed via hget's -r
flag, or added to mothra.
reverts commits
67f536d20329 and
6d999c39a9f0
cinap_lenrek [Tue, 18 Sep 2018 17:34:29 +0000 (19:34 +0200)]
mtx, ppc: remove cistrcmp() and cistrncmp() redefinition
cinap_lenrek [Mon, 17 Sep 2018 22:53:05 +0000 (00:53 +0200)]
kernel: fix livelock in rebalance (thanks Richard Miller)
Once a second rebalance() is called on cpu0 to adjust priorities,
so cpu-bound processes won't lock others out. However it was only
adjusting processes which were running on cpu0. This was observed
to lead to livelock, eg when a higher-priority process spin-waits
for a lock held by a lower priority one.
cinap_lenrek [Mon, 17 Sep 2018 16:09:33 +0000 (18:09 +0200)]
boot(8): document tls and reboot methods
cinap_lenrek [Sun, 16 Sep 2018 20:35:16 +0000 (22:35 +0200)]
bootrc: add experimental reboot method to load another kernel
syntax: reboot!bootfile[!method...]
this echos bootfile to /dev/reboot, causing bootfile kernel
to be started.
when method is given, we first connect to the filesystem and
set bootargs so that bootfile can be loaded from the target
network or local fileserver.
note, when no bootfile is given, this causes the kernel to
reboot to bios.
cinap_lenrek [Sun, 16 Sep 2018 13:27:17 +0000 (15:27 +0200)]
libndb: add missing ndbdedup.c
cinap_lenrek [Sun, 16 Sep 2018 11:47:33 +0000 (13:47 +0200)]
9boot: don't let user erase the prompt (thanks mischief)
cinap_lenrek [Sun, 16 Sep 2018 10:43:21 +0000 (12:43 +0200)]
cpurc: handle multiple auth servers
cinap_lenrek [Sun, 16 Sep 2018 10:40:48 +0000 (12:40 +0200)]
netaudit: handle multiple ip addresses
cinap_lenrek [Sun, 16 Sep 2018 10:39:47 +0000 (12:39 +0200)]
libndb: make ndbipinfo() walk ipnet for all matching entries, concatenate and dedup result
cinap_lenrek [Thu, 13 Sep 2018 20:15:42 +0000 (22:15 +0200)]
ip/tftpd: remove sunkernel hack
cinap_lenrek [Thu, 13 Sep 2018 09:54:20 +0000 (11:54 +0200)]
ape/make: fix \ line continuation parsing
mischief [Wed, 12 Sep 2018 07:35:45 +0000 (00:35 -0700)]
port: sync two longjmp fixes from drawterm
see drawterm commits
f5e26ae93a6a and
fa388286b4ca
mischief [Tue, 11 Sep 2018 07:23:35 +0000 (00:23 -0700)]
sdahci(3): correct device name for top level control messages (thanks joe9)
mischief [Tue, 11 Sep 2018 06:39:58 +0000 (23:39 -0700)]
atazz(8): fix probe formatting
cinap_lenrek [Sun, 9 Sep 2018 13:38:53 +0000 (15:38 +0200)]
ndb/cs: don't do dns lookups when all we got is loopback or link local addresses
cinap_lenrek [Sun, 9 Sep 2018 13:35:14 +0000 (15:35 +0200)]
libip: ignore ipv6 link local addresses for myipaddr()
cinap_lenrek [Sat, 8 Sep 2018 23:53:53 +0000 (01:53 +0200)]
devarch: reading msr 0xffffffff
cinap_lenrek [Sat, 8 Sep 2018 23:41:35 +0000 (01:41 +0200)]
devarch: restrict i/o port access to 64K, disallow msr 32-bit wrap arround (thanks aiju)
cinap_lenrek [Sat, 8 Sep 2018 22:24:43 +0000 (00:24 +0200)]
stats: fix etherstats, avoid vmax == 0
cinap_lenrek [Sat, 8 Sep 2018 21:31:30 +0000 (23:31 +0200)]
libmach: substitute /dev/zero for /proc/$pid/fpregs when missing (for snapfs)
cinap_lenrek [Sat, 8 Sep 2018 20:24:36 +0000 (22:24 +0200)]
devarch: fix /dev/msr (thanks joe9, aiju)
the end condition port < offset+n could never become
false when offset truncated to 32 bit signed port is
negative. change the condition variables to unsigned
int.
msr's are not byte addressible, so advance reads by
one instead of 8.
cinap_lenrek [Sat, 8 Sep 2018 13:15:08 +0000 (15:15 +0200)]
libvorbis: fix broken free() (thanks mischief)
cinap_lenrek [Sat, 8 Sep 2018 12:50:41 +0000 (14:50 +0200)]
merge
cinap_lenrek [Sat, 8 Sep 2018 12:49:00 +0000 (14:49 +0200)]
rc: fix Xpipefd unbalancing the redir stack
Xpipefd wants the pipe descriptor to be closed in turfredir(), so
it pushes the redirection, but this breaks Xpopredir after normal
redirection. so we shuffle the Xpipefd redir to the bottom of the
stack.
stanley lieber [Thu, 6 Sep 2018 23:08:57 +0000 (19:08 -0400)]
fortunes: I've been looking into running Plan 9 in JSLinux -- Skip Tavakkolian
mischief [Wed, 5 Sep 2018 15:37:01 +0000 (08:37 -0700)]
audio/libogg: nuke old libogg.au
cinap_lenrek [Tue, 4 Sep 2018 18:55:10 +0000 (20:55 +0200)]
vt: fix selection past baseline (thanks BurnZeZ)
cinap_lenrek [Mon, 3 Sep 2018 20:37:45 +0000 (22:37 +0200)]
vt: fix selrange() to recover whitespace indention
cinap_lenrek [Mon, 3 Sep 2018 19:51:32 +0000 (21:51 +0200)]
vt: get rid of "clear" menu entry, fix 24x80 resize, reset selection on setdim(), document snarf/plumb
cinap_lenrek [Mon, 3 Sep 2018 18:54:26 +0000 (20:54 +0200)]
vt: fix plumbsel(), snarfsel()
- plumbsel()
- remove debug prints
- use smalloc() to convert to bytes
- fix spurious -1 close of plumb fd
- snarfsel()
- fix rune buffer leak in open error case