cinap_lenrek
234137bce3
fix bugs and cleanup cryptsetup code
...
devfs:
- fix memory leak in devfs leaking the aes key
- allocate aes-xts cipher state in secure memory
- actually check if the hexkey got fully parsed
cryptsetup:
- get rid of stupid "type YES" prompt
- use genrandom() to generate salts and keys
- rewrite cryptsetup to use common pbkdf2 and readcons routines
- fix alot of error handling and simplify the code
- move cryptsetup command to disk/cryptsetup
- update cryptsetup(8) manual page
2016-10-24 20:56:11 +02:00
cinap_lenrek
f3feafc476
auth/factotum: bound the number of srv processes to 16, error the 9p rpc when it is over limit
2016-10-23 17:18:35 +02:00
cinap_lenrek
b728f50a79
lib9p: limit the number of srv processes kept arround 8
2016-10-23 17:16:22 +02:00
cinap_lenrek
98dba9a4a3
pc/archacpi: don't do acpi initialization in the kernel, provide generic acpimem routines
...
get rid of _INI and _REG method calls, this is not full acpi environment
anyway and all we really want todo at kernel boot time is figuring out
the interrupt routing. aux/acpi can try to enable more stuff if it needs
to later when battery status desired.
dont snoop memory space regions in amlmapio(), this is just wrong as
amlmapio() is *lazily* mapping regions as they are accessed, so the
range table would never be really complete. instead, we provide generic
access to the physical address space, excluding kernel and user memory
with acpimem file.
2016-10-23 04:09:27 +02:00
cinap_lenrek
055f837043
ip: simplify code as packblock() and concatblock() will never error
2016-10-23 00:31:42 +02:00
cinap_lenrek
75c6ab45e0
devip: simplify ipbwrite() by using retun value of qbwrite()
2016-10-23 00:29:41 +02:00
cinap_lenrek
ef5c862ce9
ip/icmp: only reply to echo request when directed to us and source is unicast
2016-10-23 00:25:17 +02:00
cinap_lenrek
a8d00e5d56
gif: just read and decode the first image when -9 or -c flag is specified
2016-10-22 00:35:17 +02:00
cinap_lenrek
6d97f77c2d
libdraw: avoid dropping queued button change mouse events in emouse()
2016-10-22 00:04:21 +02:00
cinap_lenrek
e5dc3ade08
mothra: avoid flushimage() calls, event() will implicitely flush
2016-10-22 00:02:23 +02:00
spew
3145ca7d78
mpc: remove unused yylval type
2016-10-19 22:15:51 -05:00
ftrvxmtrx
26e00d014c
aux/acpi: batteries and CPU temp reading so far
2016-10-18 23:05:09 +02:00
ftrvxmtrx
e01577f8f6
archacpi: optionally export acpi memory regions; properly initialize environment
2016-10-18 23:04:19 +02:00
ftrvxmtrx
06dd182695
sam: revert showdata crap
2016-10-18 21:25:19 +02:00
ftrvxmtrx
d010b87b18
sam: corner cases are hard
2016-10-18 20:27:08 +02:00
ftrvxmtrx
e19308ee16
sam: fixup :(
2016-10-18 20:22:25 +02:00
ftrvxmtrx
dff69d5922
samterm: support "showdata" plumb action
2016-10-18 20:02:01 +02:00
stanley lieber
40f69f4df5
fortunes: does that me a dipshit
2016-10-16 14:16:17 -04:00
ftrvxmtrx
0a7a717525
scram: remove _PTS(5). it just doesn't make any sense
2016-10-15 23:42:22 +02:00
ftrvxmtrx
277913c94a
scram: oops. word is 0xffff, not 0xff
2016-10-15 23:34:08 +02:00
ftrvxmtrx
375ad2d3ab
scram: run _PTS(5) and disable GPEs before entering S5. x200s shuts down properly now
2016-10-15 23:10:53 +02:00
stanley lieber
7392dce0a7
fortunes: Angular uses the term "scope" in a manner akin to the fundamentals of co
...
mputer science.
2016-10-10 13:43:48 -04:00
cinap_lenrek
062a46607e
nusb/kb: set usage to 0 (undefined) for items exceeding usage list
2016-09-28 19:25:23 +02:00
cinap_lenrek
9cb3e5900e
nusb/lib: fix wrong endpoint id when openep() finds already existing endpoint file
2016-09-28 19:15:10 +02:00
ftrvxmtrx
ab3492f05e
sam: putenv("%", ...): don't crash when no file is current
2016-09-26 23:00:06 +02:00
cinap_lenrek
d8b4f95476
sam: use $% instead of $f for filename to be consistent with acme
2016-09-22 11:04:43 +02:00
cinap_lenrek
52cacba37c
sam: make current filename available to shell commands in $f (thanks aiju)
2016-09-22 10:49:48 +02:00
cinap_lenrek
483e54a0d3
ip(3): spelling, thanks sl
2016-09-21 21:57:08 +02:00
cinap_lenrek
e864523eed
ip(3): update description of /net/ipifc/*/status format
2016-09-21 21:47:52 +02:00
cinap_lenrek
c7bad8f0e5
rio: fix onscreen()
2016-09-20 09:15:53 +02:00
cinap_lenrek
35fde3591f
scat: hjdicks for amd64
2016-09-19 19:04:21 +02:00
aiju
11e40fc6b4
pc(1): if the input base is not 10, print the 0d prefix before decimal numbers; this way, all output is always valid input (for the current mode)
2016-09-19 16:45:15 +00:00
cinap_lenrek
bb823caa28
merge
2016-09-19 02:30:39 +02:00
cinap_lenrek
c7f0aba80b
webfs: aaand another one (should go to sleep)
2016-09-19 02:28:10 +02:00
cinap_lenrek
fe320116da
merge
2016-09-19 02:14:03 +02:00
cinap_lenrek
f5fcb42cff
merge
2016-09-19 02:12:18 +02:00
cinap_lenrek
cbdf48454f
webfs: fix mistake...
2016-09-19 02:11:03 +02:00
cinap_lenrek
6d354d07e8
webfs: don't use cache connections when posting
...
we cannot retry posts and we do not know for sure if a
post had any side effect when we got no status, so always
make a new connection for a post request.
2016-09-19 02:04:13 +02:00
aiju
0c50e1bc3d
pc(1): add pb (thanks, BurnZeZ); add bit numbering
2016-09-19 01:20:28 +02:00
cinap_lenrek
1447b95555
rio: improved bandsize()
...
when dragging a window edge, allow one to slide to a corner
or slide from corner to corner (usefull when inverting).
also make sure the right or bottom of the rectangle returned
by whichrect() is not outside of the screen (which makes
drawing slow).
2016-09-18 21:16:45 +02:00
cinap_lenrek
31b10e364f
cpu: quote remaining remote command arguments, don't syslog on missing /mnt/term/dev/cpunote file
2016-09-18 16:54:24 +02:00
cinap_lenrek
2aa727ff09
etherzynq: implement promisc mode and multicast filter support
2016-09-17 15:58:11 +02:00
cinap_lenrek
cb9a5a19b0
nusb/ether: promisc and multicast support for admtek pegasus (aue)
2016-09-17 14:18:40 +02:00
cinap_lenrek
382abccf27
nusb/ether: multicast and promisc support for rtl8150 (url)
2016-09-17 14:06:03 +02:00
cinap_lenrek
ce07c1d6e7
merge
2016-09-16 23:23:19 +02:00
cinap_lenrek
c937aac59b
nusb/ether: experimental pomisc mode and multicast support for smsc and asix
2016-09-16 23:21:54 +02:00
aiju
0c3ba556a2
pc(1): _ handling in numbers was broken at some point; restore documented behaviour
2016-09-15 09:13:22 +00:00
aiju
07284c41f6
pc(1): add nsa() command
2016-09-15 08:51:59 +00:00
cinap_lenrek
7bcbef11eb
ape: fix format clash, %z is for size_t (which is a long currently), not pointer sized
2016-09-14 00:18:45 +02:00
cinap_lenrek
a0150376df
ape: bring strtod() in line with plan9's libc version
2016-09-11 23:20:55 +02:00