mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:47:35 +00:00
Free physical pages allocated for a process's page directory on exit.
Also use a ProcessPagingScope instead of region aliasing to implement create-process ELF loading.
This commit is contained in:
parent
c70afd045e
commit
90ddbca127
8 changed files with 113 additions and 55 deletions
|
@ -9,7 +9,7 @@ int main(int c, char** v)
|
|||
|
||||
struct passwd* pw = getpwuid(uid);
|
||||
|
||||
printf("uid=%u(%s), gid=%u\n", uid, pw ? pw->pw_name : "n/a", gid);
|
||||
printf("uid=%u(%s), gid=%u, pid=%u\n", uid, pw ? pw->pw_name : "n/a", gid, getpid());
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue