Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
This resolves #10641.
|
|
We create a base class called GenericFramebufferDevice, which defines
all the virtual functions that must be implemented by a
FramebufferDevice. Then, we make the VirtIO FramebufferDevice and other
FramebufferDevice implementations inherit from it.
The most important consequence of rearranging the classes is that we now
have one IOCTL method, so all drivers should be committed to not
override the IOCTL method or make their own IOCTLs of FramebufferDevice.
All graphical IOCTLs are known to all FramebufferDevices, and it's up to
the specific implementation whether to support them or discard them (so
we require extensive usage of KResult and KResultOr, together with
virtual characteristic functions).
As a result, the interface is much cleaner and understandable to read.
|
|
|
|
This will allow us to trigger bytecode executable dumps when generating
bytecode inside LibJS as well, not just in clients like js and test-js.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This makes all pages look and feel the same, because they all use the
default CSS generated by pandoc. Also, it inserts the banner everywhere
at the top, not only into the top-level index.html.
Credit to @xSlendiX for suggesting that `-B` works here.
|
|
Use the new LibDeviceTree to dump the contents of the device tree blob
(Flattened Device Tree) file passed on the command line.
|
|
The Shutdown Dialog needs it.
Related: a36d13e36c707635b2b0b6727d542b92e609277a
|
|
Furthermore, this simplifies the control flow.
|
|
It now shows some useful at-a-glance information about ELF files, like
it does on other *nix systems.
|
|
These were originally in `readelf`, but they became useful in
`file` as well, so they are now available in Elf::Image with a slightly
revised API.
|
|
This method will eventually be removed once all native functions are
converted to ThrowCompletionOr
|
|
The old versions were renamed to JS_DECLARE_OLD_NATIVE_FUNCTION and
JS_DEFINE_OLD_NATIVE_FUNCTION, and will be eventually removed once all
native functions were converted to the new format.
|
|
This matches the API of Account::authenticate. The only caller to this
API is the passwd utility, which already has the new password stored as
a SecretString.
|
|
|
|
logout kills the session that SystemServer --user was started with.
|
|
|
|
Since Core::File does not handle streaming input properly (see #5093
and #4198), we use the LibC APIs instead.
|
|
Since Core::File does not handle streaming input properly (see #5093
and #4198), we use the LibC APIs instead.
|
|
|
|
The `-w` option is enforced when setting variables.
|
|
|
|
|
|
|
|
Also update get_function_name() to use ThrowCompletionOr, but this is
not a standard AO and should be refactored out of existence eventually.
|
|
By default strace outputs all system calls the monitored process
invokes, but it's sometimes useful to either exclude some calls, or to
include only some others.
This commit adds two new command line options to specify two
exclusion/inclusion command-delimited lists of system calls. These are
then used to decide if an intercepted system call should be displayed in
the output or not.
|
|
|
|
All these take no arguments so there's no formatting to be done.
|
|
|
|
This is useful in general, but adding it is what finally helped
uncovering #10438.
|
|
I can't write these manpages ad-hoc, and in most cases I don't want to
remove the link because it is justified. The hope is that with this
FIXME in place, there is more motivation to write these manpages for
someone who knows enough about them. Or at least we will introduce fewer
dead links in the future, making Help more useful.
|
|
|
|
Found By PVS-Studio
|
|
|
|
This new utility queries a block device for its size via the newly
introduced ioctl STORAGE_DEVICE_GET_SIZE request.
|
|
|
|
These are exit, realpath and getrandom. This required a bit of extra
infrastructure to deal with exit's void return type.
|
|
These include mmap, munmap, mprotect and mmap_set_name.
|
|
The formatting of these functions is not complete, but gives already
very good information to the user.
|
|
This commit introduces the main infrastructure used for turning register
values into user-facing values that can be printed by strace. This
includes the ability to copy data from a particular memory address in
the traced process. On top of this, (partial) formatting has been added
for the most common I/O operations (open, read, write, lseek, close,
stat, fstat).
|