Since parsers for setdomainname and sethostname syscalls are identical,
replace sys_setdomainname with an alias to sys_sethostname.
* linux/dummy.h (sys_setdomainname): Alias to sys_sethostname.
* linux/syscall.h (sys_setdomainname): Remove.
* process.c (sys_setdomainname): Remove.
#define sys_rmdir sys_chdir
#define sys_sched_get_priority_max sys_sched_get_priority_min
#define sys_set_robust_list sys_munmap
+#define sys_setdomainname sys_sethostname
#define sys_setfsgid sys_setfsuid
#define sys_setgid sys_setuid
#define sys_setregid sys_setreuid
int sys_sendto();
int sys_set_mempolicy();
int sys_set_thread_area();
-int sys_setdomainname();
int sys_setfsuid();
int sys_setgroups();
int sys_setgroups32();
}
#endif
-int
-sys_setdomainname(struct tcb *tcp)
-{
- if (entering(tcp)) {
- printstr(tcp, tcp->u_arg[0], tcp->u_arg[1]);
- tprintf(", %lu", tcp->u_arg[1]);
- }
- return 0;
-}
-
int
sys_exit(struct tcb *tcp)
{