#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 | AuHwdevCapReleased (void *proc, AuCapability *cap) |
| |
| 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_HW_CFG
| #define CAP_HW_CFG (1 << 7) /* PCI config space access */ |
◆ CAP_HW_DMA
| #define CAP_HW_DMA (1 << 9) /* allocate DMA buffers */ |
◆ CAP_HW_IRQ
| #define CAP_HW_IRQ (1 << 10) /* receive the device's interrupts */ |
◆ CAP_HW_MAP
| #define CAP_HW_MAP (1 << 8) /* map BARs into the process */ |
◆ CAP_HW_RIGHTS_MASK
◆ CAP_IOCTL
| #define CAP_IOCTL (1 << 4) |
◆ CAP_OBJ_FILE
◆ CAP_OBJ_PCIDEV
| #define CAP_OBJ_PCIDEV 2 /* a claimed PCI function, see hwdev.h */ |
◆ 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
◆ AuHwdevCapReleased()
◆ 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 |