Commit graph

297 commits

Author SHA1 Message Date
cinap_lenrek
1d82e3f42a acid: add arm64 support 2019-05-04 03:06:10 +02:00
cinap_lenrek
54838652fc rootstub: add /sys/lib/dist/ndb/dhcp/ 2019-05-03 23:59:27 +02:00
cinap_lenrek
0c964838a1 distproto: add /lib/news/ (thanks lyndon) 2019-04-23 15:15:26 +02:00
cinap_lenrek
6bceabbc79 distproto: add /lib/ndb/dhcp/ directory (thanks lyndon) 2019-04-19 23:31:24 +02:00
cinap_lenrek
e897df33e6 rootstub: create arm64 directories 2019-04-08 13:07:18 +02:00
cinap_lenrek
ac3147a9c5 dist/mkfile: aux/stub -d /n/src9/usr to avoid overbinding /usr in case /n/src9 an / alias
when /n/src9 is an alias for / (bind / /n/src9), then the bind
from /sys/lib/dist/usr on /n/src9/usr would also overbind
/usr and potentially make the build target file inaccessible.

the solution is to run aux/stub -d /n/src9/usr.

this works as aux/stub mounts itself on /n/src9, so the bind
for /n/src9/usr will not override /usr in the root filesystem
but the stub directory from aux/stub.
2019-03-30 05:50:14 +01:00
cinap_lenrek
5fe49f9c71 rootstub: create arm and mips directories in /usr/glenda/bin (tanks timclassic) 2019-03-17 02:43:49 +01:00
cinap_lenrek
eb7eea0bb9 troff: fix -ms mug (thanks aksr)
Executing .KS after .1C exhibits a bug.
Instead on the next page, the text between .KS and .KE is shown at
the bottom of the page (where footnote would be).
To reproduce the bug: http://sprunge.us/xyCUX7

The bug can be fixed by changing two lines in tmac.s:

    if \\n(NX<1 .bp\}

to

    if \\n(NX<=1 .bp\}

and

    if \\n(NX<1 'bp\}
to

  if \\n(NX<=1 'bp\}
2019-01-23 21:28:22 +01:00
cinap_lenrek
1759a1746d /sys/lib/plumb/basic: make plumbing page bookmarks work with relative paths (thanks Tobias Heinicke) 2019-01-12 20:07:23 +01:00
BurnZeZ
96b1debbf8 add entries for il rcpu 2018-12-07 01:41:27 +00:00
BurnZeZ
023f5eca58 acid: fix transcript 2018-12-06 07:11:35 +00:00
cinap_lenrek
ad7316e87c hgwebfs: write headers individually, so they are not limited by webfs iounit (thanks mischief) 2018-12-01 04:22:07 +01:00
cinap_lenrek
55f067553a upas: get rid of broken validatesender example, remove redundant upas/misc and setup target 2018-11-28 21:12:11 +01:00
mischief
cd933b2a9c hgwebfs: read to eof by default to match urllib2 behavior 2018-11-28 11:34:52 -08:00
cinap_lenrek
b65a5a1ca5 /sys/lib/dist/mkfile: add pi.img target for raspi sdcard image 2018-10-22 00:16:04 +02:00
cinap_lenrek
a71a57f8f2 remove /lib/tftpd from proto file 2018-10-08 02:18:02 +02:00
cinap_lenrek
564eeba515 get rid of /lib/tftpd 2018-10-08 02:13:29 +02:00
mischief
07b237b10c /sys/lib/dist/ndb/common: synchronize root servers and link to root hints source 2018-06-25 22:58:52 +00:00
cinap_lenrek
58914b4b0b /sys/lib/dist/mkfile: fix cfg/plan9.ini dependency (only visible after binds) 2018-01-31 19:44:54 +01:00
cinap_lenrek
7e4b669393 /sys/lib/dist: split 9boot into 9bootproto, make *.386.iso and *.amd64.iso targets 2018-01-05 08:41:46 +01:00
stanley lieber
d057d67bed /sys/lib/rootstub 2017-12-11 19:34:15 -05:00
cinap_lenrek
d5576d8473 hgwebfs: simplify retry loop construction 2017-10-04 05:06:54 +02:00
cinap_lenrek
19b026bdbb hg: disable tag caching, allows accessing hg repo from dump 2017-10-04 03:59:17 +02:00
cinap_lenrek
be7f3fb5e4 rename pcf kernel to pc, remove pcf, pccpuf, pccpu64 kernels, update documentation
there isnt much of a point in keep maintaining separate
kernel configurations for terminal and cpu kernels as
the role can be switched with service=cpu boot parameter.

to make stuff cosistent, we will just have one "pc" kernel
and one "pc64" kernel configuration now.
2017-09-10 22:35:23 +02:00
cinap_lenrek
eaffaab790 remove /sys/lib/##redacted##.##redacted## (thanks ##redacted##) 2017-06-18 22:28:45 +02:00
aiju
744a4a8270 acid: fix goofup 2017-06-12 19:30:56 +00:00
aiju
68cfc786ba acid: watchpoint support 2017-06-12 19:29:20 +00:00
cinap_lenrek
8bf3674983 make python subprocess module work with ape/sh 2017-06-05 17:21:42 +02:00
BurnZeZ
f308677510 /sys/lib/acid/port: make line() also print the line number 2017-05-11 19:34:54 +00:00
cinap_lenrek
015956ea61 troff: charlib: fix right hand special character 2017-05-09 16:10:44 +02:00
cinap_lenrek
295c0071c3 dist/ndb: move sources auth server to ndb/common, list root dns servers in ndb/local as a fallback 2017-05-01 22:49:35 +02:00
cinap_lenrek
e51044884b move blit roms to /sys/lib/blit 2017-03-29 01:33:16 +02:00
cinap_lenrek
bd178b6dc6 inst: make command window not overlap stats window in glendas riostart 2017-03-18 19:35:06 +01:00
cinap_lenrek
7ad89bd1b0 cdproto: make mdir for glenda 2017-03-18 19:07:29 +01:00
cinap_lenrek
5c6a03f4f4 cdproto: various cleanups
- bind /n/src9 only when theres .hg directory, so you can use /root as /n/src9
- skip *.6 and *.orig files in source direcrtories
- skip *.pdf and *.ps files in /sys/man
- skip cpurc.local and termrc.local
- dont create /fd, /mnt and/n in the root
- be specific about /lib
- create /cfg/pxe
2017-03-04 22:56:02 +01:00
aiju
9f2c7606ab hgwebfs: keep trying as long as we get needkey response 2017-02-26 01:13:13 +01:00
aiju
7482cd4053 hgwebfs: rewind data before pushing 2017-02-25 13:06:23 +01:00
cinap_lenrek
8d42011603 /sys/lib/plumb/basic: fix rule for audio files (thanks deuteron) 2017-01-31 11:59:08 +01:00
cinap_lenrek
c5e9083558 cdproto: explicitely create /$objtype/bin subdirectories for all archs 2016-12-25 02:13:17 +01:00
cinap_lenrek
2127b8c552 kernel/qio: get rid of unused qcopycnt debug variable 2016-11-12 16:05:00 +01:00
cinap_lenrek
963497f06b kernel: avoid padblock copying for devtls/devssl/esp, cleanup debugging
to avoid copying in padblock() when adding cryptographics macs to a block
in devtls/devssl/esp we reserve 16 extra bytes to the allocation.

remove qio ixsummary() function and add acid function qiostats() to
/sys/lib/acid/kernel

simplify iallocb(), remove iallocsummary() statitics.
2016-11-05 20:05:40 +01:00
cinap_lenrek
75990fc719 fix wrong manpage section index generation for rc-httpd(8) 2016-08-27 22:37:08 +02:00
cinap_lenrek
15fd826147 hgwebfs: make hgwebfs prompt for password 2016-08-08 05:35:06 +02:00
cinap_lenrek
3b1f13cb36 add polish keymap (thanks chomzee!) 2016-05-28 23:59:10 +02:00
cinap_lenrek
3ba84f05c2 /sys/lib/dist/mkfile: efi iso/hybrid support 2016-05-22 21:53:37 +02:00
cinap_lenrek
1216c06c3b dist/mkfile: generate iso/hybrid image for 9front.iso 2016-05-19 19:17:24 +02:00
cinap_lenrek
bd50adc942 add srvtls and the corresponding tcp17020 service 2016-05-16 22:49:32 +02:00
cinap_lenrek
73f834b939 add belarusian (by) keymap (thanks eric lindblad) 2016-05-05 23:31:23 +02:00
cinap_lenrek
f758019630 remove š and Š from estonian keymap
Probably the temporary solution to obtain the Estonian uppercase Š and Ž [S and Z with caron (ˇ)] without Shift + AltGr, I note in https://code.9front.org/hg/plan9front/rev/5b6853beadb4 you've written a Shift + AltGr (table 7) for Polish, would be using the caron (ˇ) mapped to key 41 followed by Shift s or Shift z; it was a mistake to earlier map a mode 4 in my fix of /sys/lib/kbmap/ee. It is a bit of an inconvenience to have an AltGr mapping to š and ž, but not a Shift + AltGr mapping to Š and Ž, but that's the best I can do for now. I send a new ee file without the mode 4.

https://code.9front.org/hg/plan9front/rev/851d5d9022af

these should not be in here
1.97+4    31    'Š
1.98+4    44    'Ž

https://code.9front.org/hg/plan9front/rev/378ba39fc90a

Sincerely,
Eric Lindblad
2016-05-05 23:22:28 +02:00
cinap_lenrek
4e665c8662 rootstub: remove alpha 2016-05-04 17:49:11 +02:00
cinap_lenrek
814de7f6b3 cdproto: remove alpha 2016-05-04 16:32:05 +02:00
cinap_lenrek
986886f2b8 retire the dec alpha port 2016-05-04 16:11:48 +02:00
cinap_lenrek
6e1592c94e /lib/ndb/common: update ip addresses for [BCHL].ROOT-SERVERS.NET 2016-05-02 01:46:19 +02:00
cinap_lenrek
8ff802d07e Subject: typo: ee corrected (thanks Eric Lindblad)
sorry there were entries as

3	27	'§
3	27	'½

should have been

3	27	'§
3	43	'½

attached is a corrected version
2016-04-13 15:54:31 +02:00
cinap_lenrek
221b8696a5 fix estonian keymap (thanks Eric Lindblad)
The /sys/lib/kbmap/ee file seemed to have CRs in it. If a first column in the table
(for modifier key) as 4 is for Alt Gr + Shift then the attached (UTF-8 without BOM)
should work as a replacement ee file.

Best Regards,
Eric Lindblad
2016-04-13 15:31:04 +02:00
cinap_lenrek
c4782818f4 python: make hashlib.py fallback to openssl in case of old python binary 2016-04-13 02:21:03 +02:00
cinap_lenrek
6b989beb2f add danish keymap (thanks Eric Lindblad) 2016-04-12 13:37:21 +02:00
cinap_lenrek
4e04698ab6 python: remove openssl support, use ape/libsec for cryptographics hash functions 2016-04-11 20:31:14 +02:00
cinap_lenrek
21aee5d8cb hg: create system wide /sys/lib/hgrc to enabled hgwebfs extension
the openssl we currently use is outdated and will be removed
soon. webfs will handle the https for us with native tls code.
keys have to be stored in factotum for everyone who also wants
to commit directly.
2016-04-10 20:39:10 +02:00
cinap_lenrek
0ac4a447b0 hg: set mercurial.url.has_https when hgwebfs extension is in use
this allows the use of SSL/HTTPS even when python is not build
with openssl support.
2016-04-10 20:18:21 +02:00
cinap_lenrek
cd9cddf3dd mercurial: CVE-2016-3630
backported the following patches from mercurial 3.7.3:

https://selenic.com/repo/hg/rev/b6ed2505d6cf
https://selenic.com/repo/hg/rev/b9714d958e89
2016-04-03 04:04:56 +02:00
cinap_lenrek
8726990cf5 truss: add fake __NSEC syscall name for ape 2016-03-14 03:15:59 +01:00
cinap_lenrek
e485362b0b truss: fix "bad string" error due to missing ape _nsec() syscall 2016-03-14 03:11:43 +01:00
cinap_lenrek
bb81a10687 glenda's default profile: remove /n/other mount, done by /lib/namespace 2016-02-29 00:25:14 +01:00
cinap_lenrek
fde5906b30 adding experimental rcpu service
this is a reimplementation of cpu and import utilities in rc using a tlsclient
and tlssrv as the encryption and authentication layers. there is only one new
service, which after authentication and encryption setup accepts an arbitrary
rc script over the network and executes it with the standard filedescriptors
redirected to the conversaion (this is *after* authentication and in the
context of the authorized user).

the new rcpu program has a few improvements over cpu(1):

- doesnt mangle program arguments
- the remote process will get the clients standard file descriptors, so error
  and output are separated and you can consume the clients input from the
  remote side :-)
- forwards error status of remote process

theres no backwards mode for rimport, but a new program called rexport
for the same purpose.

all these services use exportfs without the bolted on initial handshake,
so the hope is to clean up exportfs in the future and remove all the ugly
crap in there.
2016-02-14 05:18:33 +01:00
cinap_lenrek
9ec9a47789 newuser: /n/other now handled in /lib/namespace 2016-02-14 01:52:51 +01:00
cinap_lenrek
36d2092a33 fix manpage references 2016-01-12 08:43:36 +01:00
stanley lieber
afe450d381 /sys/lib/dist/ndb/common: update for sl's auth servers 2015-12-11 14:18:06 -05:00
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