summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-12add danish keymap (thanks Eric Lindblad)cinap_lenrek
2016-04-11ape: explicitely list the ape libs to build in mkfilecinap_lenrek
2016-04-11ape: removing opensslcinap_lenrek
2016-04-11python: remove openssl support, use ape/libsec for cryptographics hash functionscinap_lenrek
2016-04-11gs: replace openssl aes implementation with ape/libseccinap_lenrek
2016-04-11ape: add libauth, libbio, libmp and libsec as replacements for opensslcinap_lenrek
2016-04-10hg: create system wide /sys/lib/hgrc to enabled hgwebfs extensioncinap_lenrek
the openssl we currently use is outdated and will be removed soon. webfs will handle the https for us with native tls code. keys have to be stored in factotum for everyone who also wants to commit directly.
2016-04-10libauth: remove unneeded includes for authsrv.h, avoid pulling in dependency ↵cinap_lenrek
for rerrstr()
2016-04-10libsec: make #include headers consistentcinap_lenrek
2016-04-10libsec: dont use mips assembly routines for spim, wrong endianesscinap_lenrek
2016-04-10libmp: fix build for spim, reduce by the mips assembly filescinap_lenrek
2016-04-10hg: set mercurial.url.has_https when hgwebfs extension is in usecinap_lenrek
this allows the use of SSL/HTTPS even when python is not build with openssl support.
2016-04-10ape: move compatibility libc.h to lib9 directory and incooperate needed ↵cinap_lenrek
functions for ape/mp (wip)
2016-04-10ape: remove broken 9errstr.ccinap_lenrek
2016-04-10ape: add internal _NSEC() function and make gettimeofday() use itcinap_lenrek
2016-04-10libmp: make includes consistent, make test program compile under ape (work ↵cinap_lenrek
in progress)
2016-04-10libdraw: dont postnote to pid==0 in ekill()cinap_lenrek
2016-04-09mergecinap_lenrek
2016-04-09add missing target for antiword in /sys/src/cmd/aux/mkfile (thanks _sl)cinap_lenrek
2016-04-09aes(2): mention aesCBC bugaiju
2016-04-08listen(8): fix html renderingcinap_lenrek
2016-04-08listen(8): document tcp17019 rcpu servicecinap_lenrek
2016-04-08tls(3): document support for TLSv1.1 and TLSv1.2cinap_lenrek
2016-04-07qball(2): fix bad manpage referencecinap_lenrek
2016-04-07devstream(3): removedcinap_lenrek
2016-04-07ether82563: initial i217 support from ↵cinap_lenrek
http://www.9legacy.org/9legacy/patch/pc-ether82563-i210.diff (thanks k0ga) This patch is only an adaptation for 9front of the patch located in http://www.9legacy.org/9legacy/patch/pc-ether82563-i210.diff. The major difference is that this patch ignores errors in checksum of eeprom, because in my system the checksum was wrong. After 3 months, I didn't have problems, and I think the patch can be used. although it has some things that need to be fixed. If the link is inactive when the system boots then it will remain inactive forever.
2016-04-07tcp567: run authserver with p9sk1 tickets disabled preventing offline ↵cinap_lenrek
password brute-force
2016-04-06jpg: fd == 0 is valid, so don't ignore itBurnZeZ
2016-04-05libdraw: fix out of bounds memory access after subfont array reallocation ↵cinap_lenrek
(thanks ray) /n/bugs/open/libdrawfont.c_buffer_overflow http://bugs.9front.org/open/libdrawfont.c_buffer_overflow/readme ray@raylai.com Hi all, In plan9port this bug keeps crashing mc when I run lc in a directory with Chinese characters. This is a diff from OpenBSD but it should apply cleanly to the various plan9 sources. The code is basically trying to do a realloc (I guess realloc wasn't available back then?) but it copies too much from the original buffer. Since realloc is available, just use it. If realloc isn't available outside plan9port (I haven't checked) the memmove line should be changed from: memmove(f->subf, of, (f->nsubf+DSUBF)*sizeof *subf); to: memmove(f->subf, of, f->nsubf*sizeof *subf); I hope this is helpful. Ray
2016-04-04rio: /dev/kbd cleanupcinap_lenrek
- use free running unsigned indeces for window kbdq - emalloc() vs malloc() in xfid
2016-04-03kbdfs(8): document new /dev/kbd behaviourcinap_lenrek
2016-04-03change /dev/kbd to return multiple messages per readcinap_lenrek
2016-04-03mercurial: CVE-2016-3630cinap_lenrek
backported the following patches from mercurial 3.7.3: https://selenic.com/repo/hg/rev/b6ed2505d6cf https://selenic.com/repo/hg/rev/b9714d958e89
2016-04-01kernel: always clunk closed fids asynchronously, regardless of cachingcinap_lenrek
2016-03-316in4: ingress filter multicast and link-local, but allow relay trafficcinap_lenrek
2016-03-316in4: allow setting the local IPv4 address with -i flag (thanks k0ga)cinap_lenrek
2016-03-319fs: bind -b /n/9front.org!7734 /n/listsstanley lieber
2016-03-31kernel: remove unused NSMAX, NSLOG, NSCACHE constants from portdat.hcinap_lenrek
2016-03-30fortunes: Ah, nice. the woodpeckers are back.stanley lieber
2016-03-30devsegment: cleanupscinap_lenrek
- return distinct error message when attempting to create Globalseg with physseg name - copy directory name to up->genbuf so it stays valid after we unlock(&glogalseglock) - cleanup wstat() handling, allow changing uid - make sure global segment size is below SEGMAXSIZE - move isoverlap() check from globalsegattach() into segattach() - remove Proc* argument from globalsegattach(), segattach() and isoverlap() - make Physseg.attr and segattach attr parameter an int for consistency
2016-03-30bullshit: +progressive +enhancementcinap_lenrek
2016-03-29zynq: cleanup devarch, flushmmu() after procflushpsecg()cinap_lenrek
2016-03-29kernel: fix procflushmmu()cinap_lenrek
fix bug introduced in previous change for zynq, broke procflushseg() function only flushing the first proc matching the segment.
2016-03-28kernel: print pid as %lud instead %lux (in tsleep() debug print)cinap_lenrek
2016-03-28libsec: fix tlsid for TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, ↵cinap_lenrek
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 the previous cipher id's where fore TLS_ECDH_* not TLS_ECDHE_*... sorry :(
2016-03-28devtls: print the path of the underlying chan in status filecinap_lenrek
to figure out what network connection a particular tls conversation refers to, we add the path of the underlying we send the encrypted tls traffic over in the status file, example: term% grep -n '^Chan:' '#a'/tls/*/status #a/tls/0/status:7: Chan: /net/tcp/6/data #a/tls/1/status:7: Chan: /net/tcp/0/data
2016-03-28devip: applying changes for bug: multicasts_and_udp_bufferscinap_lenrek
/n/bugs/open/multicasts_and_udp_buffers http://bugs.9front.org/open/multicasts_and_udp_buffers/readme michal@Lnet.pl I have ported my small MPEG-TS analisis tool to Plan9. To allow this application working I had to fix a bug in the kernel IPv4 code and increase UDP input buffer. Bug is related to listening for IPv4 multicast traffic. There is no problem if you listen for only one group or multiple groups with different UDP ports. This works: Write to UDP ctl: anounce PORT addmulti INTERFACE_ADDR MULTICAST_ADDR headers and you can read packets from data file. You need to set headers option because otherwise every UDP packet for MULTICAST_ADDR!PORT is treat as separate connection. This is a bug and should be fixed too, but I didn't tried it. There is a problem when you need to receive packets for multiple multicast groups. Usually the same destination port is used by multiple streams and above sequence of commands fails for second group because the port is the same. Simple and probably non-intrusive fix is adding "|| ipismulticast(addr)" to if statement at /sys/src/9/ip/devip.c:861 line: if(ipforme(c->p->f, addr) || ipismulticast(addr)) This fixes the problem and now you can use the following sequence to listen for multiple multicast groups even if they all have the same destination port: announce MULTICAST_ADDR!PORT addmulti INTERFACE_ADDR MULTICAST_ADDR headers After that my application started working but signals packet drops at >2 Mb/s input rate. The same is reported by kernel netlog. Increase capacity of UDP connection input queue fixes this problem /sys/src/9/ip/udp.c:153 c->rq = qopen(512*1024, Qmsg, 0, 0); -- Michał Derkacz
2016-03-27zynq: introduce SG_FAULT to prevent access to AXI segment while PL is not readycinap_lenrek
access to the axi segment hangs the machine when the fpga is not programmed yet. to prevent access, we introduce a new SG_FAULT flag, that when set on the Segment.type or Physseg.attr, causes the fault handler to immidiately return with an error (as if the segment would not be mapped). during programming, we temporarily set the SG_FAULT flag on the axi physseg, flush all processes tlb's that have the segment mapped and when programming is done, we clear the flag again.
2016-03-27file: deal with negative coordinates in plan9 bitmaps, print image sizecinap_lenrek
2016-03-26kernel: fix tsleep()/twakeup()/tsemacquire() racecinap_lenrek
tsleep() used to cancel the timer with: if(up->tt != nil) timerdel(up); which still can result in twakeup() to fire after tsleep() returns (because we set Timer.tt to nil *before* we call the tfn). in most cases, this is not an issue as the Rendez* usually is just &up->sleep, but when it is dynamically allocated or on the stack like in tsemacquire(), twakeup() will call wakeup() on a potentially garbage Rendez structure! to fix the race, we execute the wakup() with the Timer lock held, and set p->trend to nil only after we called wakeup(). that way, the timerdel(); which unconditionally locks the Timer; can act as a proper barrier and use up->trend == nil as the condition if the timer has already fired.