MicrOS
MicrOS copied to clipboard
Problems with ELF executable argument list
MicrOS uses ELF executable format and by some testing we found out that list of arguments passed to program has some problems. There is additional paramater that should not be passed to executable, and this causes checking for any params for programs less intuitive. Currently program without a single parameter added will have 3 params passed as command line arguments (I'm not sure if I listed them correctly, will edit information after I confirm these):
- Name of executable
- Drive this executable is running in
- Something additional, that I cannot remember right now. So if someone passes option let it be -option, then this option in commandline argument list (argv) will be available at 4th place (index 3), instead of 2 (index 1) which is the expected behaviour.
Debugging of process manager creation of new processes and elf format tests and some checking is required to make sure there's no other issue. Process Manager adds from itself at least one argument for process. This also will need to be adjusted, but is not really part of this issue.
Assigned to OS Releae 1.4 since it will require some changes in filesystems and partitions.