aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/os-Linux/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/os-Linux/main.c')
-rw-r--r--arch/um/os-Linux/main.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/um/os-Linux/main.c b/arch/um/os-Linux/main.c
index 98becd18f211..2878e89a674f 100644
--- a/arch/um/os-Linux/main.c
+++ b/arch/um/os-Linux/main.c
@@ -81,20 +81,8 @@ extern void scan_elf_aux( char **envp);
81int main(int argc, char **argv, char **envp) 81int main(int argc, char **argv, char **envp)
82{ 82{
83 char **new_argv; 83 char **new_argv;
84 sigset_t mask;
85 int ret, i, err; 84 int ret, i, err;
86 85
87 /* Enable all signals except SIGIO - in some environments, we can
88 * enter with some signals blocked
89 */
90
91 sigemptyset(&mask);
92 sigaddset(&mask, SIGIO);
93 if(sigprocmask(SIG_SETMASK, &mask, NULL) < 0){
94 perror("sigprocmask");
95 exit(1);
96 }
97
98#ifdef UML_CONFIG_CMDLINE_ON_HOST 86#ifdef UML_CONFIG_CMDLINE_ON_HOST
99 /* Allocate memory for thread command lines */ 87 /* Allocate memory for thread command lines */
100 if(argc < 2 || strlen(argv[1]) < THREAD_NAME_LEN - 1){ 88 if(argc < 2 || strlen(argv[1]) < THREAD_NAME_LEN - 1){