mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-27 02:10:43 +00:00
Document expanded CRT string and locale surface
Keep interfaces and changelog aligned with the newly registered C-locale and string services. Signed-off-by: Adeeb Rahman <therealabeeb@icloud.com>
This commit is contained in:
1 parent
1c89092fe4
commit
fd0a19658e
2 files changed
+3
-2
No files matched your search
+1
-1
@@ -55,7 +55,7 @@ remains unsupported.
|
||||
|
||||
- Added guest drives backed by explicitly mounted host directories, read-only unless configured writable. Every operation resolves paths from the mount's root descriptor with `openat` and `O_NOFOLLOW`. Mount roots are opened with `O_NOFOLLOW`. Symbolic links, devices and multiply linked files are hidden. Each opened descriptor's type and identity are verified against the listing. Sharing and deletion checks compare live device and inode, and listings are bounded with explicit errors. Removal re-checks identity before unlink and prefers Linux `AT_EMPTY_PATH` on the verified descriptor. Regression tests cover traversal, links, host swaps between calls and between listing and open, renames, read-only enforcement and limits. The policy and its remaining limits are in `docs/interfaces.md`. Guest path confinement for this boundary was agent-reviewed (not a human security audit).
|
||||
|
||||
- Added C-locale CRT services (`setlocale`, `localeconv`), C-locale `ctype.h` predicates and case mapping, `strcpy`/`strncpy`/`strcat`/`strncat`/`memchr`, and a bounded `sprintf`/`snprintf` subset (`%%`, `%c`, `%s`, `%d`/`%i`, `%u`, `%x`/`%X`, `%p`, optional widths and `l`/`ll`/`z`/`t`). Non-C locales and unsupported conversions fail closed. See `docs/interfaces.md`.
|
||||
- Added C-locale CRT services (`setlocale`, `localeconv`), C-locale `ctype.h` predicates and case mapping, byte and wide string mutators (`strcpy`/`strncpy`/`strcat`/`strncat`/`memchr`/`strstr`/`strspn`/`strcspn`, `wcscpy`/`wcsncpy`/`wcscat`/`wcschr`/`wcsrchr`), and a bounded `sprintf`/`snprintf` subset (`%%`, `%c`, `%s`, `%d`/`%i`, `%u`, `%x`/`%X`, `%p`, optional widths and `l`/`ll`/`z`/`t`). Non-C locales and unsupported conversions fail closed. See `docs/interfaces.md`.
|
||||
|
||||
- Added an immediate-dispatch XAsync subset (`XAsyncRun`, `XAsyncGetStatus`, `XAsyncCancel`, `XAsyncGetResultSize`) on `xgameruntime.dll`. Work and completion run on the calling thread before `XAsyncRun` returns; waiting GetStatus is unsupported. Builds on the existing manual `XTaskQueue*` services.
|
||||
|
||||
|
||||
+2
-1
@@ -176,7 +176,8 @@ and [virtual release](https://learn.microsoft.com/windows/win32/api/memoryapi/nf
|
||||
### CRT strings and byte memory
|
||||
|
||||
The standard registry provides `strlen`, `strnlen`, `strcpy`, `strncpy`,
|
||||
`strcat`, `strncat` and `memchr` under UCRT and the CRT
|
||||
`strcat`, `strncat`, `memchr`, `strstr`, `strspn`, `strcspn`, and the wide
|
||||
forms `wcscpy`, `wcsncpy`, `wcscat`, `wcschr` and `wcsrchr` under UCRT and the CRT
|
||||
string API set. They count bytes using checked guest memory. The scan stops at
|
||||
a null byte or the requested bound for `strnlen`. A scan that would continue
|
||||
past 1 MiB reports an unsupported-service fault. See the
|
||||
|
||||
Reference in new issue
Block a user