summaryrefslogtreecommitdiff
path: root/Userland/id.cpp
AgeCommit message (Collapse)Author
2020-02-06LibCore: Remove leading C from filenamesAndreas Kling
2020-02-02LibCore: Put all classes in the Core namespace and remove the leading CAndreas Kling
I've been wanting to do this for a long time. It's time we start being consistent about how this stuff works. The new convention is: - "LibFoo" is a userspace library that provides the "Foo" namespace. That's it :^) This was pretty tedious to convert and I didn't even start on LibGUI yet. But it's coming up next.
2020-01-28Userland+Terminal: Port to new CArgsParser APISergey Bugaev
While at it, also add some niceties and fix some things.
2020-01-20id: Use unveil()Andreas Kling
And so "id" becomes our first user of unveil(), giving himself access to read /etc/passwd and /etc/group :^)
2020-01-18Meta: Add license header to source filesAndreas Kling
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header.
2020-01-17Userland: Stop id command accepting -n in default formatrhin123
2020-01-11id: Use pledge()Andreas Kling
2020-01-04id: Remove weird commas from outputAndreas Kling
2019-06-30Userland: Fixed "id" usage error typo (#254)Rhin
2019-06-29Userland: Added flags to id command (#253)Rhin
Fixes #158.
2019-06-07Userland: Run clang-format on everything.Andreas Kling
2019-02-22Userland: Fix extra unused printf() argument warning.Andreas Kling
2018-12-29Tweak /bin/id output slightly.Andreas Kling
2018-11-09Build LibC and Userland with clang as well.Andreas Kling
2018-11-09Fix all current build warnings in the userland.Andreas Kling
2018-11-07Add some basic setgroups(), getgroups() and initgroups().Andreas Kling
Also teach /bin/id to print the user's supplemental groups.
2018-11-06Add getgrent() family of functions.Andreas Kling
2018-11-01Free physical pages allocated for a process's page directory on exit.Andreas Kling
Also use a ProcessPagingScope instead of region aliasing to implement create-process ELF loading.
2018-10-31Add getpwent() family of functions to LibC.Andreas Kling
Also add a little /etc/passwd database. There's just me in there.
2018-10-22Import very modest Userland.Andreas Kling