Dean Galvin
75fd07f2d3
docs(libc): record that the licence notices are comments required by upstream
2026-10-30 07:45:55 +13:00
Dean Galvin
17c8f56021
docs(libc): restore the Bruce D. Evans credit in three msun notices
2026-10-29 08:27:51 +13:00
Dean Galvin
bb4132a403
docs(libc): add upstream licence notices to ported math and siglist code
...
Add the original FreeBSD/msun copyright and licence text, with the upstream file and revision, at the top of Math.cpp and SignalList.cpp. Header comments only; no code change.
2026-10-29 07:45:51 +13:00
Adrià
cc672fdfc6
Merge pull request #11366 from guglia001/test/relinker-conversion-fuzzer
...
test(relinker): add a libFuzzer target for the whole conversion
2026-10-28 09:56:49 +01:00
Adrià
e2e27a3ba9
Merge pull request #11717 from xXPBSXx/docs-agc-alpha-to-coverage-round
...
docs(agc): record the unsupported DB_ALPHA_TO_MASK value 0x1aa01
2026-10-28 09:54:18 +01:00
Adrià
4c4fce3d82
Merge pull request #10502 from frankea/fix/net-show-ifconfig-netstat
...
fix(libSceNet): print the interface and socket tables from sceNetShowIfconfig and sceNetShowNetstat
2026-10-28 09:49:51 +01:00
Adrià
5b8ba7b929
Merge pull request #11443 from JJenkx/feat/agc-compute-inspection-20261026
...
feat(agc): inspect captured compute pipeline statistics
2026-10-28 09:41:21 +01:00
Adrià
241649ed7e
Merge pull request #11296 from tablefrogpillow/fix/fpathconf-kqueue-shm-eopnotsupp
...
fix(libkernel_sys): fail fpathconf on a kqueue or shm descriptor with EOPNOTSUPP
2026-10-28 09:41:16 +01:00
Dean
87b810a1db
Merge pull request #12211 from XairRrR/fix/shader-paired-wave-zero-branch
...
fix(recompiler): take a paired wave64 zero branch when some invocations are inactive
2026-10-28 21:32:27 +13:00
Dean
78360959ee
Merge pull request #12137 from dantdmdarealguy/fix/agc-same-queue-label-epoch
...
fix(agc): start no collect epoch at a wait whose own queue's label already reached memory
2026-10-28 21:32:09 +13:00
Dean
3952092d74
Merge pull request #12209 from XairRrR/fix/agc-queue0-after-async-wait-free
...
fix(agc): run queue 0 work after earlier wait-free async submissions
2026-10-28 21:31:54 +13:00
Adrià
a13ee2ddd1
Merge pull request #10498 from dotaku22/contribution/agc-committed-read-mapping
...
fix(agc): tolerate mapping changes during committed snapshots
2026-10-28 09:25:29 +01:00
Adrià
aa159b2f24
Merge pull request #9399 from Felipebmaitan/feat/freetype-advance-queries
...
feat(libSceFreeType): implement advance queries
2026-10-28 09:21:16 +01:00
frankea
2129d1f7b5
fix(libSceNet): print the interface and socket tables from sceNetShowIfconfig and sceNetShowNetstat
...
Since #9137 both throw after sceNetInit. A PS5 on firmware 13.40
returns 0 from each and prints plain-text tables to stdout. They now
print the console's layout with what the emulator knows: ifconfig an
eth0 block from the host interface sceNetCtlGetInfo reports (the same
MAC, address, netmask and MTU), the console's lo0 block and the DNS
servers; netstat the header and one entry per socket and epoll of the
title, with the self and non-blocking flags, addresses, buffer sizes and
the names given to sceNetSocket and sceNetEpollCreate, which are now
kept. The debt entry lists what the console prints that is left out.
guest_sce_net captures both outputs: the lo0 block and DNS section, a
named unbound UDP socket, a non-blocking listening TCP socket bound to
127.0.0.1, an epoll, a 40-character name cut to 31, and the entries gone
after close.
2026-10-28 09:05:58 +01:00
Adrià
d7fd416992
Merge pull request #11231 from Gruzzberry/feat/kldsym
...
feat(libkernel_sys): implement kldsym argument checks
2026-10-28 08:56:23 +01:00
Adrià
7fc0ae6008
Merge pull request #11199 from QRMOE/fix/shader-pixel-helper-lane-masks
...
fix(shader): keep pixel helper lanes out of guest lane masks
2026-10-28 08:54:16 +01:00
Adrià and Claude Sonnet 5.5
149ec09adf
fix(libkernel): give the descriptor checks C linkage so libkernel_sys can import them
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-10-28 08:43:15 +01:00
Adrià and Claude Sonnet 5.5
f87b6289ac
fix(libkernel): export the kqueue descriptor check to libkernel_sys
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-10-28 08:43:15 +01:00
tablefrogpillow and Claude Opus 4.8
90d0daedc9
test(libkernel_sys): use a named shm descriptor in the fpathconf check
...
An anonymous shm descriptor is recognised as shared memory only on
Linux, where the memfd link name is matched; on Windows the anonymous
%TEMP% object is not registered in the shared-descriptor table, so the
descriptor is not recognised and fpathconf never reaches the EOPNOTSUPP
branch. A named descriptor is recognised on both platforms, so the
check now opens a named object and unlinks it, keeping the same branch
coverage without a Linux-only assumption.
Co-Authored-By: Claude Opus 4.8 <[email protected] >
2026-10-28 08:43:15 +01:00
tablefrogpillow and Claude Opus 4.8
d8dfb7eab4
fix(libkernel_sys): fail fpathconf on a kqueue or shm descriptor with EOPNOTSUPP
...
_fpathconf_nid_postfix only treated FIFOs and sockets as descriptors without
a vnode, so a kqueue or shm_open descriptor fell through to the UFS constants
(LINK_MAX 32767, NAME_MAX 255, PIPE_BUF 512). FreeBSD 11.4 kern_fpathconf
(kern_descrip.c:1411-1429) answers _PC_ASYNC_IO for every descriptor and
returns EOPNOTSUPP for a no-vnode descriptor that is not a pipe or socket.
Return EOPNOTSUPP for kqueue and shared-memory descriptors.
Co-Authored-By: Claude Opus 4.8 <[email protected] >
2026-10-28 08:43:15 +01:00
Adrià
660a0b306d
Merge pull request #11032 from Gruzzberry/feat/kenv
...
feat(libkernel_sys): implement kenv
2026-10-28 08:39:51 +01:00
Adrià and Claude Sonnet 5.5
0f8ac231b0
test(agc): report the device limitation when pipeline inspection skips
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-10-28 08:27:19 +01:00
JJenkx
cc59cb7b93
test(agc): skip pipeline inspection when Vulkan is unavailable
2026-10-28 08:27:12 +01:00
JJenkx
b971004857
feat(agc): inspect captured compute pipeline statistics
2026-10-28 08:27:11 +01:00
Dean
b99bbebacd
Merge pull request #11839 from oneandonlydean/wolverine/agc-driver-micro-perf
...
perf(agc): reuse context register storage and keep the shadow live-unit count
2026-10-28 20:11:36 +13:00
Dean
210462e2a7
Merge pull request #11838 from oneandonlydean/wolverine/amm-fragmented-pool
...
fix(libkernel): map AMM pages from a fragmented pool
2026-10-28 20:11:32 +13:00
Dean
da6b0ea8dd
Merge pull request #11884 from JJenkx/windows/libc-strtof-nan-payload
...
fix(libc): keep NaN payloads in strtof and wcstof as titles' libc.prx does
2026-10-28 20:11:27 +13:00
Dean
a734b350f1
Merge pull request #8091 from JJenkx/fix/agc-import-allocation-error-budget
...
fix(agc): pin the import ceiling only on memory exhaustion
2026-10-28 20:11:23 +13:00
Adrià
fddf0ffb75
Merge pull request #9129 from EagleBearerYS/fix/agc-draw-cache-byte-budget
...
fix(agc): bound the draw cache by bytes
2026-10-28 08:07:42 +01:00
Adrià
d5140548fc
Merge pull request #11051 from simnJS/claude/usb-storage-system-service
...
feat(libSceSystemService): call libSceUsbStorage from the USB storage aliases
2026-10-28 08:06:39 +01:00
Adrià
e611e7719f
Merge pull request #11005 from harisibrar1/fix/map-undefined-protection-einval
...
fix(libkernel): refuse undefined protection bits in the map calls with EINVAL
2026-10-28 08:04:38 +01:00
Gruzzberry and Claude Sonnet 5.5
762a280ee3
feat(libkernel_sys): implement kenv
...
Follow FreeBSD 11.4 sys_kenv: KENV_GET, KENV_SET, KENV_UNSET and KENV_DUMP over
an in-memory kernel environment of at most 512 variables, with the 128-byte
name and value limits, ENOENT, EINVAL, ENAMETOOLONG and EFAULT.
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-10-28 07:50:01 +01:00
Adrià
0cd07dc4ab
Merge pull request #11399 from iAbdulrrahman/feat/libc-digittoint-and-numbers
...
feat(libc): implement digittoint, isnumber, and ishexnumber
2026-10-28 06:34:59 +01:00
harisibrar1 and Claude Opus 5.5
5bb96d08ad
docs(libkernel): keep the map protection debt entry under the length limit
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-28 01:28:34 -04:00
harisibrar1
6413eacf9d
Merge remote-tracking branch 'origin/main' into fix/map-undefined-protection-einval
...
# Conflicts:
# docs/dev/debt/libkernel.md
2026-10-28 01:28:03 -04:00
Adrià
895ead67f7
Merge pull request #11396 from iAbdulrrahman/feat/libc-timingsafe-memcmp
...
feat(libc): implement timingsafe_memcmp
2026-10-28 06:25:30 +01:00
Dean
00e85fea39
Merge pull request #10348 from oneandonlydean/perf-D2-v47
...
fix(agc): clamp an exported pixel depth to the viewport depth range
2026-10-28 18:25:05 +13:00
Dean
ccfb96757f
Merge pull request #11307 from dantdmdarealguy/perf/agc-depth-plane-copies-recent-presents
...
perf(agc): keep recently sampled depth plane copies up to twice the budget
2026-10-28 18:17:14 +13:00
Adrià
16954551ed
Merge pull request #11382 from roboterspinne/fix/relinker-dynstr-leading-nul
...
fix(relinker): reject an executable dynamic string table that does not begin with NUL
2026-10-28 06:11:40 +01:00
Adrià
7fe2b2249b
Merge pull request #11542 from milescoviello/test/ult-mutex-runtime-opt-params
...
test(libSceUlt): cover the mutex and ulthread runtime opt param initializers
2026-10-28 06:06:18 +01:00
Adrià
3d214c8d87
Merge pull request #11549 from milescoviello/test/kernel-memory-pool-block-stats
...
test(libkernel): cover sceKernelMemoryPoolGetBlockStats's checks and the block an expansion adds
2026-10-28 06:05:23 +01:00
Adrià
46031052fc
Merge pull request #11381 from roboterspinne/fix/relinker-executable-export-attributes
...
fix(relinker): validate executable export names and attributes like guest modules
2026-10-28 06:05:18 +01:00
Adrià
d73ff0a79e
Merge pull request #11538 from milescoviello/test/pthread-getprio
...
test(libkernel): cover scePthreadGetprio after scePthreadSetprio on the calling thread
2026-10-28 05:57:16 +01:00
Adrià
5576dd18a9
Merge pull request #11401 from ErenYeager1836/feat/vrtracker2-resolve-mesh-size-nid
...
feat(libSceVrTracker2): identify sceVrTracker2GetRawCameraMeshSize export
2026-10-28 05:52:08 +01:00
Dean
adbcdcdd58
Merge pull request #11463 from Mherberts/codex/feat-elf-relr-relocations
...
feat(relinker): support packed ELF64 relative relocations
2026-10-28 17:50:40 +13:00
Dean
5ab8acf45f
Merge pull request #11309 from Danigamer05/feat/libc-signed-min32
...
feat(libc): implement signed 32-bit minimum value helper
2026-10-28 17:50:21 +13:00
Dean
c9cc3b34db
Merge pull request #11304 from Danigamer05/feat/libc-unsigned-max32
...
feat(libc): implement unsigned 32-bit maximum
2026-10-28 17:50:05 +13:00
Adrià
498954ef0e
Merge pull request #11375 from veosett/codex/conventions-angle-links
...
fix(tools): recognize angle-wrapped documentation links
2026-10-28 05:49:59 +01:00
Dean
24795c0f56
Merge pull request #10529 from JJenkx/fix/libc-expm1-scaling-association
...
fix(libc): preserve expm1 rounding during exponent scaling
2026-10-28 17:49:49 +13:00
Dean
897fff64c4
Merge pull request #9240 from milescoviello/fix/backtrace-from-caller
...
fix(libc): start sceLibcBacktraceSelf's frames at its caller
2026-10-28 17:49:31 +13:00