File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ struct subprocess_info {
22
22
const char * path ;
23
23
char * * argv ;
24
24
char * * envp ;
25
- struct file * file ;
26
25
int wait ;
27
26
int retval ;
28
27
int (* init )(struct subprocess_info * info , struct cred * new );
Original file line number Diff line number Diff line change @@ -98,13 +98,9 @@ static int call_usermodehelper_exec_async(void *data)
98
98
99
99
commit_creds (new );
100
100
101
- if (sub_info -> file )
102
- retval = do_execve_file (sub_info -> file ,
103
- sub_info -> argv , sub_info -> envp );
104
- else
105
- retval = do_execve (getname_kernel (sub_info -> path ),
106
- (const char __user * const __user * )sub_info -> argv ,
107
- (const char __user * const __user * )sub_info -> envp );
101
+ retval = do_execve (getname_kernel (sub_info -> path ),
102
+ (const char __user * const __user * )sub_info -> argv ,
103
+ (const char __user * const __user * )sub_info -> envp );
108
104
out :
109
105
sub_info -> retval = retval ;
110
106
/*
You can’t perform that action at this time.
0 commit comments