mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:28:11 +00:00
Implement errno in LibC.
This also meant I had to implement BSS (SHT_NOBITS) sections in ELFLoader. I also added an strerror() so we can print out what the errors are.
This commit is contained in:
parent
434b6a8688
commit
260b14e505
14 changed files with 209 additions and 27 deletions
|
@ -16,7 +16,7 @@ class Task : public InlineLinkedListNode<Task> {
|
|||
friend class InlineLinkedListNode<Task>;
|
||||
public:
|
||||
static Task* createKernelTask(void (*entry)(), String&& name);
|
||||
static Task* createUserTask(const String& path, uid_t, gid_t, pid_t parentPID);
|
||||
static Task* createUserTask(const String& path, uid_t, gid_t, pid_t parentPID, int& error);
|
||||
~Task();
|
||||
|
||||
static Vector<Task*> allTasks();
|
||||
|
@ -100,7 +100,6 @@ public:
|
|||
int sys$getcwd(char*, size_t);
|
||||
|
||||
static void initialize();
|
||||
void setError(int);
|
||||
|
||||
static void taskDidCrash(Task*);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue