VFS/RS support for ELF
This commit is contained in:
@@ -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 */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user