Filesystem services: Difference between revisions
No edit summary |
|||
Line 12: | Line 12: | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! Cmd || Name | ! Cmd || Name || Notes | ||
|- | |- | ||
| 0 || SetFsPermissions || | | 0 || [[#SetFsPermissions]] || | ||
|- | |- | ||
| 1 || ClearFsPermissions | | 1 || [[#ClearFsPermissions]] || | ||
|- | |- | ||
| 256 || SetEnabledProgramVerification | | 256 || [[#SetEnabledProgramVerification]] || | ||
|} | |} | ||
== SetFsPermissions == | |||
Takes a storageID, a pid, a titleID and two type-A buffers. One contains ACI0 contents, other one contains ACID contents. | |||
Final FS permissions are stored as (ACI0_perms & ACID_perms). Will panic(svcBreak) when buffer sizes from ipc-rawdata are invalid. | |||
== ClearFsPermissions == | |||
Takes a pid. Removes registered FS permissions for that PID. | |||
== SetEnabledProgramVerification == | == SetEnabledProgramVerification == |