Skip to content

Commit 9d5cb2c

Browse files
committed
fix: fixing workflows not compiling NyxianForJB
1 parent b98c25b commit 9d5cb2c

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

Config.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
// https://developer.apple.com/documentation/xcode/adding-a-build-configuration-file-to-your-project
1010

1111
VERSION = 0.9.0
12-
BUILD_NUMBER = 20260223.80.US.seanistethered
12+
BUILD_NUMBER = 20260223.82.US.seanistethered

Nyxian.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,9 @@
239239
LindChain/ProcEnvironment/Surface/sys/cred/setsid.m,
240240
LindChain/ProcEnvironment/Surface/sys/cred/setuid.m,
241241
LindChain/ProcEnvironment/Surface/sys/host/sysctl.m,
242+
LindChain/ProcEnvironment/Surface/sys/proc/exit.m,
242243
LindChain/ProcEnvironment/Surface/sys/proc/kill.m,
244+
LindChain/ProcEnvironment/Surface/sys/proc/wait4.m,
243245
LindChain/ProcEnvironment/Surface/sys/syscall.m,
244246
LindChain/ProcEnvironment/syscall.m,
245247
LindChain/ProcEnvironment/Syscall/mach_syscall_client.m,

Nyxian/LindChain/Debugger/MachServer.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,8 @@ void machServerInit(void)
610610
});
611611
}
612612

613+
#if !JAILBREAK_ENV
614+
613615
void* ktfp_exception_self_server(void *arg)
614616
{
615617
// Our task is the target, the exception port as the receive side of the kernel exception messages, the mask is basically controlling to what our exception server reacts to
@@ -747,3 +749,5 @@ task_t obtainTaskPortWithExceptionRecvRight(mach_port_t recv)
747749
ktfp_exception_self_server(&recv);
748750
return recv;
749751
}
752+
753+
#endif /* !JAILBREAK_ENV */

Nyxian/LindChain/Multitask/ProcessManager/LDEProcess.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,6 @@ - (void)sendSignal:(int)signal
299299

300300
#if !JAILBREAK_ENV
301301
[self.extension _kill:signal];
302-
#else
303-
shell([NSString stringWithFormat:@"kill -%d %d", signal, self.pid], 0, nil, nil);
304-
#endif /* !JAILBREAK_ENV */
305302

306303
if(signal == SIGSTOP)
307304
{
@@ -311,6 +308,9 @@ - (void)sendSignal:(int)signal
311308
{
312309
kvobject_event_trigger((kvobject_t*)_proc, kvObjEventCustom1, 0);
313310
}
311+
#else
312+
shell([NSString stringWithFormat:@"kill -%d %d", signal, self.pid], 0, nil, nil);
313+
#endif /* !JAILBREAK_ENV */
314314
}
315315

316316
- (BOOL)suspend

Nyxian/LindChain/ProcEnvironment/Surface/obj/event.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ ksurface_return_t kvobject_event_unregister(kvobject_strong_t *kvo,
7070
{
7171
if(kvo->event[i].event_token == token)
7272
{
73-
event_idx = 0;
73+
event_idx = i;
7474
event = &(kvo->event[i]);
7575
break;
7676
}

0 commit comments

Comments
 (0)