|
| static | _Atomic (pid_t) |
| |
| static uint64_t | process_prio_read (file_t *file, void *buffer, uint64_t count, uint64_t *offset) |
| |
| static uint64_t | process_prio_write (file_t *file, const void *buffer, uint64_t count, uint64_t *offset) |
| |
| static uint64_t | process_cwd_read (file_t *file, void *buffer, uint64_t count, uint64_t *offset) |
| |
| static uint64_t | process_cwd_write (file_t *file, const void *buffer, uint64_t count, uint64_t *offset) |
| |
| static uint64_t | process_cmdline_read (file_t *file, void *buffer, uint64_t count, uint64_t *offset) |
| |
| static uint64_t | process_note_write (file_t *file, const void *buffer, uint64_t count, uint64_t *offset) |
| |
| static uint64_t | process_wait_read (file_t *file, void *buffer, uint64_t count, uint64_t *offset) |
| |
| static wait_queue_t * | process_wait_poll (file_t *file, poll_events_t *revents) |
| |
| static uint64_t | process_stat_read (file_t *file, void *buffer, uint64_t count, uint64_t *offset) |
| |
| static uint64_t | process_ctl_close (file_t *file, uint64_t argc, const char **argv) |
| |
| static uint64_t | process_ctl_dup2 (file_t *file, uint64_t argc, const char **argv) |
| |
| static uint64_t | process_ctl_start (file_t *file, uint64_t argc, const char **argv) |
| |
| static uint64_t | process_ctl_kill (file_t *file, uint64_t argc, const char **argv) |
| |
| | CTL_STANDARD_OPS_DEFINE (ctlOps, { {"close", process_ctl_close, 2, 3}, {"dup2", process_ctl_dup2, 3, 3}, {"start", process_ctl_start, 1, 1}, {"kill", process_ctl_kill, 1, 1}, {0} }) |
| |
| static uint64_t | process_env_write (file_t *file, const void *buffer, uint64_t count, uint64_t *offset) |
| |
| static uint64_t | process_env_create (inode_t *dir, dentry_t *target, mode_t mode) |
| |
| static uint64_t | process_env_remove (inode_t *parent, dentry_t *target, mode_t mode) |
| |
| static void | process_env_cleanup (inode_t *inode) |
| |
| static void | process_cleanup (inode_t *inode) |
| |
| static void | process_free (process_t *process) |
| |
| static uint64_t | process_dir_init (process_t *process) |
| |
| process_t * | process_new (priority_t priority) |
| | Allocates and initializes a new process.
|
| |
| void | process_kill (process_t *process, int32_t status) |
| | Kills a process.
|
| |
| uint64_t | process_copy_env (process_t *dest, process_t *src) |
| | Copies the environment variables from one process to another.
|
| |
| uint64_t | process_set_cmdline (process_t *process, char **argv, uint64_t argc) |
| | Sets the command line arguments for a process.
|
| |
| bool | process_has_thread (process_t *process, tid_t tid) |
| | Checks if a process has a thread with the specified thread ID.
|
| |
| process_t * | process_get_kernel (void) |
| | Gets the kernel process.
|
| |
| void | process_procfs_init (void) |
| | Initializes the /proc directory.
|
| |
| static void | process_reaper (void *arg) |
| |
| void | process_reaper_init (void) |
| | Initializes the process reaper.
|
| |
| | SYSCALL_DEFINE (SYS_GETPID, pid_t) |
| |