mproc Struct Reference

#include <mproc.h>

Collaboration diagram for mproc:

Collaboration graph
[legend]

Data Fields

mem_map mp_seg [NR_LOCAL_SEGS]
char mp_exitstatus
char mp_sigstatus
pid_t mp_pid
int mp_endpoint
pid_t mp_procgrp
pid_t mp_wpid
int mp_parent
clock_t mp_child_utime
clock_t mp_child_stime
uid_t mp_realuid
uid_t mp_effuid
gid_t mp_realgid
gid_t mp_effgid
ino_t mp_ino
dev_t mp_dev
time_t mp_ctime
sigset_t mp_ignore
sigset_t mp_catch
sigset_t mp_sig2mess
sigset_t mp_sigmask
sigset_t mp_sigmask2
sigset_t mp_sigpending
sigaction mp_sigact [_NSIG+1]
vir_bytes mp_sigreturn
timer mp_timer
sighandler_t mp_func
unsigned mp_flags
vir_bytes mp_procargs
mprocmp_swapq
message mp_reply
signed int mp_nice
char mp_name [PROC_NAME_LEN]

Detailed Description

This table has one slot per process. It contains all the process management information for each process. Among other things, it defines the text, data and stack segments, uids and gids, and various flags. The kernel and file systems have tables that are also indexed by process, with the contents of corresponding slots referring to the same process in all three.

Definition at line 12 of file mproc.h.


Field Documentation

sigset_t mproc::mp_catch
 

Definition at line 39 of file mproc.h.

Referenced by do_exec(), do_sigaction(), and sigaction_dmp().

clock_t mproc::mp_child_stime
 

Definition at line 24 of file mproc.h.

Referenced by do_fork(), do_times(), and pm_exit().

clock_t mproc::mp_child_utime
 

Definition at line 23 of file mproc.h.

Referenced by do_fork(), do_times(), and pm_exit().

time_t mproc::mp_ctime
 

Definition at line 35 of file mproc.h.

Referenced by do_exec(), find_share(), and new_mem().

dev_t mproc::mp_dev
 

Definition at line 34 of file mproc.h.

Referenced by do_exec(), find_share(), and new_mem().

gid_t mproc::mp_effgid
 

Definition at line 30 of file mproc.h.

Referenced by do_exec(), do_getset(), and mproc_dmp().

uid_t mproc::mp_effuid
 

Definition at line 28 of file mproc.h.

Referenced by allowed(), check_sig(), do_exec(), do_fork(), do_getset(), do_getsetpriority(), do_reboot(), do_stime(), and mproc_dmp().

int mproc::mp_endpoint
 

Definition at line 17 of file mproc.h.

Referenced by do_fork(), do_getprocnr(), do_getsetpriority(), get_work(), main(), and unpause().

char mproc::mp_exitstatus
 

Definition at line 14 of file mproc.h.

Referenced by do_fork().

unsigned mproc::mp_flags
 

Definition at line 51 of file mproc.h.

Referenced by cause_sigalrm(), check_sig(), do_exec(), do_fork(), do_getprocnr(), do_pause(), do_sigaction(), do_sigsuspend(), do_trace(), do_waitpid(), find_proc(), find_share(), handle_ksig(), main(), mproc_dmp(), new_mem(), pm_exit(), set_alarm(), setreply(), sigaction_dmp(), stop_proc(), tell_fs(), and unpause().

sighandler_t mproc::mp_func
 

Definition at line 49 of file mproc.h.

sigset_t mproc::mp_ignore
 

Definition at line 38 of file mproc.h.

Referenced by do_sigaction(), and sigaction_dmp().

ino_t mproc::mp_ino
 

Definition at line 33 of file mproc.h.

Referenced by do_exec(), find_share(), and new_mem().

char mproc::mp_name[PROC_NAME_LEN]
 

Definition at line 59 of file mproc.h.

Referenced by main(), mproc_dmp(), and sigaction_dmp().

signed int mproc::mp_nice
 

Definition at line 57 of file mproc.h.

Referenced by do_getsetpriority(), and mproc_dmp().

int mproc::mp_parent
 

Definition at line 20 of file mproc.h.

Referenced by do_fork(), do_getset(), do_waitpid(), and mproc_dmp().

pid_t mproc::mp_pid
 

Definition at line 16 of file mproc.h.

Referenced by cause_sigalrm(), check_sig(), do_fork(), do_getprocnr(), do_getset(), do_waitpid(), find_proc(), get_free_pid(), handle_ksig(), mproc_dmp(), panic(), and sigaction_dmp().

vir_bytes mproc::mp_procargs
 

Definition at line 52 of file mproc.h.

Referenced by do_exec().

pid_t mproc::mp_procgrp
 

Definition at line 18 of file mproc.h.

Referenced by check_sig(), do_getset(), do_waitpid(), get_free_pid(), handle_ksig(), mproc_dmp(), and pm_exit().

gid_t mproc::mp_realgid
 

Definition at line 29 of file mproc.h.

Referenced by do_exec(), do_getset(), and mproc_dmp().

uid_t mproc::mp_realuid
 

Definition at line 27 of file mproc.h.

Referenced by check_sig(), do_exec(), do_getset(), do_getsetpriority(), and mproc_dmp().

message mproc::mp_reply
 

Definition at line 54 of file mproc.h.

Referenced by do_allocmem(), do_brk(), do_fork(), do_getprocnr(), do_getset(), do_procstat(), do_sigpending(), do_sigprocmask(), do_time(), do_times(), do_trace(), main(), setreply(), and stop_proc().

struct mem_map mproc::mp_seg[NR_LOCAL_SEGS]
 

Definition at line 13 of file mproc.h.

Referenced by do_brk(), do_exec(), do_fork(), dump_stack(), new_mem(), read_info(), and read_segmap().

sigset_t mproc::mp_sig2mess
 

Definition at line 40 of file mproc.h.

Referenced by do_sigaction(), and sigaction_dmp().

struct sigaction mproc::mp_sigact[_NSIG+1]
 

Definition at line 44 of file mproc.h.

Referenced by do_exec(), and do_sigaction().

sigset_t mproc::mp_sigmask
 

Definition at line 41 of file mproc.h.

Referenced by do_sigprocmask(), do_sigreturn(), do_sigsuspend(), and sigaction_dmp().

sigset_t mproc::mp_sigmask2
 

Definition at line 42 of file mproc.h.

Referenced by do_sigsuspend().

sigset_t mproc::mp_sigpending
 

Definition at line 43 of file mproc.h.

Referenced by do_procstat(), do_sigaction(), do_sigpending(), and sigaction_dmp().

vir_bytes mproc::mp_sigreturn
 

Definition at line 45 of file mproc.h.

Referenced by do_sigaction().

char mproc::mp_sigstatus
 

Definition at line 15 of file mproc.h.

Referenced by do_fork().

struct mproc* mproc::mp_swapq
 

Definition at line 53 of file mproc.h.

struct timer mproc::mp_timer
 

Definition at line 46 of file mproc.h.

Referenced by pm_init(), set_alarm(), and sigaction_dmp().

pid_t mproc::mp_wpid
 

Definition at line 19 of file mproc.h.

Referenced by pm_exit().


The documentation for this struct was generated from the following file:
Generated on Fri Apr 14 23:23:44 2006 for minix by  doxygen 1.4.6