Skip to content

Commit eef7a83

Browse files
committed
Adds self_auth_info
1 parent f3ed1fa commit eef7a83

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/kernel/data-types.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,17 @@ This struct was derived from [FreeBSD](https://github.com/freebsd/freebsd-src/bl
4646
| 0xB10 | char[28] | unk2 | Seems like a struct. |
4747
| 0xB40 | u32 | sdk_version ||
4848

49+
## self_auth_info
50+
51+
This struct contains authorization information. The PS4 rely on this struct to determine what actions can be done for each thread (they don't use *nix permissions). The PS4 obtained this struct from application image through the SAMU. Some examples of this structs can be found [here](https://www.psdevwiki.com/ps4/Auth_Info).
52+
53+
| 9.0 | Type | Name | Description |
54+
| ---- | ------ | ----- | ----------- |
55+
| 0x00 | u64 | paid | [Program Authority ID](https://www.psdevwiki.com/ps4/Program_Authority_ID) |
56+
| 0x08 | u64[4] | caps | Bit flags indicated what permissions are allowed. |
57+
| 0x28 | u64[4] | attrs ||
58+
| 0x48 | u8[64] | ||
59+
4960
## thread
5061

5162
This struct was derived from [FreeBSD](https://github.com/freebsd/freebsd-src/blob/release/9.1.0/sys/sys/proc.h#L204).

0 commit comments

Comments
 (0)