Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-05-08 | remove empty /sys/src/cmd/cpu.c | cinap_lenrek | |
2021-12-13 | devssl, cpu, import, oexportfs: delete | Ori Bernstein | |
SSL is implemented by devssl. It's extremely obsolete by now, and is not used anywhere but cpu, import, and oexportfs. This change strips out the devssl bits, but does not (yet) remove the code from libsec. | |||
2021-05-05 | cpu: properly handle end of file in readstr() | cinap_lenrek | |
2020-12-13 | oexportfs: move legacy code for cpu and import to separate program | cinap_lenrek | |
The initial protocol handling in exportfs for cpu and import services is a huge mess. Saparate the code out into its own program with its own oexportfs(4) manpage. | |||
2020-05-02 | make bind(2) error handling consistent | cinap_lenrek | |
The mount() and bind() syscalls return -1 on error, and the mountid sequence number on success. The manpage states that the mountid sequence number is a positive integer, but the kernels implementation currently uses a unsigned 32-bit integer and does not guarantee that the mountid will not become negative. Most code just cares about the error, so test for the -1 error value only. | |||
2019-09-21 | cmd/ip/*: chown the network connection after authentication | cinap_lenrek | |
for servers that handle incoming network connections and authentication, change the owner of the network connection file to the authenticated user after successfull authentication. note that we set the permissions as well to 0660 because old devip used to unconditionally set the bits. | |||
2018-10-20 | fix misleading/wrong fd checks | BurnZeZ | |
2018-09-26 | libc: add procsetname() | cinap_lenrek | |
2016-09-18 | cpu: quote remaining remote command arguments, don't syslog on missing ↵ | cinap_lenrek | |
/mnt/term/dev/cpunote file | |||
2016-07-24 | make error handling in 9p service loops consistent | cinap_lenrek | |
when we get eof, stop the loop immidiately and do not rely on the read to eventually return an error. when convM2S() fails to decode the message, error out and stop the loop. there is no point in continuing. | |||
2015-08-25 | fix fuckup | glenda | |
2015-08-25 | import E script from bell labs | mischief | |
2015-08-21 | cpu, import: remove old9p support | cinap_lenrek | |
2015-08-16 | cpu: cleanup ssl code, make sure -p works for any auth method | cinap_lenrek | |
2014-11-07 | fix dangerous werrstr() usages | cinap_lenrek | |
werrstr() takes a format string as its first argument. a common error is to pass user controlled string buffers into werrstr() that might contain format string escapes causing werrstr() to take bogus arguments from the stack and crash. so instead of doing: werrstr(buf); we want todo: werrstr("%s", buf); or if we have a local ERRMAX sized buffer that we can override: errstr(buf, sizeof buf); | |||
2014-05-24 | cpu: remove duplicate environment and chdir($home) code (thanks qrstuv) | cinap_lenrek | |
newns() (called by auth_chuid()) already prepares the environment variables and puts us in a sane working directory (as specified by the namespace file). | |||
2014-03-14 | cpu: make -p work with explicit service in dialstring (same as import) | cinap_lenrek | |
2014-03-04 | cpu: remove unused connection directory buffer | mischief | |
2014-02-21 | fork filter procs with RFREND in various programs | cinap_lenrek | |
2013-12-05 | cpu: add -n flag for the remote site to allow "none" authentification method ↵ | cinap_lenrek | |
(inspired from sources cpu-noauth patch) | |||
2013-09-08 | cpu, ratrace, trace: remove unused #include <bio.h> | cinap_lenrek | |
2013-06-16 | make filesystem handling of read9pmsg() consistent | cinap_lenrek | |
2013-04-24 | cpu: don't print spurious errstr for bad auth method, fix comment | cinap_lenrek | |
2012-06-25 | cpu: revert to old quoting rules, sorry | cinap_lenrek | |
2012-06-25 | cpu: implement aan(8) support | cinap_lenrek | |
2012-06-25 | cpu: -c command quoting, various cleanups | cinap_lenrek | |
2011-12-19 | cpu: fix potential format string bugs, and get rid of redundant "cpu: " ↵ | cinap_lenrek | |
prefix in logfile | |||
2011-03-30 | Import sources from 2011-03-30 iso image - lib | Taru Karttunen | |
2011-03-30 | Import sources from 2011-03-30 iso image | Taru Karttunen | |