From 779fde307d7a78e1f5913bec9b7ff0300edc29f1 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 28 Dec 2019 16:18:16 -0600 Subject: Fiddle with docs a bit. --- www/design.html | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'www/design.html') diff --git a/www/design.html b/www/design.html index 6225ce2f..b2595fd4 100644 --- a/www/design.html +++ b/www/design.html @@ -17,7 +17,7 @@ of importance:

Features

-

These days toybox is the command line of Android, so anything they android +

These days toybox is the command line of Android, so anything the android guys say to do gets at the very least closely listened to.

Toybox should provide the command line utilities of a build @@ -134,7 +134,8 @@ copy-on-write mappings of the zero page. Actual physical pages get allocated when the copy-on-write gets broken by writing to the virtual page. This is why checking the return value of malloc() isn't very useful anymore, it only detects running out of virtual memory, not physical memory. Unless -you're using a NOMMU system, where all bets are off.)

+you're using a NOMMU system, where all bets +are off.)

Don't think that just because you don't have a swap file the system can't start swap thrashing: any file backed page (ala mmap) can be evicted, and @@ -326,12 +327,19 @@ effort on them.

I don't do windows.

We depend on C99 and posix-2008 libc features such as the openat() family of -functions. We also assume certain "modern" linux kernel behavior such -as large environment sizes (linux commit b6a2fea39318, went into 2.6.22 -released July 2007). In theory this shouldn't prevent us from working on +functions. We also root around in the linux /proc directory a lot (no other +way to implement "ps" at the moment), and assume certain "modern" linux kernel +behavior such as large environment sizes (linux commit b6a2fea39318, went into 2.6.22 +released July 2007, expanding the 128k +limit to 2 gigabytes. But it was then +trimmed back down to 10 megabytes, and when I asked for a way to query the +actual value from the kernel if it was going to keep changing +like that, Linus declined). +In theory this shouldn't prevent us from working on older kernels or other implementations (ala BSD), but we don't police their corner cases.

+

32/64 bit

Toybox should work on both 32 bit and 64 bit systems. 64 bit desktop hardware went mainstream in 2005 and was essentially ubiquitous -- cgit v1.2.3