aboutsummaryrefslogtreecommitdiff
path: root/android/device/generated/help.h
diff options
context:
space:
mode:
Diffstat (limited to 'android/device/generated/help.h')
-rw-r--r--android/device/generated/help.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/device/generated/help.h b/android/device/generated/help.h
index 6a403233..68769532 100644
--- a/android/device/generated/help.h
+++ b/android/device/generated/help.h
@@ -1,4 +1,4 @@
-#define HELP_toybox_force_nommu "When using musl-libc on a nommu system, you'll need to say \"y\" here\nunless you used the patch in the mcm-buildall.sh script. You can also\nsay \"y\" here to test the nommu codepaths on an mmu system.\n\nA nommu system can't use fork(), it can only vfork() which suspends\nthe parent until the child calls exec() or exits. When a program\nneeds a second instance of itself to run specific code at the same\ntime as the parent, it must use a more complicated approach (such as\nexec(\"/proc/self/exe\") then pass data to the new child through a pipe)\nwhich is larger and slower, especially for things like toysh subshells\nthat need to duplicate a lot of internal state in the child process\nfork() gives you for free.\n\nLibraries like uclibc omit fork() on nommu systems, allowing\ncompile-time probes to select which codepath to use. But musl\nintentionally includes a broken version of fork() that always returns\n-ENOSYS on nommu systems, and goes out of its way to prevent any\ncross-compile compatible compile-time probes for a nommu system.\n(It doesn't even #define __MUSL__ in features.h.) Musl does this\ndespite the fact that a nommu system can't even run standard ELF\nbinaries (requiring specially packaged executables) because it wants\nto force every program to either include all nommu code in every\ninstance ever built, or drop nommu support altogether.\n\nBuilding a toolchain scripts/mcm-buildall.sh patches musl to fix this."
+#define HELP_toybox_force_nommu "When using musl-libc on a nommu system, you'll need to say \"y\" here\nunless you used the patch in the mcm-buildall.sh script. You can also\nsay \"y\" here to test the nommu codepaths on an mmu system.\n\nA nommu system can't use fork(), it can only vfork() which suspends\nthe parent until the child calls exec() or exits. When a program\nneeds a second instance of itself to run specific code at the same\ntime as the parent, it must use a more complicated approach (such as\nexec(\"/proc/self/exe\") then pass data to the new child through a pipe)\nwhich is larger and slower, especially for things like toysh subshells\nthat need to duplicate a lot of internal state in the child process\nfork() gives you for free.\n\nLibraries like uclibc omit fork() on nommu systems, allowing\ncompile-time probes to select which codepath to use. But musl\nintentionally includes a broken version of fork() that always returns\n-ENOSYS on nommu systems, and goes out of its way to prevent any\ncross-compile compatible compile-time probes for a nommu system.\n(It doesn't even #define __MUSL__ in features.h.) Musl does this\ndespite the fact that a nommu system can't even run standard ELF\nbinaries (requiring specially packaged executables) because it wants\nto force every program to either include all nommu code in every\ninstance ever built, or drop nommu support altogether.\n\nBuilding a scripts/mcm-buildall.sh toolchain patches musl to fix this."
#define HELP_toybox_uid_usr "When commands like useradd/groupadd allocate user IDs, start here."
@@ -612,7 +612,7 @@
#define HELP_mv "usage: mv [-finTv] [-t TARGET] SOURCE... [DEST]\n\n-f Force copy by deleting destination file\n-i Interactive, prompt before overwriting existing DEST\n-n No clobber (don't overwrite DEST)\n-t Move to TARGET dir (no DEST)\n-T DEST always treated as file, max 2 arguments\n-v Verbose"
-#define HELP_cp "usage: cp [-adfHiLlnPpRrsTv] [--preserve=motcxa] [-t TARGET] SOURCE... [DEST]\n\nCopy files from SOURCE to DEST. If more than one SOURCE, DEST must\nbe a directory.\n\n-a Same as -dpr\n-D Create leading dirs under DEST (--parents)\n-d Don't dereference symlinks\n-F Delete any existing destination file first (--remove-destination)\n-f Delete destination files we can't write to\n-H Follow symlinks listed on command line\n-i Interactive, prompt before overwriting existing DEST\n-L Follow all symlinks\n-l Hard link instead of copy\n-n No clobber (don't overwrite DEST)\n-P Do not follow symlinks\n-p Preserve timestamps, ownership, and mode\n-R Recurse into subdirectories (DEST must be a directory)\n-r Synonym for -R\n-s Symlink instead of copy\n-t Copy to TARGET dir (no DEST)\n-T DEST always treated as file, max 2 arguments\n-v Verbose\n\nArguments to --preserve are the first letter(s) of:\n\n mode - permissions (ignore umask for rwx, copy suid and sticky bit)\n ownership - user and group\n timestamps - file creation, modification, and access times.\n context - security context\n xattr - extended attributes\n all - all of the above"
+#define HELP_cp "usage: cp [-adfHiLlnPpRrsTv] [--preserve=motcxa] [-t TARGET] SOURCE... [DEST]\n\nCopy files from SOURCE to DEST. If more than one SOURCE, DEST must\nbe a directory.\n\n-a Same as -dpr\n-D Create leading dirs under DEST (--parents)\n-d Don't dereference symlinks\n-F Delete any existing destination file first (--remove-destination)\n-f Delete destination files we can't write to\n-H Follow symlinks listed on command line\n-i Interactive, prompt before overwriting existing DEST\n-L Follow all symlinks\n-l Hard link instead of copy\n-n No clobber (don't overwrite DEST)\n-u Update (keep newest mtime)\n-P Do not follow symlinks\n-p Preserve timestamps, ownership, and mode\n-R Recurse into subdirectories (DEST must be a directory)\n-r Synonym for -R\n-s Symlink instead of copy\n-t Copy to TARGET dir (no DEST)\n-T DEST always treated as file, max 2 arguments\n-v Verbose\n\nArguments to --preserve are the first letter(s) of:\n\n mode - permissions (ignore umask for rwx, copy suid and sticky bit)\n ownership - user and group\n timestamps - file creation, modification, and access times.\n context - security context\n xattr - extended attributes\n all - all of the above"
#define HELP_comm "usage: comm [-123] FILE1 FILE2\n\nRead FILE1 and FILE2, which should be ordered, and produce three text\ncolumns as output: lines only in FILE1; lines only in FILE2; and lines\nin both files. Filename \"-\" is a synonym for stdin.\n\n-1 Suppress the output column of lines unique to FILE1\n-2 Suppress the output column of lines unique to FILE2\n-3 Suppress the output column of lines duplicated in FILE1 and FILE2"