move and deduplicate declarations of __procfdname to make it checkable
syscall.h was chosen as the header to declare it, since its intended usage is alongside syscalls as a fallback for operations the direct syscall does not support.
This commit is contained in:
1 parent
c221d3e586
commit
6fcd60ddd9
10 files changed
+5
-16
No files matched your search
@@ -4,8 +4,6 @@
|
||||
#include <fcntl.h>
|
||||
#include "syscall.h"
|
||||
|
||||
void __procfdname(char *, unsigned);
|
||||
|
||||
int fexecve(int fd, char *const argv[], char *const envp[])
|
||||
{
|
||||
int r = __syscall(SYS_execveat, fd, "", argv, envp, AT_EMPTY_PATH);
|
||||
|
||||
Reference in new issue
Block a user