sin-ack
c70f45ff44
Everywhere: Explicitly specify the size in StringView constructors
...
This commit moves the length calculations out to be directly on the
StringView users. This is an important step towards the goal of removing
StringView(char const*), as it moves the responsibility of calculating
the size of the string to the user of the StringView (which will prevent
naive uses causing OOB access).
2022-07-12 23:11:35 +02:00
Idan Horowitz
086969277e
Everywhere: Run clang-format
2022-04-01 21:24:45 +01:00
Andreas Kling
b38f8902d2
LibCore+passwd+usermod: Make Core::Account::sync() return ErrorOr<void>
2021-12-16 22:48:17 +01:00
Andreas Kling
99eaeedf4e
usermod: Use LibCore syscall wrapper for setegid()
2021-12-16 22:48:17 +01:00
Brian Gianforcaro
cf4fa936be
Everywhere: Use default execpromises argument for Core::System::pledge
2021-11-28 08:04:57 +01:00
faxe1008
02a7cfaad6
usermod: Port to LibMain
2021-11-23 22:54:25 +01:00
Andreas Kling
4a2b718ba2
LibCore: Use ErrorOr<T> for Core::File::copy_file()
2021-11-08 00:35:27 +01:00
Brian Gianforcaro
219d4ba376
Utilities: Remove unused header includes
2021-08-01 08:10:16 +02:00
brapru
9b5a1b5036
Utilities: Implement usermod command
...
Previously there was no way to modify existing user accounts.
2021-07-14 08:06:30 +02:00