Lines Matching refs:interp
1509 /* If a binfmt changed the interp, free it. */
1510 if (bprm->interp != bprm->filename)
1511 kfree(bprm->interp);
1536 bprm->interp = bprm->filename;
1549 int bprm_change_interp(const char *interp, struct linux_binprm *bprm)
1551 /* If a binfmt changed the interp, free it first. */
1552 if (bprm->interp != bprm->filename)
1553 kfree(bprm->interp);
1554 bprm->interp = kstrdup(interp, GFP_KERNEL);
1555 if (!bprm->interp)