config: allow a chdir at the time a new configuration file is loaded
authorH. Peter Anvin <hpa@zytor.com>
Sun, 14 Feb 2010 21:40:04 +0000 (13:40 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 14 Feb 2010 21:40:04 +0000 (13:40 -0800)
commit5e50b4d4faf398f072c0dea814b11db1a95efeec
tree19dcc5e2a882156516ebcd8403b5e40921bef647
parent3399f97a70cdca0cb05129ea3fb5e9dd42c35d9c
config: allow a chdir at the time a new configuration file is loaded

If a directory name/path prefix is appended to a loaded configuration
file, do a chdir at that point.  We finally have all the mechanism to
do this right.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 files changed:
core/cmdline.inc
core/comboot.inc
core/conio.inc
core/extern.inc
core/fs.c
core/include/core.h
core/include/fs.h
core/kernel.inc
core/newconfig.c [new file with mode: 0644]
core/parsecmd.inc
core/parseconfig.inc
core/runkernel.inc
core/ui.inc