Commit graph

229 commits

Author SHA1 Message Date
stanley lieber 55f6484f85 /lib/ndb/common: add auth=cb.inri.net authdom=nyc 2015-12-09 01:17:41 -05:00
cinap_lenrek 24d74a4b5f acid/leak: fix endless loop for B2NB(b) == b case (thanks mischief) 2015-10-19 00:20:33 +02:00
stanley lieber a90662c2e6 /sys/lib/dist/ndb/common: correct authdom=inri 2015-09-16 13:29:04 -04:00
cinap_lenrek 50850cf4b9 dist/mkfile: add target for the aijuboard *.zynq.img
this generates a disk image (to be written to usb or
sdmmc card) containing 9fat partition with kernel and
a hjfs filesystem partition with the 9front distribution.

this could be easily extended to generate raspberry pi
images as well, but i have no hardware to test.
2015-09-05 03:29:17 +02:00
glenda c4fdc6bfdb fix fuckup 2015-08-25 09:35:10 +00:00
mischief 6b402b83cf import E script from bell labs 2015-08-25 02:07:46 -07:00
cinap_lenrek 7a97fe132a acid -k: fix intrcount() for amd64 2015-08-09 22:43:53 +02:00
cinap_lenrek cd357a2b8c acid -k: fix procenv() to new data structure 2015-08-09 22:24:50 +02:00
cinap_lenrek eaf42a2c78 rootstub: add spim 2015-08-08 09:20:48 +02:00
cinap_lenrek c8a7747659 cdproto: add spim 2015-08-08 08:56:08 +02:00
ftrvxmtrx 7a95bef00e authsrv: remove unused opasstokey 2015-06-09 23:53:07 +02:00
stanley lieber cfafa67640 rootstub: do not create pkg directories 2015-05-25 15:04:30 -04:00
mischief c727d2ae8a cdproto: /sys/log/httpd should be a directory 2015-05-20 18:25:53 -07:00
cinap_lenrek 8183f0ec85 cdproto: /sys/log/pop3 2015-05-18 00:29:12 +02:00
cinap_lenrek e74d851d69 hg: install hgweb templates 2015-03-13 18:30:59 +01:00
cinap_lenrek aade4d9d8a set /mail/tmp permissions world writable in cdproto 2015-03-05 10:16:17 +01:00
cinap_lenrek 1d2ce3583e leak: report alloc size mismatch 2015-02-26 22:33:03 +01:00
cinap_lenrek 0b016a77e4 gs: backport aes support for pdf-1.6 2015-02-20 00:21:45 +01:00
cinap_lenrek 13508a99a8 gs: work arround broken xref table pdfs
rebuilding the xref table does not work for pdfs with
compressed object streams. as a work arround, we skip
xref table verification and ignore wrong xref gen #
for gen 0 objects.
2015-02-19 11:44:16 +01:00
aiju f6eacf471e added games/c64 2015-02-07 18:03:17 +01:00
stanley lieber e14d624974 qmail: call mail instead of smtp with the wrong path 2014-12-11 14:45:16 -05:00
cinap_lenrek 469a10f1d9 hgwebfs: add fake add_handler method for HTTPRangeHandler()
provide a add_handler() so code trying to add
byterange.HTTPRangeHandler will succeed. webfs
does handle "206 Partial Content" already.
2014-12-09 23:11:05 +01:00
cinap_lenrek 402140675f rootstub: create /sys/src/pkg and /sys/lib/pkg directories 2014-11-13 10:23:53 +01:00
cinap_lenrek 5c5daef9f6 dist: generate efi bootable cd image 2014-10-31 20:59:35 +01:00
mischief 222018340b hg: make intermediate directories like newer hg does 2014-09-15 13:42:54 -07:00
stanley lieber 585ab698de /sys/lib/dist/ndb/common: add auth=fs.stanleylieber.com authdom=inri 2014-08-28 20:46:56 -04:00
stanley lieber c20bab6fe0 ndb/common: add ipv6-icmp, ipv6-nonxt, ipv6-opts, bootps 2014-07-03 12:03:40 -04:00
Aram Hăvărneanu 889afd97de acid: fix notestk() on amd64
Use Ureg->pc instead of Ureg->ir.
2014-07-01 11:20:55 +02:00
mischief 46cc1c444b sam: mark samsave executable
sam generates $home/sam.save for modified files. it expects /sys/lib/samsave to be executable to restore the modified files.
2014-06-25 03:13:52 -07:00
cinap_lenrek 3c41f98e0c remove imagepagerefs() acid function 2014-06-22 15:40:36 +02:00
cinap_lenrek 3207e8b6a4 add _nsec() syscall 53 for binary compatibility with labs distribution
the new syscall is added under the symbol _nsec() for
binary compatibility.

nsec() is still a library function reading /dev/bintime.
2014-05-20 05:06:31 +02:00
mischief ec37e34f07 acid: fix errstr syscall data offset for truss library 2014-02-25 09:31:58 -08:00
cinap_lenrek 5e353e17c6 acid: add some debugging aid function for counting kernel image cache page refs 2014-02-24 22:45:38 +01:00
cinap_lenrek 3df2b18398 truss: use A instead of X as address format for data dump 2014-02-16 19:20:57 +01:00
cinap_lenrek c44cbf3165 truss: fix syscall address formats 2014-02-16 19:08:49 +01:00
cinap_lenrek 38c35d6195 acid: add semacquire/semrelease/tsemacquire syscalls, handle _seek hack for amd64 (thanks erik) 2014-02-14 14:02:33 +01:00
cinap_lenrek b7b68668cf acid: fix acid/network, fix address formats from X to A 2014-02-12 20:04:07 +01:00
cinap_lenrek cd17077749 truss: support for amd64 2014-02-12 19:27:08 +01:00
cinap_lenrek e37ff43eb6 acid: remove objchar, prefering foobar.$objtype.acid
acid already sets up objtype for us.
2014-02-10 01:53:26 +01:00
cinap_lenrek de356dd855 acid: update acid libraries for amd64 2014-02-10 23:07:37 +01:00
cinap_lenrek 269788514c newuser: dont bark when we cannot bind $home/bin/$objtype after /bin, create $home/bin/amd64 2014-02-02 10:59:05 +01:00
cinap_lenrek 4c97cb34ac add acid library for amd64 2014-02-02 08:41:13 +01:00
cinap_lenrek 42f4cdc3fd rootstub: create amd64 directories for acme 2014-02-01 20:19:06 +01:00
cinap_lenrek 3e8764aef1 acid leak: remove arena pointer a < 0xff000000 check
in the kernel, area can lie above 0xff000000
2013-12-25 15:00:39 +01:00
stanley lieber 9e021d9230 /sys/lib/plumb/basic: add commas to some rules for file names that will frequently contain commas 2013-12-22 14:56:04 -05:00
cinap_lenrek 5dae7fcc68 add plumbing rules for page bookmarks and audio playback 2013-12-21 18:04:50 +01:00
cinap_lenrek 0866d65f8e acid leak: handle ALIGN_MAGIC padding of skip area for mallocalign()
the alloc and realloc tag words do not start at the beginning of
a block created by mallocalign(). instead, the block is padded
with ALIGN_MAGIC.
2013-12-17 15:40:12 +01:00
cinap_lenrek ea5797c073 kbdfs: add esc1+shift and esc1+ctrl pages (see sources kbmap-uk-weird patch)
Add pages for esc1+shift and esc1+ctrl - some UK USB keyboards (Dell) and it seems some
German ones: https://groups.google.com/forum/#!topic/comp.os.plan9/ycok6NTCWCg seem to
generate an esc1 + code scancode combination for the pipe/backslash key. Seems like
overkill to add two whole pages for just two keys, but there again RAM is cheap these days.

Probably should take the changes across to omap/kbd.c (and by extension bcm/kbd.c)
but the changes are trivial.
2013-11-23 00:50:15 +01:00
cinap_lenrek a76d0bf6c5 ndb/common: add ipv6 addresses of root name servers 2013-11-10 19:35:33 +01:00
cinap_lenrek 2bc9e8e5e3 kernel: make image cache not hold onto the channel, remove nocache flag
the image cache should not hold onto the text file channel
when not neccesary. now, the image keeps track of the number
of page cache references in Image.pgref. if the number of
page cache references and Image.ref are equal, this means
all the references to this image are from the page cache.
so no segments are using this image. in that case, we can
close the channel, but keep the Image in the hash table.

when attachimage() finds our image, it will check if Image.c
is nil and reattach the channel to the image before it is
used.

the Image.nocache flag isnt needed anymore.
2013-11-08 22:31:26 +01:00
cinap_lenrek 1ca07d817b ndb/common: update ip for d.root-servers.net 2013-10-26 01:11:18 +02:00
cinap_lenrek 384adf4c89 ndb/common: dont use bell-labs dns servers for rfc1980 zones 2013-10-26 00:56:51 +02:00
cinap_lenrek 3142af56d8 newuser: make lib/profile read drawterms /dev/secstore when available 2013-10-23 23:44:25 +02:00
cinap_lenrek d3b8ded315 rootstub: create directories for mips 2013-09-21 21:21:18 +02:00
cinap_lenrek 5fce388abf create /sys/lib/ssl 2013-08-11 18:23:22 +02:00
cinap_lenrek dfb0bf24b3 acid: fix dumptree() acid function to work in kernel debug, update malloc.acid and pool.acid files 2013-06-10 01:13:21 +02:00
cinap_lenrek 257c7e958e keep fpregs always in sse (FXSAVE) format, adapt libmach and acid files for new format
we now always use the new FXSAVE format in FPsave structure and fpregs
file, converting back and forth in fpx87save() and fpx87restore().

document that fprestore() is a destructive operation now.

change fp register definition in libmach and adapt fpr() acid funciton.

avoid unneccesary copy of fpstate and fpsave in sysfork(). functions
including syscalls do not preserve the fp registers and copying fpstate
from the current process would mean we had to fpsave(&up->fpsave); first.
simply not doing it, new process starts in FPinit state.
2013-05-26 22:41:40 +02:00
ftrvxmtrx 5aa2a1a845 kbmap/ua: fix uppercase ь 2013-05-20 13:48:09 +02:00
ftrvxmtrx 318cd6fbde kbmap/ru: fix uppercase ь 2013-05-19 17:50:51 +02:00
ppatience0 87785ee897 /sys/lib/rootstub: fix missing /alpha/lib/ape directory 2013-04-29 11:12:47 -04:00
cinap_lenrek 966a185353 fix missing return compile error for manual book index generator 2013-04-28 16:47:03 +02:00
cinap_lenrek 6b03a9495c dont use full qualified domain names in example configuration
use shorter sysnames instead of full qualified domain names
so one doesnt have to setup the dns server in the example
configuration.
2013-02-27 08:18:18 +01:00
cinap_lenrek 201a98d06c cdproto: only include binaries for $objtype, filter temporary files 2013-02-24 04:48:12 +01:00
cinap_lenrek 328a3001b2 troff macros: change unix /usr/lib paths to plan9 /sys/lib and /usr/bin/col -> /bin/col 2013-02-16 23:56:17 +01:00
cinap_lenrek 8f991a3faa create /lib/firmware in rootstub 2013-02-11 00:53:51 +01:00
stanley lieber 79223a0e64 cdproto create /sys/log/www 2013-02-04 16:56:34 -06:00
stanley lieber c877493fb0 add rc-httpd 2013-02-04 16:40:05 -06:00
cinap_lenrek 1b017b8db4 mount /n/other from /srv/boot instead of /srv/cwfs
this makes sure tcp boot will have ther user /tmp's
the same way as from local cwfs. we used /srv/cwfs
to prevent a deadlock with 9660srv as a root filesystem
which has been fixed now.
2013-01-22 10:41:01 +01:00
stanley lieber 275b5e2fb3 rewrite.direct: rewrite aliases before delivering to local users to avoid re-sending the message 2013-01-18 21:47:49 -06:00
cinap_lenrek bf60c38720 add empty /lib/tftpd directory 2013-01-02 03:54:05 +01:00
Marko Kostić e95c771eb5 Renamed the serbian latin kbmap and changed some minor errors
in it (lj > q, nj > w).
2012-12-21 17:05:31 +01:00
cinap_lenrek 1ee5cd7425 kernel: mnt cache rework
avoid double entries in the cache for copen() and properly handle
locking so we wont just give up if we cant lock the Mntcache entry,
but drop the cache lock, qlock the Mntcache entry, and then recheck
the cache.

general cleanup (cdev -> ccache, use eqchantdqid())
2012-10-17 15:48:30 +02:00
cinap_lenrek 14817c4991 /sys/lib/acid/kernel: fix imagecache() and procenv() 2012-10-09 03:52:18 +02:00
cinap_lenrek eb13b7debc /sys/lib/acid/kernel: needacid("chan") 2012-10-09 03:22:28 +02:00
cinap_lenrek 54c5131529 /sys/lib/acid/kernel: fix intrcount() 2012-10-07 08:03:02 +02:00
Marko Kostić d5be0c1853 user: Marko Kostić <marko.m.kostic@gmail.com>
branch 'default'
added sys/lib/kbmap/sr (serbian cyrillic kbmap)
added sys/lib/kbmap/sr@latin (serbian latin kbmap)
2012-09-19 23:37:47 +02:00
cinap_lenrek 36f4f9fcd3 bring kernel acid library in sync (import from sources) 2012-09-18 18:11:16 +02:00
cinap_lenrek f90682e32e add hungary keyboard map (contributed by bencef) 2012-09-10 11:01:36 +02:00
cinap_lenrek 0a48c1e340 lp: HTML table support 2012-09-10 08:10:30 +02:00
cinap_lenrek f6dd4bb5ee lp: handle HTML files with html2ms | troff in process/generic 2012-09-10 07:40:28 +02:00
cinap_lenrek f57e4ecb01 hgwebfs: remove prefixing // from file path 2012-09-10 22:20:40 +02:00
cinap_lenrek aead11533e support file:// urls in hgwebfs extension as apparently hg uses them. m( 2012-09-08 01:55:46 +02:00
stanley lieber 60bcab4d78 /sys/lib/dist/ndb/common: for god and country, geronimo, geronimo, geronimo 2012-08-28 22:46:44 -05:00
cinap_lenrek 8b93667775 lib/profile: remove startupasfs, start rio as subprocess so we drop to rc if it fails (no framebuffer), drawterm 2012-08-17 18:19:03 +02:00
cinap_lenrek 6023250c46 plan9.ini: remove *nomp= 2012-07-25 23:21:16 +02:00
cinap_lenrek 1de9ca2de5 bring back il protocol support 2012-05-03 10:47:40 +02:00
stanley lieber 2279c86091 profile: use vga/unicode.font in default lib/profile 2012-04-09 11:01:02 -05:00
cinap_lenrek 47af19f6ed vga: fix type in vga.font, make vga/unicode.font file 2012-03-21 17:59:46 +01:00
cinap_lenrek 9c71514b71 hgwebfs: make push work 2012-03-16 17:47:36 +01:00
cinap_lenrek e86a1f3fbe hgfs: fix mistake 2012-03-16 17:18:44 +01:00
cinap_lenrek 51f8743f76 hg: hgwebfs extension, ignore /net.alt 2012-03-16 17:13:35 +01:00
cinap_lenrek 1daf9bec76 dont track /sys/lib/tls 2012-03-12 18:27:40 +01:00
cinap_lenrek 093ca3a182 make vga font the default 2012-03-10 03:19:43 +01:00
cinap_lenrek bf0453417c fix mistake in /sys/lib/dist/mkfile 2012-02-12 04:35:20 +01:00
stanley lieber 9e1fcf4e53 add /sys/lib/dist/mail 2012-02-11 16:48:54 -06:00
cinap_lenrek 75e1ef0ab6 new webfs, rc based hget 2012-01-11 16:17:54 +01:00
cinap_lenrek 6a5f2d9d55 Backed out changeset db0fa2edf131
reverting bad commit
2012-01-06 18:58:39 +01:00
stanley lieber e7dd5dad5c pkg/create: use separate steps for mk install and mk clean, to avoid mkfile problems 2012-01-05 12:21:23 -06:00
glenda b56d307ce6 use mntgen for /mnt and /mnt/exportfs 2011-12-02 06:05:23 +01:00
cinap_lenrek dfdc8e3ffc dont plumb html to page 2011-10-08 05:08:01 +02:00