mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 22:07:36 +00:00
LibC: Add chroot() stub
Expected behavior left as a FIXME is described here: https://pubs.opengroup.org/onlinepubs/7908799/xsh/chroot.html It is marked as LEGACY but still used in projects such as PHP.
This commit is contained in:
parent
6f4fbd59d9
commit
a6539cc031
2 changed files with 7 additions and 0 deletions
|
@ -114,6 +114,7 @@ int pledge(const char* promises, const char* execpromises);
|
|||
int unveil(const char* path, const char* permissions);
|
||||
char* getpass(const char* prompt);
|
||||
int pause();
|
||||
int chroot(const char*);
|
||||
|
||||
enum {
|
||||
_PC_NAME_MAX,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue