Commit graph

312 commits

Author SHA1 Message Date
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
cinap_lenrek f3d84bdeca plumb rules for page, make sam and mothra the default 2011-10-08 05:01:14 +02:00
cinap_lenrek 0695ff9304 dist: bind dummy adm/timezone/local 2011-09-20 06:14:15 +02:00
cinap_lenrek 5b4882a669 remove old stuff 2011-09-05 03:31:41 +02:00
glenda efcf574686 merge 2011-09-03 09:18:27 -04:00
cinap_lenrek 37e132735b rootbind: only bind /bin if binaries are there 2011-08-30 05:50:21 -04:00
cinap_lenrek 5870aeaa39 checkman: ignore inst/* 2011-08-26 06:43:39 +02:00
cinap_lenrek 096ffdb686 remove */bin/usb 2011-08-26 06:43:07 +02:00
cinap_lenrek e61553c52c rootstub: add missing dirs for sys/lib/dist/usr/glenda 2011-08-22 04:03:04 +02:00
aiju 70c4f8e14a fixed acid kernel 2011-08-21 13:52:50 +02:00
cinap_lenrek 145345bd86 add nusb to rootstub 2011-07-28 14:43:44 +02:00
cinap_lenrek 973b645471 add /sys/doc to cdproto 2011-07-19 05:24:28 +02:00
cinap_lenrek daec20cb07 missing license files 2011-07-18 02:18:43 +02:00
cinap_lenrek 9ea3302a4f disable rio auto scroll for initial user glenda 2011-07-13 02:51:08 +02:00
cinap_lenrek 1a5cf98c99 acid/pool: fix issue #61 2011-06-30 12:20:30 +02:00
cinap_lenrek da6449fd54 remove /mail/box/bootes 2011-06-10 00:21:05 +00:00
cinap_lenrek b6bb2a4093 move /lib/ndb to /sys/lib/dist/ndb 2011-06-09 23:15:09 +00:00
cinap_lenrek 1da0722fe5 add /net/ndb to default ndb database files, fix mistakes 2011-06-09 07:35:31 +00:00
cinap_lenrek 4fab38b740 dist/mkfile: simplify 2011-06-09 05:53:13 +00:00
cinap_lenrek 7c02d9bc6a dist/mkfile: run binds in subshell 2011-06-09 05:43:46 +00:00
cinap_lenrek c2b524d82f newuser: dont try to create stuff on other, you can only do that on the fs console 2011-06-09 05:39:52 +00:00
cinap_lenrek df752e061e remove bootes usr stub 2011-06-09 05:30:35 +00:00
cinap_lenrek b6af95c932 fix double entry in cdproto 2011-06-09 04:57:47 +00:00
cinap_lenrek c9dc319649 remove bootes, fix inst/authsetup, use ndb for ipconfig before trying dhcp 2011-06-09 04:56:16 +00:00
cinap_lenrek 0fff50776c remove bin/fossil from rootstub 2011-06-08 21:40:00 +00:00
cinap_lenrek 88b94e948d move /usr to /sys/lib/dist/usr for initial user directories 2011-06-08 21:33:44 +00:00
cinap_lenrek d752cef7ba remove mbox files and cron/bootes from repo 2011-06-08 02:43:24 +00:00
cinap_lenrek 4626ebdbd8 add support for mode override in libdisk/proto, fix some perms and add logfiles to cdproto 2011-06-08 00:49:45 +00:00
cinap_lenrek 9310110448 fix real cause of iso name truncation 2011-06-06 04:56:50 +00:00
cinap_lenrek ac5c58e7a4 fix truncated filenames in iso 2011-06-06 02:26:14 +00:00
cinap_lenrek 0accb94ff0 rootbind: use $objtype instead of hardcoding 386 2011-06-04 00:29:24 +00:00
stanley lieber bafa56df02 /sys/lib/9build, /sys/lib/9cdbuild: add build scripts; fix when broken 2011-05-31 17:45:47 +00:00
cinap_lenrek c8a551c414 manpage updates 2011-05-12 18:36:46 +00:00
aiju c2a41bb939 added 403 handling to hgfactotum 2011-05-11 14:22:50 +00:00
cinap_lenrek 3a78a07143 ape: fix fread/fwrite, python: disable bytecode dumps, inst: rename textonly to start and remove inst/gui, add sys/lib/rootbind, cisfd(8) manpage 2011-05-10 05:33:43 +00:00
cinap_lenrek b73e068bfe D: 2011-05-10 01:36:06 +00:00
cinap_lenrek 743a9af3b0 add missing usr/bootes to rootstub 2011-05-10 01:33:08 +00:00
cinap_lenrek fefd557d83 fix bad proto entry for cront/bootes, remove partfs from rootfs 2011-05-10 01:29:42 +00:00
aiju 4351887efd fixed HTTP Basic auth 2011-05-09 19:41:17 +00:00
aiju d232167dc3 added HTTP Basic to hgfactotum 2011-05-09 18:53:34 +00:00
aiju ea0fe9a39b added factotum support for python and hg 2011-05-09 18:03:42 +00:00
stanley lieber 0461c58433 add cpu server to the installer; add more files for cpu server; make sure they are included on the cd-rom. 2011-05-04 18:55:08 +00:00
cinap_lenrek de2dc860d3 fix manual (book) build, add files/permissions for lp, compile postscript 2011-05-05 06:41:01 +00:00
cinap_lenrek d7c2e38fe1 include complete /sys/man 2011-05-04 11:51:13 +00:00
cinap_lenrek 54a313181e fix manpages 2011-05-04 09:02:04 +00:00
cinap_lenrek b8436b026a remove python test cases 2011-05-04 05:41:33 +00:00
cinap_lenrek cbfc955b8d change uid for hg repo to glenda 2011-05-03 15:25:52 +00:00
cinap_lenrek 5976fdfe42 remove stuff 2011-05-03 15:16:20 +00:00
cinap_lenrek 1665b57e14 proto: add regex support for skip= 2011-05-03 14:54:19 +00:00
cinap_lenrek a118f445d5 getpass 2011-05-03 11:41:36 +00:00
cinap_lenrek 458120dd40 add hg and python 2011-05-03 11:25:13 +00:00
cinap_lenrek bfc9eceaa6 fix bad perms for .hgignore in cdproto 2011-05-03 08:57:48 +00:00
cinap_lenrek f5685a313d include hg repository in /dist/plan9front and install it 2011-05-03 08:53:59 +00:00
cinap_lenrek 4875561fdb remove sys/lib/dist.old 2011-05-03 04:53:43 +00:00
cinap_lenrek 4e919b23a1 remove .dummy files and replace it by sys/lib/rootstub script 2011-05-03 04:42:16 +00:00
cinap_lenrek 05bcced19e inst: use first iso9660 filesystem as default distribution media 2011-05-01 01:49:26 +00:00
cinap_lenrek 15656fc79d boot(8): fix boot restarting 2011-04-30 20:17:33 +00:00
cinap_lenrek 840b3bf28a make /n/other work 2011-04-29 12:50:51 +00:00
stanley lieber aed2a55f26 /sys/lib: fix permissions. 2011-04-25 04:09:14 +00:00
aiju abf197c323 made nomp default 2011-04-24 17:20:06 +02:00
cinap_lenrek 3d3afc5cbe use /n/other for tmp storage 2011-04-22 02:40:11 +00:00
cinap_lenrek e8635a732a boot(8): use first detected filesystem as bootargs default 2011-04-21 12:49:59 +00:00
cinap_lenrek 4b8734b7c5 include all archs in cd 2011-04-18 09:47:04 +00:00
cinap_lenrek 53143ecd7d remove pccd kernel configuration. cdrom boot can just use pcf 2011-04-18 07:42:29 +00:00
cinap_lenrek 74a7efc3a2 remove *nomp= from boot config. its easy to add a config key in boot shell or change bios option in case it doesnt work. 2011-04-15 08:34:44 +00:00
cinap_lenrek 856aeaf333 let the kernel set dma mode for ata by default 2011-04-15 07:25:45 +00:00
cinap_lenrek aa96dd030d bla 2011-04-15 05:26:06 +00:00
cinap_lenrek c0662c5330 hacked libdisk/proto to support skipping file names (.dummy) and setting uid/gid recursively (this solves issue #13). moved cdproto to /sys/lib/sysconfig/proto and added glendas mbox. 2011-04-15 05:21:21 +00:00
cinap_lenrek 715570c24e remove crap, looks like import fuckup from iso 2011-04-14 17:41:48 +00:00
iru fd8d404d52 Promote the old installer/livecd specific tools to normal tools under /sys/src/cmd. Where similar common tools already existed, I kept them. 2011-04-14 00:35:48 -03:00
iru dd468419f2 Change installer to use statusbar(8) instead of bargraph and remove the latter. 2011-04-14 00:19:51 -03:00
cinap_lenrek 67e93d6a0a updating cwfs and moving installer in /rc/bin 2011-04-12 15:53:55 +00:00
cinap_lenrek 7208d528bd webfs on readonly filesystem 2011-04-12 02:44:37 +00:00
cinap_lenrek f8062ba939 missing proto and more dummys 2011-04-12 01:59:30 +00:00
cinap_lenrek d1fd22d72b dont put plan9.ini bootimage in cd root 2011-04-12 01:09:16 +00:00
cinap_lenrek 994606821c more sane livecd startup 2011-04-12 00:27:11 +00:00
cinap_lenrek 45bab89362 livecd 2011-04-11 19:47:05 +00:00
Taru Karttunen a9060cc06b Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
cinap_lenrek c3ceeded2d ... 2011-03-30 16:05:55 +00:00
Taru Karttunen e463eb4036 Import sources from 2011-03-30 iso image - sys/lib 2011-03-30 16:53:33 +03:00