mirror of
https://github.com/RGBCube/serenity
synced 2025-07-17 05:57:34 +00:00
LibC: Stub out getpass()
This commit is contained in:
parent
c3b09c7242
commit
7c12d66f61
2 changed files with 7 additions and 0 deletions
|
@ -701,4 +701,10 @@ int unveil(const char* path, const char* permissions)
|
||||||
int rc = syscall(SC_unveil, ¶ms);
|
int rc = syscall(SC_unveil, ¶ms);
|
||||||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
char* getpass(const char* prompt)
|
||||||
|
{
|
||||||
|
dbg() << "FIXME: getpass(\"" << prompt << "\")";
|
||||||
|
ASSERT_NOT_REACHED();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -140,6 +140,7 @@ int mount(const char* source, const char* target, const char* fs_type, int flags
|
||||||
int umount(const char* mountpoint);
|
int umount(const char* mountpoint);
|
||||||
int pledge(const char* promises, const char* execpromises);
|
int pledge(const char* promises, const char* execpromises);
|
||||||
int unveil(const char* path, const char* permissions);
|
int unveil(const char* path, const char* permissions);
|
||||||
|
char* getpass(const char* prompt);
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
_PC_NAME_MAX,
|
_PC_NAME_MAX,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue