NeKernel
dev
Loading...
Searching...
No Matches
Jail.h
Go to the documentation of this file.
1
/* ========================================
2
3
Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.
4
5
======================================== */
6
7
#pragma once
8
9
#include <
libSystem/SystemKit/System.h
>
10
14
15
struct
JAIL_INFO
;
16
struct
JAIL
;
17
19
struct
JAIL_INFO
{
20
SInt32
fParentID
;
21
SInt32
fJailHash
;
22
SInt64
fACL
;
23
};
24
26
struct
JAIL
{
27
struct
JAIL_INFO
*
fServer
;
28
struct
JAIL_INFO
*
fClient
;
29
SInt32
fJailHash
;
30
SInt32
fParentID
;
31
SInt64
fACL
;
32
};
33
36
IMPORT_C
struct
JAIL
*
JailGetCurrent
(Void);
JailGetCurrent
IMPORT_C struct JAIL * JailGetCurrent(Void)
Get the current jail.
Definition
JailCalls.cc:15
System.h
SInt64
__INT64_TYPE__ SInt64
Definition
Macros.h:54
IMPORT_C
#define IMPORT_C
Definition
Macros.h:22
SInt32
__INT32_TYPE__ SInt32
Definition
Macros.h:55
JAIL_INFO
Jail information (client side struct).
Definition
Jail.h:19
JAIL_INFO::fACL
SInt64 fACL
Definition
Jail.h:22
JAIL_INFO::fJailHash
SInt32 fJailHash
Definition
Jail.h:21
JAIL_INFO::fParentID
SInt32 fParentID
Definition
Jail.h:20
JAIL
Jail information (we grab a JAIL from JailGetCurrent()).
Definition
Jail.h:26
JAIL::fJailHash
SInt32 fJailHash
Definition
Jail.h:29
JAIL::fServer
struct JAIL_INFO * fServer
Definition
Jail.h:27
JAIL::fACL
SInt64 fACL
Definition
Jail.h:31
JAIL::fClient
struct JAIL_INFO * fClient
Definition
Jail.h:28
JAIL::fParentID
SInt32 fParentID
Definition
Jail.h:30
src
libSystem
SystemKit
Jail.h
Generated by
1.15.0