vitasdk
Documentation of the vitasdk
acmgr.h File Reference
#include <psp2kern/types.h>

Go to the source code of this file.

Data Structures

struct  SceSblACMgrFsAttrInfo
 Filesystem-attribute conversion request. More...
 

Macros

#define ksceSblACMgrIsSystem(pid)   ksceSblACMgrIsRootProgram(pid)
 
#define ksceSblACMgrIsShell(pid)   ksceSblACMgrIsSystemProgram(pid)
 
#define kscePfsACSetFSAttrByMode   ksceSblACMgrConvertModeToFsAttribute2
 
#define ksceSblACIsSystemProgram   ksceSblACMgrIsSystemProgram2
 
#define ksceSblACMgrSetFSAttributeByMode   ksceSblACMgrConvertModeToFsAttribute
 
#define ksceSblACMgrSetFSAttributeByMode2   ksceSblACMgrConvertModeToFsAttribute2
 
#define ksceSblACMgrGetProcessProgramAuthId2   ksceSblACMgrGetPaid2
 
#define ksceSblACMgrIsAllowedExtendedMemory   ksceSblACMgrIsAllowLoopBackMount
 
#define ksceSblACMgrIsAllowedExtendedMemory2   ksceSblACMgrIsAllowLoopBackMount2
 
#define ksceSblACMgrIsAllowedUsbSerial   ksceSblACMgrIsAllowUsbSerial
 
#define ksceSblACMgrIsAllowedVirtualMachine   ksceSblACMgrIsAllowVirtualMachine
 
#define ksceSblACMgrIsAllowedVirtualMachine2   ksceSblACMgrIsAllowVirtualMachine2
 
#define ksceSblACMgrIsMiniSettingsForQA   ksceSblACMgrIsAllowUdcd
 
#define ksceSblACMgrIsMiniSettingsForQA2   ksceSblACMgrIsAllowUdcd2
 
#define ksceSblACMgrIsNotSandboxed   ksceSblACMgrIsAllowMsMount
 
#define ksceSblACMgrIsNotSandboxed2   ksceSblACMgrIsAllowMsMount2
 
#define ksceSblACMgrIsPSMDevAssistant   ksceSblACMgrIsPSMProgram
 
#define ksceSblACMgrIsPSMDevAssistant2   ksceSblACMgrIsPSMProgram2
 
#define ksceSblACMgrIsUpdaterUISetupperOrPkgInstallerSpawn   ksceSblACMgrIsUpdaterProgram
 
#define ksceSblACMgrIsUpdaterUISetupperOrPkgInstallerSpawn2   ksceSblACMgrIsUpdaterProgram2
 
#define ksceSblACMgrIsRootProgram2   ksceSblACMgrIsKernelProgram2
 
#define ksceSblACMgrIsSIEApp   ksceSblACMgrIsPSMDevAssistantApp
 
#define ksceSblACMgrIsSIEApp2   ksceSblACMgrIsPSMDevAssistantApp2
 

Enumerations

enum  SceSblACMgrMediaType {
  SCE_SBL_ACMGR_MEDIA_TYPE_UX_USER = 0 , SCE_SBL_ACMGR_MEDIA_TYPE_SD = 1 , SCE_SBL_ACMGR_MEDIA_TYPE_OS = 2 , SCE_SBL_ACMGR_MEDIA_TYPE_VS = 3 ,
  SCE_SBL_ACMGR_MEDIA_TYPE_VD = 4 , SCE_SBL_ACMGR_MEDIA_TYPE_TM = 5 , SCE_SBL_ACMGR_MEDIA_TYPE_UR = 6 , SCE_SBL_ACMGR_MEDIA_TYPE_HOST = 7 ,
  SCE_SBL_ACMGR_MEDIA_TYPE_UD = 11 , SCE_SBL_ACMGR_MEDIA_TYPE_UX = 12 , SCE_SBL_ACMGR_MEDIA_TYPE_GRO_APP = 13 , SCE_SBL_ACMGR_MEDIA_TYPE_GRW_PATCH = 14 ,
  SCE_SBL_ACMGR_MEDIA_TYPE_SA = 15 , SCE_SBL_ACMGR_MEDIA_TYPE_MFA = 16 , SCE_SBL_ACMGR_MEDIA_TYPE_MFB = 17 , SCE_SBL_ACMGR_MEDIA_TYPE_LMA = 18 ,
  SCE_SBL_ACMGR_MEDIA_TYPE_LMB = 19 , SCE_SBL_ACMGR_MEDIA_TYPE_LMC = 20 , SCE_SBL_ACMGR_MEDIA_TYPE_LMD = 21 , SCE_SBL_ACMGR_MEDIA_TYPE_PD = 22 ,
  SCE_SBL_ACMGR_MEDIA_TYPE_UX_APP = 23 , SCE_SBL_ACMGR_MEDIA_TYPE_UX_PATCH = 24 , SCE_SBL_ACMGR_MEDIA_TYPE_UX_DATA = 25 , SCE_SBL_ACMGR_MEDIA_TYPE_UMA = 27
}
 Media types produced by the FW 3.60 path classifier. More...
 

Functions

int ksceSblACMgrIsRootProgram (SceUID pid)
 Get process type state.
 
int ksceSblACMgrIsSystemProgram (SceUID pid)
 Get process type state.
 
int ksceSblACMgrIsGameProgram (SceUID pid)
 Get process type state.
 
int ksceSblACMgrIsNonGameProgram (SceUID pid)
 Get process type state.
 
int ksceSblACMgrIsPspEmu (SceUID pid)
 Get process type state.
 
int ksceSblACMgrIsSceShell (SceUID pid)
 Get process type state.
 
int ksceSblACMgrIsFself (SceUID pid)
 Get process type state.
 
int ksceSblACMgrGetProcessProgramAuthId (SceUID pid, SceUInt64 *authid)
 Get process authority id.
 
int ksceSblACMgrGetMediaType (const char *path, SceUInt32 *media_type)
 Get media type for input path.
 
int ksceSblACMgrIsDevelopmentMode (void)
 Get development mode state.
 
 VITASDK_BUILD_ASSERT_EQ (0xC, SceSblACMgrFsAttrInfo)
 
int ksceSblACMgrConvertModeToFsAttribute (SceUID pid, SceSblACMgrFsAttrInfo *info, int mode)
 Convert a file mode to an access-controlled filesystem attribute.
 
int ksceSblACMgrConvertModeToFsAttribute2 (SceUID pid, SceSblACMgrFsAttrInfo *info, int mode)
 
int ksceSblACMgrIsSystemProgram2 (SceUID pid)
 Check capability bit 1 (system-program privilege).
 
int ksceSblACMgrGetMediaType2 (const char *path, SceUInt32 *media_type)
 Get the media type selected by a path's device and path-class prefix.
 
int ksceSblACMgrGetPaid2 (SceUID pid, SceUInt64 *paid)
 Get the program authority ID from the process self-authentication information.
 
int ksceSblACMgrHasCapability (SceUID pid, int capability_bit)
 Test a process capability bit.
 
int ksceSblACMgrHasCapability2 (SceUID pid, int capability_bit)
 
SceBool ksceSblACMgrIsAllowLoopBackMount (SceUID pid)
 Return whether a process may create a loopback mount.
 
SceBool ksceSblACMgrIsAllowLoopBackMount2 (SceUID pid)
 
int ksceSblACMgrIsAllowUsbSerial (SceUID pid)
 Return whether a process may use the USB serial interface.
 
int ksceSblACMgrIsAllowUsbSerial2 (SceUID pid)
 
int ksceSblACMgrIsAllowVirtualMachine (SceUID pid)
 Return whether a process may use the virtual-machine facility.
 
int ksceSblACMgrIsAllowVirtualMachine2 (SceUID pid)
 
int ksceSblACMgrIsDevelopmentMode2 (void)
 Return whether development DIP switch 159 is enabled.
 
int ksceSblACMgrIsFself2 (SceUID pid)
 Return whether the PAID belongs to the 0x2F0 fSELF family.
 
int ksceSblACMgrIsGameProgram2 (SceUID pid)
 Return whether the PAID belongs to the 0x210 game family or is the fSELF game PAID 0x2F00000000000001.
 
SceBool ksceSblACMgrIsAllowUdcd (SceUID pid)
 Return whether a process may use the USB device controller.
 
SceBool ksceSblACMgrIsAllowUdcd2 (SceUID pid)
 
int ksceSblACMgrIsNonGameOrGameProgram (SceUID pid)
 Return whether capability bit 2 or capability bit 3 is present.
 
int ksceSblACMgrIsNonGameOrGameProgram2 (SceUID pid)
 
int ksceSblACMgrIsNonGameProgram2 (SceUID pid)
 Return whether capability bit 3 is present.
 
SceBool ksceSblACMgrIsAllowMsMount (SceUID pid)
 Return whether a process may create a memory-stick work-directory mount.
 
SceBool ksceSblACMgrIsAllowMsMount2 (SceUID pid)
 
int ksceSblACMgrIsPSMProgram (SceUID pid)
 Return whether a process belongs to the PlayStation Mobile program family.
 
int ksceSblACMgrIsPSMProgram2 (SceUID pid)
 
int ksceSblACMgrIsPSMDevAssistantApp (SceUID pid)
 Return whether the PAID is in the PSM development-assistant range 0x210000101CD20007-0x210000101CD20009.
 
int ksceSblACMgrIsPSMDevAssistantApp2 (SceUID pid)
 
int ksceSblACMgrIsPSMRuntime (SceUID pid)
 Return whether the PAID is 0x210000101CD2000A or 0x2800C0101CD2000B, the two FW 3.60 PSM runtime identities.
 
int ksceSblACMgrIsPSMRuntime2 (SceUID pid)
 
int ksceSblACMgrIsPspEmu2 (SceUID pid)
 Return whether the PAID is 0x2800000000007009 or 0x2800000000000013.
 
int ksceSblACMgrIsKernelProgram2 (SceUID pid)
 Return whether capability bit 0 is present.
 
int ksceSblACMgrIsSceShell2 (SceUID pid)
 Return whether the PAID is the SceShell PAID 0x2800000000000001.
 
int ksceSblACMgrIsUpdaterProgram (SceUID pid)
 Return whether the PAID is in the updater-program range 0x2800800000000000-0x280080000000000F.
 
int ksceSblACMgrIsUpdaterProgram2 (SceUID pid)
 
int ksceSblACMgrIsWebCoreOrWebKitProcess (SceUID pid)
 Return whether the PAID is 0x2800000000008003 or 0x2800000000008005, the WebCore/WebKit process identities on FW 3.60.
 
int ksceSblACMgrIsWebCoreOrWebKitProcess2 (SceUID pid)