spew
f14e277c58
hjfs: fix broken dprint
2017-03-27 22:05:53 -05:00
spew
3103efb8b0
hjfs: simplify dprinting
2017-03-27 21:38:12 -05:00
spew
2e64925b91
hjfs: add simple scan check of directory entry blocks
2017-03-27 21:27:45 -05:00
spew
e02bc28aaf
hjfs: check: check a block if its ref count is _not_ zero. Also check all the ref counts of blocks of a directory and clean up messages
2017-03-27 17:57:10 -05:00
spew
3edac80327
hjfs: merge start of hjfs check implementation
2017-03-27 09:57:08 -05:00
spew
347bb2a7a7
hjfs: start implementation of checking a directory
2017-03-27 09:55:56 -05:00
aiju
cf8f90e1d3
file(1): recognise Xilinx bitstreams
2017-03-25 22:29:29 +00:00
spew
5aa501870b
hjfs: Add comment to change the OFF size to 8 when given the chance
2017-03-25 13:49:13 -05:00
cinap_lenrek
152159a829
upas/smtp: fix cram-md5 auth, simplify doauth(), check varargs for dBprint()
...
- smtpcram() was replying with the challenge instead of the response... m(
- simplify doauth, use error string for auth_getuserpasswd() error logging
- enable #pragma varargck for dBprint()
2017-03-23 01:31:35 +01:00
cinap_lenrek
9b848903e6
upas/smtp: generate 128-bit random message id (was 32 bit), use dBprint(), cleanup unused variables
2017-03-23 00:36:57 +01:00
spew
b7ee84c65d
upas/smtp: Revert smtp dial string behavior to match that of old upas (thanks sam-d)
...
Also do some cleanup around buffers and memory management
2017-03-22 17:10:35 -05:00
spew
8b6621a360
[012568kqv]a: correctly lex full range of integers in the assemblers (thanks Ori_B)
...
The Plan 9 assemblers use strtoll to parse the integer literals
in their input. It turns out that this is almost correct, but
VLONG_MIN is clamped. This patch changes to use strtoull
in order to allow the full range of integers.
2017-03-22 00:04:24 -05:00
cinap_lenrek
3309f05b97
remove accidentally commited binary /sys/src/cmd/upas/fs/chkidx file (thanks mischief)
2017-03-21 20:31:15 +01:00
spew
8dd9f0e970
hjfs: Clear all refs to zero when reaming.
...
And a couple clarity/formatting changes
2017-03-21 14:07:18 -05:00
cinap_lenrek
1e2d95a803
ip/torrent: exit immidiately when file is complete after verification and not being in seed mode
2017-03-20 19:15:40 +01:00
cinap_lenrek
b7c05975f5
ip/torrent: avoid peerid collision using truerand() instead of time(0)
2017-03-20 19:11:03 +01:00
cinap_lenrek
c220100005
fortune: avoid buffer overflow for lines >= 2K, make sure index has at least one entry, use nrand()/ntruerand() for uniform distribution
2017-03-19 22:04:26 +01:00
cinap_lenrek
da9b38c75c
5l,6l,8l,kl,ql,vl: allow duplicate GLOBAL symbols (from Ori Bernstein)
...
The plan 9 assemblers support the DUPOK flag on text symbols. They parse and
ignore it on GLOBL symbols. This patch makes it work in the linkers.
The reason I ran into this is because my programming language (Myrddin) uses
data symbols to generate type information, and it's useful to avoid
duplicating all of the type info in every file that gets generated.
2017-03-19 03:05:24 +01:00
cinap_lenrek
1132d1b9df
tapefs: handle more cpio formats (thanks qrstuv)
2017-03-17 00:45:48 +01:00
cinap_lenrek
3d052eb2ea
upas/fs: tls sni support for pop3/imap
2017-03-16 22:06:31 +01:00
cinap_lenrek
cb1dc365c2
upas/fs: fix memory leaks in tls code, handle tls in a common wraptls() function
2017-03-16 00:05:08 +01:00
cinap_lenrek
efddf48500
upas/fs: getting rid of the fine-grain locking...
...
now that locking works, its time to get rid of it.
given that the only concurrency is between the periodic reader
process and the filesystem code, just make sure the filesystem
rpc handlers do not run concurrenty while syncing is in progress
with a single qlock.
2017-03-15 19:30:33 +01:00
cinap_lenrek
c8d9390070
upas/fs: more cleanup...
2017-03-14 23:46:35 +01:00
cinap_lenrek
4b08ef2c55
upas/fs: remove more debugging crap
2017-03-14 23:31:10 +01:00
cinap_lenrek
75bca30647
upas/fs: remove unused segbrk memory allocator
2017-03-14 23:21:38 +01:00
cinap_lenrek
8417787f99
upas/fs: remove idx semaphore, cannot happen as symcmbox() always called with mailbox locked
2017-03-14 23:19:17 +01:00
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