mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
Base: Document EPERM error in module_load(2) and module_unload(2)
Only the superuser can use these system calls.
This commit is contained in:
parent
4698a10dd1
commit
0c22646e2b
Notes:
sideshowbarker
2024-07-19 10:26:03 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/0c22646e2be
2 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,7 @@ returns -1 and sets `errno` to describe the error.
|
|||
|
||||
## Errors
|
||||
|
||||
* `EPERM`: The calling process does not have superuser permissions.
|
||||
* `EFAULT`: `path` pointed to memory that was not accessible for the caller.
|
||||
* `ENOEXEC`: The specified file could not be parsed as an ELF object.
|
||||
* `ENOENT`: One or more symbols referred to by the module could not be resolved.
|
||||
|
|
|
@ -21,6 +21,7 @@ Otherwise, it returns -1 and sets `errno` to describe the error.
|
|||
|
||||
## Errors
|
||||
|
||||
* `EPERM`: The calling process does not have superuser permissions.
|
||||
* `EFAULT`: `path` pointed to memory that was not accessible for the caller.
|
||||
* `ENOENT`: There was no module loaded with the specified name.
|
||||
|
||||
|
|
Loading…
Reference in a new issue