#include <aurora.h>
#include <Cred/user.h>
#include <stdint.h>
Go to the source code of this file.
|
| int | BordoisilaCapCreate (void *proc, int fd, void *object, uint8_t type, CapRights rights) |
| |
| AuCapability * | BordoisilaCapLookup (void *proc, int fd) |
| |
| bool | BordoisilaCapCheckRights (void *proc, int fd, CapRights required) |
| |
| int | BordoisilaCapDup (void *proc, int oldfd, int newfd) |
| |
| int | BordoisilaCapRestrict (void *proc, int fd, CapRights new_rights) |
| |
| void | BordoisilaCapDestroy (void *proc, int fd) |
| |
| void | BordoisilaCapCleanupProcess (void *proc) |
| |
| void | BordoisilaCapInheritTable (void *parent, void *child) |
| |
◆ CAP_DUP
◆ CAP_ERR_INVALID
| #define CAP_ERR_INVALID -1 |
◆ CAP_ERR_PERM
◆ CAP_EXECUTE
| #define CAP_EXECUTE (1 << 2) |
◆ CAP_FILE_RIGHTS_MASK
◆ CAP_FLAG_NO_INHERIT
| #define CAP_FLAG_NO_INHERIT (1 << 0) |
◆ CAP_FLAG_NONE
◆ CAP_IOCTL
| #define CAP_IOCTL (1 << 4) |
◆ CAP_OBJ_FILE
◆ CAP_OK
◆ CAP_READ
| #define CAP_READ (1 << 0) |
◆ CAP_RIGHTS_NONE
| #define CAP_RIGHTS_NONE 0 |
◆ CAP_SEEK
| #define CAP_SEEK (1 << 3) |
◆ CAP_TRANSFER
| #define CAP_TRANSFER (1 << 6) |
◆ CAP_WRITE
| #define CAP_WRITE (1 << 1) |
◆ AuCapability
◆ BordoisilaCapCheckRights()
| bool BordoisilaCapCheckRights |
( |
void * |
proc, |
|
|
int |
fd, |
|
|
CapRights |
required |
|
) |
| |
|
extern |
◆ BordoisilaCapCleanupProcess()
| void BordoisilaCapCleanupProcess |
( |
void * |
proc | ) |
|
|
extern |
◆ BordoisilaCapCreate()
| int BordoisilaCapCreate |
( |
void * |
proc, |
|
|
int |
fd, |
|
|
void * |
object, |
|
|
uint8_t |
type, |
|
|
CapRights |
rights |
|
) |
| |
|
extern |
◆ BordoisilaCapDestroy()
| void BordoisilaCapDestroy |
( |
void * |
proc, |
|
|
int |
fd |
|
) |
| |
|
extern |
◆ BordoisilaCapDup()
| int BordoisilaCapDup |
( |
void * |
proc, |
|
|
int |
oldfd, |
|
|
int |
newfd |
|
) |
| |
|
extern |
◆ BordoisilaCapInheritTable()
| void BordoisilaCapInheritTable |
( |
void * |
parent, |
|
|
void * |
child |
|
) |
| |
|
extern |
◆ BordoisilaCapLookup()
◆ BordoisilaCapRestrict()
| int BordoisilaCapRestrict |
( |
void * |
proc, |
|
|
int |
fd, |
|
|
CapRights |
new_rights |
|
) |
| |
|
extern |