summaryrefslogtreecommitdiff
path: root/Userland/sysctl.cpp
AgeCommit message (Collapse)Author
2020-05-04sysctl: Permit 'sysctl -a' invocationBen Wiederhake
The point of '-a' is to list all keys. It is counter-intuitive to require the user to then supply a specific key additionally.
2020-05-04sysctl: Fix newlines in error messagesBen Wiederhake
2020-03-07LibCore: Remove all remaining C prefix referencesShannon Booth
LibCore's GZip is also moved into the Core namespace with this change.
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-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.
2019-09-30ByteBuffer: Remove pointer() in favor of data()Andreas Kling
We had two ways to get the data inside a ByteBuffer. That was silly.
2019-09-21LibCore: Convert CFile to ObjectPtrAndreas Kling
2019-09-06AK: Rename <AK/AKString.h> to <AK/String.h>Andreas Kling
This was a workaround to be able to build on case-insensitive file systems where it might get confused about <string.h> vs <String.h>. Let's just not support building that way, so String.h can have an objectively nicer name. :^)
2019-06-22Userland: Fix many compiler warnings.Andreas Kling
2019-06-07Userland: Run clang-format on everything.Andreas Kling
2019-06-02AK: Add implicit String -> StringView conversionRobin Burchell
And tidy up existing view() users.
2019-06-02Userland: Use CFile inside sysctlRobin Burchell
Also add a StringView overload to CIODevice::write
2019-05-27LibCore: Add CDirIterator, and use it in everything rather than readdirRobin Burchell
2019-05-17LibCore: Move AK/ArgsParser to LibCore/CArgsParserRobin Burchell
Also rename the classes to match LibCore naming style. This means that it's no longer incorrectly linked into LibC and Kernel.
2019-05-17ArgsParser: Expand to be able to handle multiple single argumentsRobin Burchell
This is needed for e.g. ln
2019-05-17Userland: Port sysctl to use ArgsParser, and minor cleanupsRobin Burchell
2019-02-22Switch over to building everything with i686-elf-g++.Andreas Kling
2019-01-31Big, possibly complete sweep of naming changes.Andreas Kling
2019-01-18Add a simple /bin/sysctl that wraps the files in /proc/sys.Andreas Kling