Commit Graph
299 Commits
Author SHA1 Message Date
Bipin af1907683b feat(libkernel_sys): implement __sys_is_development_mode export 2026-11-11 17:20:08 +05:30
xXPBSXxandClaude Sonnet 5.5 905e9d959c Merge main into fix/kernel-sys-getprocesstype-pid-errors-v2
The one conflict is in docs/dev/debt/libkernel_sys.md, where main added the
sceKernelTitleWorkaroundIsEnabled2 entry beside the sceKernelGetProcessType entry this
branch rewrites; both stay, with the measured sceKernelGetProcessType entry.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 06:57:22 +01:00
DostonandClaude Opus 5.5 9ff5d15615 Merge origin/main into feat/ubsan-cfi-failure-handlers
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 09:10:29 +05:00
Adrià 70f1560e72 Merge pull request #16578 from xXPBSXx/g/ps5-sdkver
docs(libkernel_sys): record the SDK versions a PS5 payload process reports
2026-11-10 22:43:21 +01:00
Adrià c3aa80ce32 Merge pull request #16215 from MarcZX10/docs-debt-libkernel-sema-attrs-and-anchor
docs(debt): correct sceKernelCreateSema attributes and a broken libkernel anchor
2026-11-10 22:39:17 +01:00
Faryan Rezagholi c9162f6253 feat(libkernel_sys): implement sceKernelGetAppCategoryType from param.json 2026-11-10 18:59:01 +01:00
MarcZX10 dc1fe1705d docs(debt): fix broken libkernel.md anchor in libkernel_sys.md
The nanosleep entry linked libkernel.md#short-sleeps-ended-by-gpu-and-flip-completions,
but libkernel.md has no heading with that slug. The bullet it means
("Short sleeps ended by GPU and flip completions") is under the
points to libkernel.md#functional.
2026-11-10 14:14:53 +00:00
Adrià 97fd93dd0f Merge pull request #16370 from Ragbie/fix/getcwd-syscall-errno
fix(libkernel_sys): answer raw __getcwd errors in FreeBSD's order and kinds
2026-11-10 12:55:51 +01:00
Dean 1c288270a7 Merge pull request #17737 from tablefrogpillow/feat/libkernel-sys-mqueue-supersede-9297
feat(libkernel_sys): implement POSIX message queues
2026-11-10 12:36:22 +13:00
GruzzberryandClaude Sonnet 5.5 2100dfb559 feat(libkernel_sys): implement swapon
Look the name up as FreeBSD 11.4's sys_swapon does: EFAULT, ENOENT,
ENAMETOOLONG and ENOTDIR for a bad path, and ENOTBLK for any existing
file or directory, since only a disk device can be added as swap.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 23:23:16 +01:00
BunnyFl 3f3dc11f84 Merge remote-tracking branch 'upstream/main' into feat/kernel-title-workaround-2
# Conflicts:
#	docs/dev/debt/libkernel_sys.md
2026-11-09 14:37:45 +01:00
xXPBSXxandClaude Sonnet 5.5 2c9784c037 Merge upstream/main into g/ps5-sdkver
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 14:36:10 +01:00
David 1d7f8aa747 docs(debt): record the libkernel_sys message queue limits 2026-11-09 13:12:11 +00:00
Dean bff64af32a Merge pull request #16625 from Zyylon/feat/libkernel-sys-get-prospero-ps4-compiled-sdk-version-by-pid
feat(libkernel_sys): implement sceKernelGetProsperoCompiledSdkVersionByPid and sceKernelGetPs4CompiledSdkVersionByPid
2026-11-10 01:55:49 +13:00
Dean Galvin f820678430 docs(libkernel_sys): drop the two implemented SDK version exports from the debt table
Apply review request from 2026-11-09.

sceKernelGetProsperoCompiledSdkVersionByPid and sceKernelGetPs4CompiledSdkVersionByPid are implemented in AdditionalExports.cpp, so their rows leave the declaration-only table and the callable export count goes from 309 to 307 (recounted from the table, 307 rows).

Credit: PR author Zyylon; the review request was raised on the PR thread.
2026-11-10 00:49:09 +13:00
xXPBSXxandClaude Sonnet 5.5 2bd06865c0 Merge main into g/ps5-sdkver
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 12:06:42 +01:00
Dean bbaa4bf253 Merge pull request #9161 from yabanana/feat/kernel-sys-path-operations
feat(libkernel_sys): implement statfs symlinkat and futimesat
2026-11-09 23:56:29 +13:00
Waleed Ali Tahir de6640a08d feat(libkernel_sys): implement sceKernelGetProsperoCompiledSdkVersionByPid and sceKernelGetPs4CompiledSdkVersionByPid 2026-11-09 15:15:17 +05:00
Daniele Giovane 38c80b8337 chore(libkernel_sys): reconcile path operations with current main 2026-11-09 10:59:52 +01:00
Dean Galvin 000ef855d7 Merge branch 'main' 2026-11-09 21:54:49 +13:00
xXPBSXxandClaude Sonnet 5.5 7c82e47e64 docs(debt): keep the libSceHmd2 and shadPS4 reading of the compiled SDK version field
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 04:06:12 +01:00
xXPBSXxandClaude Sonnet 5.5 bb18b78e93 Merge main into g/ps5-sdkver
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 19:03:44 +01:00
Dean 69078e84a1 Merge pull request #16030 from Kikoarl/fix/libkernel_sys-compiled-sdk-version-efault
fix(libkernel_sys): safely copy out compiled SDK versions
2026-11-09 06:37:00 +13:00
Adrià 77d2cc9b36 Merge pull request #11031 from Gruzzberry/feat/getfsstat
feat(libkernel_sys): implement getfsstat
2026-11-08 05:19:18 +01:00
Adrià 411718d8d9 Merge pull request #15556 from BunnyFl/fix/libkernel-module-call-arguments
fix(libkernel): check the module load and unload arguments as firmware 13.42 does
2026-11-07 21:46:21 +01:00
Evrim Cicek ac1d6d7442 fix(libkernel_sys): answer raw __getcwd errors in FreeBSD's order and kinds 2026-11-07 17:02:56 +03:00
xXPBSXxandClaude Sonnet 5.5 47d5ca6ebc docs(debt): state the measured sceKernelGetProcessType results
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 11:21:15 +01:00
Waleed Ali Tahir fde4121ddb feat(libkernel_sys): implement sceKernelGetCompiledSdkVersionByPid 2026-11-07 15:18:55 +05:00
Dean Galvin b3a64734cf Merge branch 'main' 2026-11-07 22:06:35 +13:00
DostonandClaude Opus 5.5 b53da3c04c feat(libkernel_sys,libSceNKWebKitRequirements): implement the UBSan CFI failure handlers
Implement __ubsan_handle_cfi_check_fail and its _abort variant in both
libraries with a shared header adapted from LLVM compiler-rt: each check
location is reported once to stderr in compiler-rt's format, the plain
handler returns and the abort handler throws.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 14:05:02 +05:00
Waleed Ali Tahir 22c9156417 feat(libkernel_sys): implement pthread_attr_setstackaddr and pthread_attr_getsolosched_np 2026-11-07 12:05:43 +05:00
xXPBSXxandClaude Sonnet 5.5 820d2bff74 docs(debt): record the SDK versions a PS5 payload process reports
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 05:37:05 +01:00
NevesHenry c3747080fa Merge main into feat/libkernel-prosperoweb-exports 2026-11-06 22:37:45 -03:00
Adrià 0e297f1425 Merge pull request #15035 from Gruzzberry/fix/time-set-eperm
fix(libkernel_sys): fail settimeofday and clock_settime with EPERM for a jailed caller
2026-11-07 00:50:58 +01:00
BunnyFlandClaude Opus 5.5 d164e44244 Merge upstream/main into fix/libkernel-module-call-arguments
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 23:09:31 +01:00
Dean a1063a98ca Merge pull request #11219 from orezraey/fix/libkernel-ioctl-empty-request-measured-ps5
fix(libkernel): reject empty ioctl requests and answer INET socket requests as measured on a PS5
2026-11-07 09:24:04 +13:00
BunnyFlandClaude Opus 5.5 9c92f66f57 feat(libkernel_sys): answer sceKernelTitleWorkaroundIsEnabled2 as firmware 13.42 does
Firmware 13.42's libkernel_sys checks the workaround and output pointers
for null (EFAULT), refuses a bit above 0x7f or a 64-bit second argument of
0x29 or more (EINVAL), and otherwise stores the bit of the workaround's
id bitmap, as sceKernelTitleWorkaroundIsEnabled does. The second argument
is not read otherwise; its meaning stays in the debt entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 20:05:58 +01:00
orezraeyandClaude Opus 5.5 36814cbbe0 Merge main into fix/libkernel-ioctl-empty-request-measured-ps5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 14:59:00 -03:00
GruzzberryandClaude Sonnet 5.5 a7dee2017e fix(libkernel_sys): fail settimeofday and clock_settime with EPERM for a jailed caller
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 17:05:56 +00:00
GruzzberryandClaude Sonnet 5.5 3f7f31fb33 feat(libkernel_sys): implement getfsstat
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 17:05:53 +00:00
zaryabzip 78f14cdb59 Merge branch 'main' of https://github.com/boykopovar/AnyPS5 into feat/kernel-app-category-type
# Conflicts:
#	docs/dev/debt/libkernel_sys.md
2026-11-06 20:46:34 +05:00
LeandroLP23andClaude Opus 5.5 da1e21ec8c docs(debt): merge libkernel_sys's two Unknown function info sections
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 15:58:52 +01:00
LeandroLP23andClaude Opus 5.5 02c6971e02 docs(debt): correct stale and contradictory entries
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 15:58:52 +01:00
Kikoarl 544bf02ab5 fix(libkernel_sys): safely copy out compiled SDK versions 2026-11-06 06:01:29 +01:00
NevesHenryandClaude Opus 5.5 8406fa672c feat(libkernel): export cpuset_getid, rfork_thread and sceKernelRdup
ProsperoWeb (PRWB00001) 0.2.1 imports the three from libkernel. Only
libkernel_sys exported them, and a Linux run of the title does not load
libkernel_sys.prx, so the loader stopped with "undefined symbol:
LxIacrWiJ3w" before the title started.

Cpuset.cpp moves to libkernel whole, because cpuset and cpuset_setid
share its set table with cpuset_getid; its test and debt entry follow.
rfork_thread and sceKernelRdup move with the prototypes the title uses
and still throw.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 23:25:29 -03:00
Dean Galvin a7635dff0e Merge branch 'main' 2026-11-06 15:04:28 +13:00
QW1CKS 73c45280c0 fix(libkernel_sys): throw from fchmodat on a symbolic link as lchmod does 2026-11-05 22:17:53 +00:00
Dean Galvin 7974523c92 Merge branch 'main' 2026-11-06 04:40:14 +13:00
Dean Galvin 9c9d03ce4f Merge branch 'main' 2026-11-06 03:25:38 +13:00
orezraeyandClaude Opus 5.5 2e5675adfa Merge main into fix/libkernel-ioctl-empty-request-measured-ps5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 09:23:22 -03:00