Syscalls
PS4 kernel is based on FreeBSD 9.0; a list of FreeBSD 9.0 system calls can be found here.
Compatibility system calls, and some others, have been disabled.
The first custom Sony system call comes immediately after the last FreeBSD system call, wait6, and is number 533.
The final custom Sony system call is 617.
Calling any system calls higher than 617 gives the same result as calling a compatibility or unimplemented system call, "There is not enough free system memory" error.
Of these 85 (617 - 532), 9 always return 0x4e, ENOSYS, leaving us with just 76 which are usable (the disabled 9 may only be callable from development units).
Functions of custom Sony system calls
Known calls include those relating to:
- Modules
- Memory
- Sandboxing
- Semaphores
Other potential calls could be for:
- Mutexes
Other operations, such as file IO and networking are handled through regular FreeBSD system calls.
Number | Prototype | Notes | |
---|---|---|---|
533 | - | - | |
534 | - | - | |
535 | - | - |
|