Compress blank lines
Suppress repeated empty lines left after automated code removal. This change was made by filtering every source code file through "cat -s".
This commit is contained in:
28
process.c
28
process.c
@@ -49,7 +49,6 @@
|
||||
#include <sys/syscall.h>
|
||||
#include <signal.h>
|
||||
|
||||
|
||||
#ifdef HAVE_SYS_REG_H
|
||||
# include <sys/reg.h>
|
||||
# ifndef PTRACE_PEEKUSR
|
||||
@@ -239,7 +238,6 @@ static const struct xlat prctl_options[] = {
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
|
||||
static const char *
|
||||
unalignctl_string(unsigned int ctl)
|
||||
{
|
||||
@@ -261,7 +259,6 @@ unalignctl_string(unsigned int ctl)
|
||||
return buf;
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
sys_prctl(struct tcb *tcp)
|
||||
{
|
||||
@@ -349,7 +346,6 @@ sys_prctl(struct tcb *tcp)
|
||||
}
|
||||
#endif /* HAVE_PRCTL */
|
||||
|
||||
|
||||
int
|
||||
sys_sethostname(struct tcb *tcp)
|
||||
{
|
||||
@@ -385,7 +381,6 @@ sys_setdomainname(struct tcb *tcp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
sys_exit(struct tcb *tcp)
|
||||
{
|
||||
@@ -401,8 +396,6 @@ sys_exit(struct tcb *tcp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* defines copied from linux/sched.h since we can't include that
|
||||
* ourselves (it conflicts with *lots* of libc includes)
|
||||
*/
|
||||
@@ -666,7 +659,6 @@ change_syscall(struct tcb *tcp, int new)
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
internal_fork(struct tcb *tcp)
|
||||
{
|
||||
@@ -695,9 +687,6 @@ internal_fork(struct tcb *tcp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
int
|
||||
sys_vfork(struct tcb *tcp)
|
||||
{
|
||||
@@ -706,9 +695,6 @@ sys_vfork(struct tcb *tcp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
int sys_getuid(struct tcb *tcp)
|
||||
{
|
||||
if (exiting(tcp))
|
||||
@@ -795,7 +781,6 @@ sys_getresgid(struct tcb *tcp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
sys_setreuid(struct tcb *tcp)
|
||||
{
|
||||
@@ -837,7 +822,6 @@ sys_setresgid(struct tcb *tcp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
sys_setgroups(struct tcb *tcp)
|
||||
{
|
||||
@@ -1121,8 +1105,6 @@ sys_setpgid(struct tcb *tcp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
static void
|
||||
printargv(struct tcb *tcp, long addr)
|
||||
{
|
||||
@@ -1208,7 +1190,6 @@ sys_execve(struct tcb *tcp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
#if defined(TCB_WAITEXECVE)
|
||||
int
|
||||
internal_exec(struct tcb *tcp)
|
||||
@@ -1276,7 +1257,6 @@ static const struct xlat wait4_options[] = {
|
||||
# define WCOREDUMP(status) ((status) & 0200)
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef W_STOPCODE
|
||||
#define W_STOPCODE(sig) ((sig) << 8 | 0x7f)
|
||||
#endif
|
||||
@@ -1371,8 +1351,6 @@ printwaitn(struct tcb *tcp, int n, int bitness)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
int
|
||||
sys_waitpid(struct tcb *tcp)
|
||||
{
|
||||
@@ -1393,7 +1371,6 @@ sys_osf_wait4(struct tcb *tcp)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
static const struct xlat waitid_types[] = {
|
||||
{ P_PID, "P_PID" },
|
||||
#ifdef P_PPID
|
||||
@@ -1455,7 +1432,6 @@ sys_waitid(struct tcb *tcp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
sys_alarm(struct tcb *tcp)
|
||||
{
|
||||
@@ -1493,7 +1469,6 @@ sys_uname(struct tcb *tcp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
static const struct xlat ptrace_cmds[] = {
|
||||
{ PTRACE_TRACEME, "PTRACE_TRACEME" },
|
||||
{ PTRACE_PEEKTEXT, "PTRACE_PEEKTEXT" },
|
||||
@@ -2463,7 +2438,6 @@ const struct xlat struct_user_offsets[] = {
|
||||
# endif
|
||||
# endif /* !defined(many arches) */
|
||||
|
||||
|
||||
# ifndef HPPA
|
||||
{ sizeof(struct user), "sizeof(struct user)" },
|
||||
# endif
|
||||
@@ -2570,7 +2544,6 @@ sys_ptrace(struct tcb *tcp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
# ifndef FUTEX_CMP_REQUEUE
|
||||
# define FUTEX_CMP_REQUEUE 4
|
||||
# endif
|
||||
@@ -2868,7 +2841,6 @@ sys_arch_prctl(struct tcb *tcp)
|
||||
}
|
||||
# endif /* X86_64 */
|
||||
|
||||
|
||||
int
|
||||
sys_getcpu(struct tcb *tcp)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user