Virtual machine Management Terminal User Interface
Revision | 1df0b40ea33888dfe64a4a0e8e4c98f2a1f09e2e (tree) |
---|---|
Time | 2023-03-18 11:18:55 |
Author | ![]() |
Commiter | Koine Yuusuke(koinec) |
WorkBackup
@@ -37,19 +37,10 @@ int | ||
37 | 37 | int i_fd; |
38 | 38 | pid_t t_pid; |
39 | 39 | extern char **environ; |
40 | - sigset_t t_sig; | |
41 | - | |
42 | - sigemptyset( &t_sig ); | |
43 | - sigaddset( &t_sig, SIGCHLD ); | |
44 | - pthread_sigmask( SIG_BLOCK, &t_sig, NULL ); | |
45 | 40 | |
46 | 41 | t_pid = fork(); |
47 | 42 | if( 0 != t_pid ) { |
48 | 43 | // Parent proc. => return function. |
49 | - sigemptyset( &t_sig ); | |
50 | - sigaddset( &t_sig, SIGCHLD ); | |
51 | - pthread_sigmask( SIG_UNBLOCK, &t_sig, NULL ); | |
52 | - | |
53 | 44 | return 0x00; |
54 | 45 | } |
55 | 46 |
@@ -241,8 +232,8 @@ int | ||
241 | 232 | gt_local_sudo.b_flag = LOCALEXEC_SUDO_FLAG_NONE; |
242 | 233 | gt_local_sudo.t_sudo.str_password[0] = '\0'; |
243 | 234 | gt_local_sudo.t_sudo.str_option[0] = '\0'; |
244 | - gt_local_sudo.t_cmd.sz_len = 0; | |
245 | - gt_local_sudo.t_cmd.str_cmdline[0] = '\0'; | |
235 | + //gt_local_sudo.t_cmd.sz_len = 0; | |
236 | + //gt_local_sudo.t_cmd.str_cmdline[0] = '\0'; | |
246 | 237 | |
247 | 238 | plt_kvm = kvm_openfiles( |
248 | 239 | NULL, // Use Default Kernel |
@@ -55,7 +55,7 @@ VMTUI_LOCALEXEC_EXTERN struct { | ||
55 | 55 | #define LOCALEXEC_SUDO_FLAG_USEPASSWORD 0x02 |
56 | 56 | |
57 | 57 | SuDo_Info t_sudo; |
58 | - SuDoCmd_Info t_cmd; | |
58 | + //SuDoCmd_Info t_cmd; | |
59 | 59 | } gt_local_sudo; |
60 | 60 | |
61 | 61 | VMTUI_LOCALEXEC_EXTERN struct { |