VFS/RS support for ELF

This commit is contained in:
Arun Thomas
2010-12-10 09:27:56 +00:00
parent 9639af49d2
commit 372b873413
22 changed files with 2412 additions and 386 deletions

View File

@@ -157,17 +157,19 @@ struct mem_range
/* For EXEC_NEWMEM */
struct exec_newmem
{
vir_bytes text_bytes;
vir_bytes data_bytes;
vir_bytes bss_bytes;
vir_bytes tot_bytes;
vir_bytes args_bytes;
int sep_id;
dev_t st_dev;
ino_t st_ino;
time_t st_ctime;
uid_t new_uid;
gid_t new_gid;
vir_bytes text_addr; /* Starting address of text section */
vir_bytes text_bytes; /* Length of text section (in bytes) */
vir_bytes data_addr; /* Starting address of data section */
vir_bytes data_bytes; /* Length of data section (in bytes) */
vir_bytes tot_bytes; /* Minimum stack region size (in bytes) */
vir_bytes args_bytes; /* Arguments/environ size on stack (in bytes) */
int sep_id; /* Separate I&D? */
int is_elf; /* Is ELF exe? */
dev_t st_dev; /* Device holding executable file */
ino_t st_ino; /* Inode of executable file */
time_t st_ctime; /* Last changed time of executable file */
uid_t new_uid; /* Process UID after exec */
gid_t new_gid; /* Process GID after exec */
char progname[16]; /* Should be at least PROC_NAME_LEN */
};