]>
git.lizzy.rs Git - plan9front.git/log
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
cinap_lenrek [Mon, 3 Sep 2018 18:05:26 +0000 (20:05 +0200)]
vt: implement proper selections (thanks Ori_B)
Ori Bernstein wrote:
> I finally got around to taking another shot at this vt patch. This change
> gets rid of implicit snarfing, and instead makes selection the way you
> select text for snarfing or plumbing. Select, then use a menu entry.
>
> It would probably be nice to have double click to expand the selection,
> rio-style, along with plumbing implicitly taking the current word, but
> that can be a separate patch.
>
> This change also punts on scrolling for simplicity -- it clears the
> selection instead of trying to handle the cases where the selection
> goes offscreen.
little amendments:
- fix line selection (point min/max inversion)
- clear selection when switching linesel/blocksel
- move selection on scroll
cinap_lenrek [Sat, 1 Sep 2018 13:11:46 +0000 (15:11 +0200)]
ndb(8): ndb/inform also publishes ipv6 address now
cinap_lenrek [Sat, 1 Sep 2018 13:08:40 +0000 (15:08 +0200)]
ip/dhcpd: bring back interface address for arpenter()
the arp table is per interface, so it is possible to have the same
netwrok on multiple physical interfaces, tho with different source
ip address. one example would be a ethernet and a wlan interface.
the mac addresses on these mediums can differ (arp proxying taking
place).
so provide our source address on the interface we received the
request on.
the previous change used the ifcaddr; which is correct; but due to a
oversight in the kernel, had to match the ip of the arp entry.
source address will always work.
cinap_lenrek [Sat, 1 Sep 2018 12:59:19 +0000 (14:59 +0200)]
ip/dhcpd: add varargck pragma for warning() and fatal(), do syserr with %r format
cinap_lenrek [Sat, 1 Sep 2018 12:53:38 +0000 (14:53 +0200)]
ip/ipconfig: add varargck pragma for warning() function
cinap_lenrek [Fri, 31 Aug 2018 20:39:46 +0000 (22:39 +0200)]
rtl8169: fix receive for nuc BOXNUC7CJYH
qwx [Fri, 31 Aug 2018 16:01:21 +0000 (18:01 +0200)]
dmid: add support for midi streams
tested with a usb midi keyboard and a midi->usb adaptor
mischief [Thu, 30 Aug 2018 23:23:36 +0000 (16:23 -0700)]
nusbrc: add LG G5 for nusb/ether
cinap_lenrek [Thu, 30 Aug 2018 19:17:54 +0000 (21:17 +0200)]
arp: interface address only specifies the interface, not the source address for route lookup
cinap_lenrek [Wed, 29 Aug 2018 22:05:00 +0000 (00:05 +0200)]
merge
cinap_lenrek [Wed, 29 Aug 2018 22:03:07 +0000 (00:03 +0200)]
ip/dhcpd: revert arpenter() changes
aiju [Tue, 28 Aug 2018 05:56:29 +0000 (05:56 +0000)]
shift-jis: add support for half-width kana
cinap_lenrek [Mon, 27 Aug 2018 18:58:48 +0000 (20:58 +0200)]
devip: fix router adv/sol options validation (options padded to 8 bytes)
cinap_lenrek [Sun, 26 Aug 2018 21:05:45 +0000 (23:05 +0200)]
ip/ipconfig: add missing {} as DEBUG() is a macro
cinap_lenrek [Sun, 26 Aug 2018 20:25:35 +0000 (22:25 +0200)]
ip/ipconfig: check for recvra 0 on timeout
cinap_lenrek [Sun, 26 Aug 2018 16:36:35 +0000 (18:36 +0200)]
ip/dhcpd: reject bogus requests, handle multiple ether= attributes in ndb, cleanup
unless relay agent (gaddr) is specified, dhcp requests need to
taget a local ip address on the incoming interface or broadcast.
clients might have multiple ethernet interfaces, so we need to
check if any of the ether= attributes in ndb matches. this is
done by passing lookupip() the attribute name and a expected
value and if a match is found, set Info.indb = 1.
remove tohex(), use encodefmt instead. avoid dynamcic allocation.
include interface device in log messages.
cinap_lenrek [Sat, 25 Aug 2018 19:44:08 +0000 (21:44 +0200)]
devvga: disable cursor on shutdown avoiding graphics glitches on reboot
cinap_lenrek [Sat, 25 Aug 2018 13:10:26 +0000 (15:10 +0200)]
ip/dhcpd: handle multiple networks on the same interface, dont get confused by v6 interface address
mischief [Tue, 21 Aug 2018 18:31:45 +0000 (11:31 -0700)]
igfx: support blanking by turning off panel power and backlight
tested on t61, x200, x230, x301, t420, w520
Alex Musolino [Tue, 21 Aug 2018 13:39:35 +0000 (23:09 +0930)]
mothra(1): fix formatting
mischief [Tue, 21 Aug 2018 09:02:46 +0000 (02:02 -0700)]
lib: update pci database
cinap_lenrek [Tue, 21 Aug 2018 00:21:21 +0000 (02:21 +0200)]
vncs: fix uninterruptable temporary warning
cinap_lenrek [Tue, 21 Aug 2018 00:04:33 +0000 (02:04 +0200)]
merge
cinap_lenrek [Tue, 21 Aug 2018 00:02:50 +0000 (02:02 +0200)]
vncv: adjust window size on desktop resize, fix canresize checks
mischief [Mon, 20 Aug 2018 19:51:29 +0000 (12:51 -0700)]
vncs: shut up used and not set warning
mischief [Mon, 20 Aug 2018 19:48:06 +0000 (12:48 -0700)]
hjfs: set group of new files to that of the parent directory (thanks umbraticus)
cinap_lenrek [Mon, 20 Aug 2018 17:25:58 +0000 (19:25 +0200)]
merge
cinap_lenrek [Mon, 20 Aug 2018 17:23:42 +0000 (19:23 +0200)]
vncs: support for desktop resize extension, update devdraw
aiju [Mon, 20 Aug 2018 13:26:19 +0000 (14:26 +0100)]
fix unbounded recursion bug in hjfs
cinap_lenrek [Sun, 19 Aug 2018 20:00:45 +0000 (22:00 +0200)]
devdraw: zero initialize DImage.dscreen pointer (vnc, drawterm)
cinap_lenrek [Fri, 17 Aug 2018 22:03:14 +0000 (00:03 +0200)]
vncs: fix mistake "screen" vs "gscreen", thanks eekee
cinap_lenrek [Thu, 16 Aug 2018 18:34:46 +0000 (20:34 +0200)]
vncv: handle [] enclosed literal ipv6 addresses in host
cinap_lenrek [Thu, 16 Aug 2018 01:54:42 +0000 (21:54 -0400)]
ip/ipconfig: make ra6 daemon less chatty, log to /sys/log/ipconfig instead of /sys/log/v6routeradv
cinap_lenrek [Wed, 15 Aug 2018 20:14:52 +0000 (22:14 +0200)]
inst/startether: fix typo
cinap_lenrek [Wed, 15 Aug 2018 19:39:30 +0000 (21:39 +0200)]
ipv6 autoconfiguration on ethernet
for ip autoconfiguration, setup ipv6 link local addresses
and do SLAAC in parallel to DHCP.
cinap_lenrek [Sun, 12 Aug 2018 20:39:44 +0000 (22:39 +0200)]
ip/ipconfig: simplify by combining mklladdr() into mkclientid()
cinap_lenrek [Sat, 11 Aug 2018 14:19:32 +0000 (16:19 +0200)]
ip/ipconfig: call mklladdr() to get conf.hwa initialized for ipv6
cinap_lenrek [Sat, 11 Aug 2018 14:18:12 +0000 (16:18 +0200)]
devip: fix multicastarp() when ipconfig assigned the 0 address
sending multicast was broken when ipconfig assigned the 0
address for dhcp as they would wrongly classified as Runi.
this could happen when we do slaac and dhcp in parallel,
breaking the sending of router solicitations.
mischief [Fri, 10 Aug 2018 15:08:38 +0000 (08:08 -0700)]
sdloop(3): import sdloop driver (thanks erik)
mischief [Fri, 10 Aug 2018 14:46:13 +0000 (07:46 -0700)]
valley: call srand so that actual random phrases are used
23hiro [Wed, 8 Aug 2018 16:47:48 +0000 (18:47 +0200)]
plan9.ini(8) iwlwifi essid/bssid misleading
23hiro [Wed, 8 Aug 2018 08:17:57 +0000 (10:17 +0200)]
turkey simplified timezone (thanks erkin from 9front ml)
cinap_lenrek [Tue, 7 Aug 2018 21:46:58 +0000 (23:46 +0200)]
nusb/ether: fix ethertype filtering
cinap_lenrek [Mon, 6 Aug 2018 21:14:59 +0000 (23:14 +0200)]
merge
cinap_lenrek [Mon, 6 Aug 2018 21:13:23 +0000 (23:13 +0200)]
wifi: lilu dallas multirate
now handle the supported rates element properly, only
providing the intersecting set of rates that the bss
advertises and what the driver supports, putting the
basic rates first.
also avoid using usupported rates.
mischief [Mon, 6 Aug 2018 16:41:28 +0000 (09:41 -0700)]
devaoe: really fix unit numbering, to be 0-based
mischief [Mon, 6 Aug 2018 15:50:40 +0000 (08:50 -0700)]
devaoe: fix unit numbering for Qdevlinkdir
a side effect of
3c77cd3ae664 changed the unit ordering to start at one, so fix the condition accordingly.
mischief [Mon, 6 Aug 2018 15:47:07 +0000 (08:47 -0700)]
ip(3): document ipifc ipv6 connection and fix delay formatting
cinap_lenrek [Fri, 3 Aug 2018 14:53:50 +0000 (16:53 +0200)]
acme: pass pointer to int type to avoid pointer to int cast warning
spew [Thu, 2 Aug 2018 18:37:07 +0000 (14:37 -0400)]
win: fix typo
spew [Thu, 2 Aug 2018 18:21:19 +0000 (14:21 -0400)]
win: bind the text file properly instead of a special case in "
spew [Wed, 1 Aug 2018 15:14:59 +0000 (11:14 -0400)]
acme: add spacesindent mode
cinap_lenrek [Tue, 31 Jul 2018 16:33:42 +0000 (18:33 +0200)]
etheriwl: add pci did for WifiLink 5300 (thans senthil)
cinap_lenrek [Mon, 30 Jul 2018 18:40:28 +0000 (20:40 +0200)]
kbdfs: ignore first 16 scancodes (number row) in kbtabctl[] for control key reverse mapping
cinap_lenrek [Mon, 30 Jul 2018 00:21:28 +0000 (02:21 +0200)]
vncv: implement extended DesktopSize extension, cleanup
cinap_lenrek [Fri, 27 Jul 2018 07:31:28 +0000 (09:31 +0200)]
dc: fix off by one in stack overflow check (thanks BurnZeZ)
BurnZeZ → Found a bug in dc(1)
BurnZeZ → Everything breaks when you fill the stack
BurnZeZ → You have stkptr which crap expects to point to an available member in Blk *stack[STKSZ];
BurnZeZ → stkend = &stack[STKSZ];
BurnZeZ → stkptr is allowed to equal stkend
BurnZeZ → So crap that expects stkptr to be pointing to an available Blk ends up dereferencing past the end of the array
BurnZeZ → term% echo `{seq 1 100} f | dc
BurnZeZ → dc 628283: suicide: sys: trap: fault read addr=0xffffe0000040a618 pc=0x204b1c
cinap_lenrek [Thu, 26 Jul 2018 00:48:00 +0000 (02:48 +0200)]
audiohda: support Intel Sunrise Point-LP on thinkpad X1
qwx [Wed, 25 Jul 2018 03:02:46 +0000 (05:02 +0200)]
add games/dpic and games/todpic
23hiro [Tue, 24 Jul 2018 07:17:11 +0000 (09:17 +0200)]
merge
23hiro [Tue, 24 Jul 2018 07:04:50 +0000 (09:04 +0200)]
spelling
cinap_lenrek [Mon, 23 Jul 2018 17:29:15 +0000 (19:29 +0200)]
devmouse: produce signed msec timestamp in /dev/mouse, accept unsigned on write
cinap_lenrek [Mon, 23 Jul 2018 17:25:28 +0000 (19:25 +0200)]
libdraw: accept unsigned msec timestamp in /dev/mouse
cinap_lenrek [Sun, 22 Jul 2018 19:00:20 +0000 (21:00 +0200)]
pc, pc64: look for "RSD PTR " in ACPI reserved memory region from e820 map
nobody passes us the "RSD PTR " address when doing multiboot/kexec
on UEFI systems. so we search for it manually in the ACPI reserved
area as indicated in the e820 memory map.
qwx [Sat, 21 Jul 2018 03:05:53 +0000 (05:05 +0200)]
dmid: better fnumber calculation and fix fine tuning for 2nd voice
cinap_lenrek [Wed, 18 Jul 2018 07:48:45 +0000 (09:48 +0200)]
ssh: fix nil dereference when TERM isnt set and -r is requested
cinap_lenrek [Mon, 16 Jul 2018 21:55:45 +0000 (23:55 +0200)]
merge
cinap_lenrek [Mon, 16 Jul 2018 21:54:23 +0000 (23:54 +0200)]
ndb/dns: fix delegation with norecursion (-R flag)
when the question zone is in a delegated area, we still
need to provide the nameservers.
cinap_lenrek [Sun, 15 Jul 2018 23:36:35 +0000 (01:36 +0200)]
merge
cinap_lenrek [Sun, 15 Jul 2018 23:35:02 +0000 (01:35 +0200)]
devmnt: make sure auth chan is on said conection in mntattach()