add acct, accept4, setns, and dup3 syscalls (linux extensions)
based on patch by Justin Cormack
This commit is contained in:
parent
b10d0230c1
commit
6cf8bfdb64
8 changed files with 113 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue