tag | cf98dd33f468031432e77a7198b027592eec8b21 | |
---|---|---|
object | 530903748615256cd88613358064c536396010c4 |
commit | 530903748615256cd88613358064c536396010c4 | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@zytor.com> | Sat Jan 08 02:55:15 2005 +0000 |
committer | H. Peter Anvin <hpa@zytor.com> | Sat Jan 08 02:55:15 2005 +0000 |
tree | d73b1d2d7f8ad5d957f3149be3c976b27d2e43dc | |
parent | ba9ac5610d9427f382f1225df3e442927d5bb422 [diff] |
Thayne Harbaugh: >* The check_path() calls check for "/root" and "/old_root" - I believe >> that should be "/root" and "/root/old_root". >> >> * chdir("/") is recommended after pivot_root() >> >> * init_argv[0] isn't set properly to the basename pointed to by char *s >> - this fix also eliminates six lines of unecessary code and improves >> readability by using get_arg(). The get_arg() simplification causes "int i" to be unused.