Source
198
198
if (retval < 0)
199
199
goto error;
200
200
bprm->argc++;
201
201
202
202
/* Update interp in case binfmt_script needs it. */
203
203
retval = bprm_change_interp(fmt->interpreter, bprm);
204
204
if (retval < 0)
205
205
goto error;
206
206
207
207
if (fmt->flags & MISC_FMT_OPEN_FILE) {
208
-
interp_file = filp_clone_open(fmt->interp_file);
208
+
interp_file = file_clone_open(fmt->interp_file);
209
209
if (!IS_ERR(interp_file))
210
210
deny_write_access(interp_file);
211
211
} else {
212
212
interp_file = open_exec(fmt->interpreter);
213
213
}
214
214
retval = PTR_ERR(interp_file);
215
215
if (IS_ERR(interp_file))
216
216
goto error;
217
217
218
218
bprm->file = interp_file;