History log of /xv6-public/exec.c (Results 26 – 43 of 43)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# b1d41d67 01-Sep-2010 Austin Clements <amdragon@mit.edu>

Remove the stack guard page. Processes are now contiguous from 0 to proc->sz, which means our syscall argument validation is correct. Add a pointer validation test and remove the stack test, which

Remove the stack guard page. Processes are now contiguous from 0 to proc->sz, which means our syscall argument validation is correct. Add a pointer validation test and remove the stack test, which tested for the guard page.

show more ...


# 5efca905 01-Sep-2010 Austin Clements <amdragon@mit.edu>

Tab police


# c4cc10da 06-Aug-2010 Robert Morris <rtm@nephron.lcs.mit.edu>

fix corner cases in exec of ELF
put an invalid page below the stack
have fork() handle invalid pages


# af03ab14 23-Jul-2010 Frans Kaashoek <kaashoek@31-34-210.wireless.csail.mit.edu>

a few nits
passes all tests on two-processor smp


# 4714c205 23-Jul-2010 Frans Kaashoek <kaashoek@Frans-Kaashoeks-MacBook-Pro.local>

Checkpoint page-table version for SMP
Includes code for TLB shootdown (which actually seems unnecessary for xv6)


# 40889627 02-Jul-2010 Frans Kaashoek <kaashoek@fransk-6.local>

Initial version of single-cpu xv6 with page tables


Revision tags: xv6-rev3
# 48755214 31-Aug-2009 Russ Cox <rsc@swtch.com>

assorted fixes:
* rename c/cp to cpu/proc
* rename cpu.context to cpu.scheduler
* fix some comments
* formatting for printout


# 0aef8914 08-Aug-2009 Russ Cox <rsc@swtch.com>

shuffle and tweak for formatting.
pdf has very good page breaks now.
would be a good copy for fall 2009.


# b3bebfce 13-Jul-2009 Russ Cox <rsc@swtch.com>

exec tweaks


# 90bab908 31-May-2009 rsc <rsc>

exec sanity check


# 19333efb 31-May-2009 rsc <rsc>

Some proc cleanup, moving some of copyproc into allocproc.

Also, an experiment: use "thread-local" storage for c and cp
instead of the #define macro for curproc[cpu()].


Revision tags: xv6-2008
# 71d5bf4d 30-Aug-2007 rsc <rsc>

oops - broke arg counting


Revision tags: xv6-2007, xv6-rev1
# c1bfbfa2 28-Aug-2007 rsc <rsc>

oops


# 558ab49f 27-Aug-2007 rsc <rsc>

delete unnecessary #include lines


# 629c1fe7 27-Aug-2007 rsc <rsc>

Edit exec.

Do not commit to new memory image until
nothing can go wrong, avoiding bad2 case.

Be sure to allocate enough stack space for argv.

Load executable before initializing stack, to
keep ELF

Edit exec.

Do not commit to new memory image until
nothing can go wrong, avoiding bad2 case.

Be sure to allocate enough stack space for argv.

Load executable before initializing stack, to
keep ELF loops together.

Make argv loop clearer.

show more ...


# 07090dd7 24-Aug-2007 rsc <rsc>

Remove struct uinode.
Remove type arg to mknod (assume T_DEV).


# eaea18cb 22-Aug-2007 rsc <rsc>

PDF at http://am.lcs.mit.edu/~rsc/xv6.pdf

Various changes made while offline.

+ bwrite sector argument is redundant; use b->sector.
+ reformatting of files for nicer PDF page breaks
+ distinguis

PDF at http://am.lcs.mit.edu/~rsc/xv6.pdf

Various changes made while offline.

+ bwrite sector argument is redundant; use b->sector.
+ reformatting of files for nicer PDF page breaks
+ distinguish between locked, unlocked inodes in type signatures
+ change FD_FILE to FD_INODE
+ move userinit (nee proc0init) to proc.c
+ move ROOTDEV to param.h
+ always parenthesize sizeof argument

show more ...


# f32f3638 21-Aug-2007 rsc <rsc>

Various cleanup:

- Got rid of dummy proc[0]. Now proc[0] is init.
- Added initcode.S to exec /init, so that /init is
just a regular binary.
- Moved exec out of sysfile to exec.c
- Moved code

Various cleanup:

- Got rid of dummy proc[0]. Now proc[0] is init.
- Added initcode.S to exec /init, so that /init is
just a regular binary.
- Moved exec out of sysfile to exec.c
- Moved code dealing with fs guts (like struct inode)
from sysfile.c to fs.c. Code dealing with system call
arguments stays in sysfile.c
- Refactored directory routines in fs.c; should be simpler.
- Changed iget to return *unlocked* inode structure.
This solves the lookup-then-use race in namei
without introducing deadlocks.
It also enabled getting rid of the dummy proc[0].

show more ...


12