Fixed Module load for non-auth #1
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-sleirsgoevy/ps4-libjbc!1
Loading…
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
without my changes the Authid stays the same which is good as long as your app doesn't try to load any system modules like AppUtil if it does you will get this error
ERROR: sceSblAmSmIsLoadable2(754) checkIsBootable err, 800f0d39
ERROR: _sceSblAuthMgrSmIsLoadable2(899) mail retval err -2146497223
ERROR: sceSblAuthMgrIsLoadable(489) Invokecheck err(800f0d39): 1, 3900000000000002
[rtld] <69> ERROR self_load_shared_object:1411: sceSblAuthMgrIsLoadable(/system/common/lib/libSceAppInstUtil.sprx)=d error
unable to load module: libSceAppInstUtil.sprx
could not resolve sceAppInstUtilInitialize
@ -72,1 +73,4 @@|| ppcopyout(&ans->sonyCred, 1 + &ans->sonyCred, ucred + 96)|| ppcopyout(&ans->sceProcType, 1 + &ans->sceProcType, ucred + 88))return -1;Why check? The user can (not) obtain correct values for these fields by calling jbc_get_cred.
uintptr_t -> char* -> arithmetic -> uintptr_t. Why?
@ -95,3 +104,3 @@uintptr_t rootvnode = jbc_get_rootvnode();if(!rootvnode)if (!rootvnode)return -1;What about jbc_get_cred?
@ -4,17 +4,23 @@Suggestion: change order of fields to the same as in PS4 kernel, so that the values can be copied in a single ppcopy{in,out}. This should not really matter, but feels more optimal.