Commit graph

2098 commits

Author SHA1 Message Date
cinap_lenrek 508b796b27 upas/fs: fix more locking bugs, remove debugging clutter, remove planb mbox code 2017-03-14 23:06:39 +01:00
cinap_lenrek 163dccbac0 upas/fs: make sure mbox is locked during msgdecref() in rclunk() 2017-03-14 19:32:20 +01:00
mischief d18440d992 gs: validate parameter is dict in .initialize_dsc_parse
gs bug 697190, upstream commit 875a0095

also check gs_alloc_struct return value from upstream commit a2afc66d
2017-03-14 00:48:50 -07:00
mischief 07a14612a1 gs: check for sufficient params in .sethalftone5
ghostscript bug 697203, upstream commit f5c7555c303
2017-03-13 18:12:17 -07:00
cinap_lenrek 9b2d3ed37a gs: fix dangleing pointer crash with "lock" (ghostscript Bug 697204) 2017-03-13 18:56:52 +01:00
cinap_lenrek ffa430c570 upas/fs: lock mbox in syncallmboxes() to avoid assert crash 2017-03-12 21:29:28 +01:00
cinap_lenrek b24ebff76a upas/fs: remove useless syncsem, make sure mbox is locked when fetching / syncing 2017-03-12 21:23:21 +01:00
cinap_lenrek f616c63b39 imap4d: simplify auth with encodefmt (backport from 9front) 2017-03-12 18:50:27 +01:00
aiju 8b6804717b nupas: delete okcidr(); always trust spf records 2017-03-12 17:19:20 +00:00
cinap_lenrek 963cfc9a6f merging erik quanstros nupas 2017-03-12 17:15:03 +01:00
cinap_lenrek 5fc5c18208 cwfs: handle DMTMP flag in create 2017-03-06 03:07:03 +01:00
cinap_lenrek 394af5a216 authsrv: handle short reads in initkeyseed() 2017-02-26 23:10:17 +01:00
cinap_lenrek 6de804b578 authsrv: don't hash in hostowner key for keyseed
aiju → i don't like it, it's more bullshit ways to expose the key :)
aiju → if someone can grab /adm/keyseed, they can also grab /adm/users and /adm/keys
2017-02-26 22:44:47 +01:00
cinap_lenrek 70c6dab003 play, file: recognize midi and mus audio 2017-02-26 19:26:42 +01:00
cinap_lenrek 009bec0752 authsrv: salt the keyseed from /adm/keyseed file
change the keyseed key derivation to hkdf sha256
using the hostowners des key plus 256 bit random
salt from /adm/keyseed.
2017-02-26 03:47:46 +01:00
cinap_lenrek 27498dd63a authsrv: fix mkkey() dummy key generation (thanks aiju) 2017-02-26 02:21:49 +01:00
cinap_lenrek 27485e62d1 authsrv: get rid of needreply parameter by changing vnc protocol handler 2017-02-26 01:34:42 +01:00
aiju 6651be7516 authsrv: more useful error reporting 2017-02-26 01:11:37 +01:00
cinap_lenrek 28491941b0 auth/asaudit: quote user and dom attributes in factotum key 2017-02-25 17:47:36 +01:00
aiju e4dc3f9bd8 asaudit: check factotum key ; netaudit: mention asaudit 2017-02-25 11:54:15 +01:00
aiju 0406d9828a asaudit: missing \n in print 2017-02-24 01:08:08 +01:00
aiju e14690517e merge 2017-02-24 01:02:43 +01:00
aiju 1645f3314c add auth/asaudit 2017-02-24 00:54:40 +01:00
cinap_lenrek c22fa6d5eb auth/readnvram: also print dp9ik key 2017-02-24 00:10:36 +01:00
aiju 54ec7aed62 auth/keyfs: support -r flag to mount read-only 2017-02-23 23:22:49 +01:00
aiju 55373a6498 ip/ipconfig: don't null terminate the dhcp string options.
this seems to be an anachronism; few modern clients put the null in and RFC 2132 says clients 'SHOULD NOT' null terminate
2017-02-19 22:53:10 +00:00
cinap_lenrek abda59c7ec ip/gping: fix corruption due to Machine.last pointer not being maintained in pingclean(), cleanup unused stuff 2017-02-19 02:27:42 +01:00
cinap_lenrek 064a987bd8 wpa: dont send initial "start" message, faster polling interval waiting for connection
the kernel will automatically timeout the eap blocked state
for us and reassociate for us, so there is no need to provoke
the ap to start the wpa/eap handshake.

make the polling faster changing the sleep time from 500 to
100 ms.
2017-02-16 20:11:20 +01:00
mischief e8045cbcbf factotum: support sha256 algorithm in rsa pkcs#1 signing
also removed md2 oid, it is unused.
2017-02-09 09:08:43 +00:00
cinap_lenrek 486523bbc5 ip/ipconfig: have to refresh /net/cs, /net/dns after ndbconfig even tho /net/ndb didnt got written 2017-02-06 11:19:45 +01:00
cinap_lenrek bbce9c0566 rsagen: prefer 65537 as the default exponent when elen == 0, otherwise pick randomly 2017-02-06 04:25:38 +01:00
cinap_lenrek 03e6d3a0f0 aan: remove fcallfmt 2017-02-05 06:14:42 +01:00
cinap_lenrek 7f12431009 aan: use unsigned message counters, reject repeated acks, cleanup debug prints 2017-02-04 01:39:36 +01:00
cinap_lenrek f94167ebee ip/ipconfig: don't write /net/ndb when getting config from ndb (-N) 2017-02-02 22:00:51 +01:00
cinap_lenrek 65337bec22 aan: check negative message size in header 2017-02-02 20:53:05 +01:00
cinap_lenrek 7516e85813 audio/flacdec: continue after decode error (thanks deuteron) 2017-02-01 10:38:19 +01:00
cinap_lenrek d643cf2fe6 cwfs: handle worm exhaustion more gracefully
don't deadlock when cwgrow() detects we'r out of worm space
by releasing the cache superblock buffer.

don't allocate space beyond the worm device when dumping by
having slit() check. after cwrecur(), we check if there are
enougth blocks remaining to write the dump date directories
and superblocks.
2017-01-30 23:17:18 +01:00
cinap_lenrek 5171a0ac52 cwfs: fix cwcmd startdump 2017-01-27 02:00:20 +01:00
cinap_lenrek c6b2ad583e auth/keyfs: use ulong for time 2017-01-26 22:09:44 +01:00
cinap_lenrek 8ea917d119 secstore/secuser: use ulong for time 2017-01-26 22:06:57 +01:00
cinap_lenrek d6bb01da76 factotum: fix memory leak in findkey() 2017-01-22 00:42:13 +01:00
cinap_lenrek 03c44c44b0 rx: remove ssh code 2017-01-13 19:54:42 +01:00
khm dc8c7bf2b7 ssh: R.I.P. 2017-01-12 16:36:38 -08:00
cinap_lenrek c67d0c699f 6c: reverse register allocation order to avoid having to spill AX,DX and CX
allocating AX,CX,DX last improves 64-bit multiplication-add
chains like a*b + c*d as the multiplication does not need to save
and restore AX and DX registers in most cases. reserving CX for
shifts also helps.
2017-01-08 17:41:10 +01:00
cinap_lenrek 28089ee035 aux/data2s: compress output
encode printable characters litteraly, use D() macro to
reduce DATA instruction overhead.

this halves the time spend assembling $CONF.root.s for
the kernel build.
2017-01-07 20:36:13 +01:00
cinap_lenrek df6c190831 cfs: fix cfsctl interaction with mount cache (mount -C flag)
the root fileserver is mounted with the mount cache enabled
causing the contents of the cfsctl file to be cached as well
leading to wrong results. so after we generated the new stat
buffer, we increment the qid.vers so the cache starts out
clean.
2017-01-06 02:54:26 +01:00
cinap_lenrek 19dc7c2097 6c, 8c: fix "DI botch" evacuating DI/SI/CX registers to ".save" variables 2017-01-02 05:49:18 +01:00
cinap_lenrek 9e95cb1ac9 samterm: avoid flushimage when theres nothing new to flush 2016-12-28 23:42:56 +01:00
cinap_lenrek 7755561ae1 fplot: fix zoom egetrect check (thanks qu7uux) 2016-12-28 02:09:33 +01:00
cinap_lenrek 74f62ca21b fplot: parse negative numbers in argument to -r option (thanks qu7uux) 2016-12-28 02:08:45 +01:00