skni-kod / MicrOS

32-bit operating system with kernel written in C. Created by SKNI "KOD".
GNU General Public License v3.0
56 stars 8 forks source link

Problems with ELF executable argument list #126

Open MinusPL opened 2 years ago

MinusPL commented 2 years ago

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):

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.

MinusPL commented 1 year ago

Assigned to OS Releae 1.4 since it will require some changes in filesystems and partitions.