mirror of
https://github.com/fluencelabs/musl
synced 2025-06-12 22:41:37 +00:00
add acct, accept4, setns, and dup3 syscalls (linux extensions)
based on patch by Justin Cormack
This commit is contained in:
@ -171,6 +171,7 @@ int daemon(int, int);
|
||||
void setusershell(void);
|
||||
void endusershell(void);
|
||||
char *getusershell(void);
|
||||
int acct(const char *);
|
||||
#endif
|
||||
|
||||
#ifdef _GNU_SOURCE
|
||||
@ -181,6 +182,7 @@ int getresuid(uid_t *, uid_t *, uid_t *);
|
||||
int getresgid(gid_t *, gid_t *, gid_t *);
|
||||
char *get_current_dir_name(void);
|
||||
int pipe2(int [2], int);
|
||||
int dup3(int, int, int);
|
||||
#endif
|
||||
|
||||
#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
|
||||
|
Reference in New Issue
Block a user