Searched defs:realpath (Results 1 - 2 of 2) sorted by relevance

/security/tomoyo/
H A Daudit.c247 char *realpath = NULL; local
258 realpath = tomoyo_realpath_from_path(&file->f_path);
260 if (!realpath || !bprm_info)
262 /* +80 is for " exec={ realpath=\"%s\" argc=%d envc=%d %s }" */
263 len += strlen(realpath) + 80 + strlen(bprm_info);
275 if (realpath) {
278 " exec={ realpath=\"%s\" argc=%d envc=%d %s }",
279 realpath, bprm->argc, bprm->envc, bprm_info);
286 kfree(realpath);
H A Dcommon.c104 [TOMOYO_EXEC_REALPATH] = "exec.realpath",
1939 char *realpath = NULL; local
1958 realpath = strstr(header, " exec={ realpath=\"");
1959 if (realpath) {
1960 realpath += 8;
1961 len += tomoyo_truncate(realpath) + 6;
1971 if (realpath)
1972 tomoyo_addprintf(buffer, len, " exec.%s", realpath);

Completed in 39 milliseconds