Commit graph

745 commits

Author SHA1 Message Date
cinap_lenrek 9a06f93b71 tftp: prevent it from hanging if ack packets get lost
send ACK reply for duplicate data packets in case our ack response
got lost. make sure packets are in sequence and ignore out of
oder packets (except the ones we'v already acked).
2012-09-20 09:33:40 +02:00
google 9d182f906d Add disk/smart to mkfile 2012-09-20 10:42:17 +12:00
google 2a9d702506 Add Erik Quanstrom's smart tool for ATA SMART. 2012-09-20 22:42:06 +12:00
google fa7fb8b66b Add Erik Quanstrom's atazz
(needed to disable power management/head unload on 2.5" drive)
2012-09-20 22:39:48 +12:00
cinap_lenrek 913afc39c9 tftpd: apply sstallion's tftpd-rfc patch (from sources)
tftpd option handling is not RFC-compliant. This causes picky
clients (such as curl) to fail transfers.
2012-09-18 18:27:59 +02:00
cinap_lenrek a5756259cf 5l -H7 (elf) support (import from sources) 2012-09-18 18:22:38 +02:00
cinap_lenrek 3ba213a9d7 6c: extern register fix (import from patch/6c-extreg)
to make it easy to use normal libraries (such as libdraw, libsec, and libmp)
with the kernel, which uses extern register, don't stray into the external
register set when allocating values to registers.
2012-09-18 18:18:43 +02:00
cinap_lenrek 92d3ff8426 rio: single line scroll up/down with holding shift key 2012-09-16 02:49:41 +02:00
cinap_lenrek 5cabb3070c vnc use Breadn() instead of Bread() 2012-09-16 01:47:44 +02:00
cinap_lenrek 4590975312 mothra: fix wrong ascent calculation if text element is too large, fix image border layout 2012-09-13 09:37:28 +02:00
cinap_lenrek 7b3c5d9257 mothra: special parse mode for <script> as parsetag gets confused by long javascript lines 2012-09-11 07:38:11 +02:00
cinap_lenrek 2fd758bf2a mothra: simpler approach to ignoring <script> tags 2012-09-10 03:09:30 +02:00
google a71b3dff06 Print correct sizes in prep autopart. 2012-09-09 17:37:21 +12:00
google dd1b8df880 Add alignment hints for e512 ATA drives. 2012-09-09 17:22:12 +12:00
cinap_lenrek a064a48e6d nusb: handle 0 csp value on iface, remove unneeded configdev() calls after getdev() 2012-09-06 05:25:23 +02:00
cinap_lenrek 3cdaf6ea5f usbd: add missing quotefmtinstall 2012-09-06 04:07:51 +02:00
cinap_lenrek 93063b3db0 nusbd: properly handle port detach on hub disconnect 2012-09-05 00:06:20 +02:00
cinap_lenrek 5446d9779c date: pikeshedding 2012-09-02 00:18:43 +02:00
google 4cd4b82553 Fixes previous commit: dc3f9d299b40 2012-09-02 01:06:38 +12:00
google 2dfe66d72f Add -i flag to date: prints ISO-8601 datestamp
Add -t flag to date: prints ISO-8601 timestamp
2012-09-02 00:33:39 +12:00
cinap_lenrek 7f22b32e63 isodate in libc? revert every commit for great justice! 2012-09-01 14:12:29 +02:00
google dfc348c4e2 Add -i and -t options to date for isodate and isotime display. 2012-09-02 23:08:14 +12:00
cinap_lenrek a7ed529d97 upas/fs: catch alarm note (used in pop3 code) 2012-08-30 17:39:22 +02:00
cinap_lenrek c430bf65d3 ndb/dns: fix mistake 2012-08-29 20:14:15 +02:00
cinap_lenrek 860d938b20 ndb/dns: bug fixes and massive cleanup
removing the querylck from the DN as it was never used or being
effective which saves like a ton on space per domain name.

remove the Query.tcplock and put query on the stack. it is
unneccesary to lock the query as its only used by one process
at a time. put Query's on the stack.

change outsidens() to outsidensip() which now takes the ip
buffer that it fills instead of returning static buffer (which
would race with multiple processes involved).

eleminate mostly all of the lock(&dnlock)/unlock(&dnlock) calls.
we'r not working on shared cache RR's in the resolver procs.
we work on *copies* done by rrlookup() made under the dnlock.

the cache garbage collection only runs when all processes are
locked out and is also taking the dnlock while doing so.

cleanup xmitquery(). for the tcp case, we dont need to get
more nameserver addresses, just take the ip from the udp header
that tcpquery() placed there for us.

fixed baddelegation() to actually check for delegation loop even
if theres no dom info for our host.

remove lots of debug code. remove the dnforceage() as it doenst
make sure other processes are locked out. this could destroy
dn's currenctly refered by running queries.

remove dnageallnever() as its not used. dont attach rr's to
keepers to prevent outside spoofing.

make myaddr() retrive the ip address if not set.
2012-08-29 19:01:05 +02:00
cinap_lenrek 40d5dce459 dns: fix rr->srv memory leak in rrcopy, mark rr->sig->signer, dn aging, cleanup 2012-08-26 21:56:03 +02:00
cinap_lenrek 8f0ec8b725 ndb/dns: fix netmkaddr() race, dnlock consistency, strcpy, cleanups 2012-08-26 01:51:46 +02:00
aiju 46124af6cf fix CUT macro in cpuid 2012-08-24 19:19:42 +02:00
aiju 6edb672951 added aux/cpuid 2012-08-24 18:49:25 +02:00
cinap_lenrek 8e5dd37eba ndb/dns: fix memory corruption and bad serveraddrs() range checks 2012-08-22 19:45:29 +02:00
cinap_lenrek 87fca361f7 rio: rect outside screen counts as covered wcovered() 2012-08-22 00:11:42 +02:00
cinap_lenrek 62f5a7e2b7 vncs: cleanup and error handling 2012-08-19 08:57:40 +02:00
cinap_lenrek 7bb4a790d6 webfs: capture error string from tlsClient 2012-08-18 15:10:34 +02:00
cinap_lenrek 31ed86ce23 webcookies: create $home/lib/webcookies as 0600 2012-08-17 18:14:34 +02:00
cinap_lenrek 81954dbf25 mothra: bruteforce image src= attribute 2012-08-16 09:03:57 +02:00
cinap_lenrek 2dd17995f1 rio: fix mistake 2012-08-16 06:57:58 +02:00
cinap_lenrek 711557c85e rio: add some tolerance when declaring windows covered 2012-08-16 06:32:34 +02:00
cinap_lenrek 2eb369bb1d rio: add covered (burried) windows to the menu3 hidden window list 2012-08-16 04:00:32 +02:00
cinap_lenrek 3932153299 mothra: handle misplaced trailing quotes 2012-08-15 13:15:34 +02:00
cinap_lenrek 21b5efe962 jpg: ignore sampling factors for grayscale as colormap1() doesnt handle it 2012-08-14 05:36:05 +02:00
cinap_lenrek 142a77c9dc nusb/kb: increase mouse packet buffer from 32 to 64 bytes for Microsoft Sidewinder X5 Mouse (thanks Rexford Gibbs for reporting and testing) 2012-08-13 10:41:02 +02:00
cinap_lenrek 73e924d847 hg: hook system_rcpath and user_rcpath instead of polluting enviroment by setting HGRCPATH 2012-08-13 09:53:04 +02:00
cinap_lenrek 2a9b90cf85 page: fix drawpage race 2012-08-12 20:25:22 +02:00
cinap_lenrek a1f69ed555 hjfs: fix tabs (damn google code editor) 2012-08-11 12:41:49 +02:00
aiju 3759a4a945 disallow walk on open chans 2012-08-11 10:40:48 +00:00
cinap_lenrek 6538711ef0 hjfs: fix permcheck bug 2012-08-11 12:02:05 +02:00
cinap_lenrek 1132aca4f0 vgaclgd542x: support >8bit colors 2012-08-10 21:03:13 +02:00
cinap_lenrek d1f1be9c57 vgavmware: fix hardware acceleration (fill is not available with SVGA2) 2012-08-10 15:17:27 +02:00
cinap_lenrek dbc4833d10 acid: fix cvtitoa buffer overflow 2012-08-10 10:06:23 +02:00
cinap_lenrek 8a53b8192d mothra: avoid eenter deadlock on resize 2012-08-09 04:03:33 +02:00