mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:17:44 +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
2 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,7 @@ returns -1 and sets `errno` to describe the error.
|
||||||
|
|
||||||
## Errors
|
## Errors
|
||||||
|
|
||||||
|
* `EPERM`: The calling process does not have superuser permissions.
|
||||||
* `EFAULT`: `path` pointed to memory that was not accessible for the caller.
|
* `EFAULT`: `path` pointed to memory that was not accessible for the caller.
|
||||||
* `ENOEXEC`: The specified file could not be parsed as an ELF object.
|
* `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.
|
* `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
|
## Errors
|
||||||
|
|
||||||
|
* `EPERM`: The calling process does not have superuser permissions.
|
||||||
* `EFAULT`: `path` pointed to memory that was not accessible for the caller.
|
* `EFAULT`: `path` pointed to memory that was not accessible for the caller.
|
||||||
* `ENOENT`: There was no module loaded with the specified name.
|
* `ENOENT`: There was no module loaded with the specified name.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue