Lines Matching defs:path
653 WRAPPER2(FILE *, fopen, const char *path, const char *mode)
659 n = strlen (path);
660 MF_VALIDATE_EXTENT (path, CLAMPADD(n, 1), __MF_CHECK_READ, "fopen path");
665 p = fopen (path, mode);
748 WRAPPER2(FILE *, freopen, const char *path, const char *mode, FILE *s)
754 n = strlen (path);
755 MF_VALIDATE_EXTENT (path, CLAMPADD(n, 1), __MF_CHECK_READ, "freopen path");
763 p = freopen (path, mode, s);
778 WRAPPER2(FILE *, fopen64, const char *path, const char *mode)
784 n = strlen (path);
785 MF_VALIDATE_EXTENT (path, CLAMPADD(n, 1), __MF_CHECK_READ, "fopen64 path");
790 p = fopen64 (path, mode);
806 WRAPPER2(FILE *, freopen64, const char *path, const char *mode, FILE *s)
812 n = strlen (path);
813 MF_VALIDATE_EXTENT (path, CLAMPADD(n, 1), __MF_CHECK_READ, "freopen64 path");
821 p = freopen (path, mode, s);
1123 WRAPPER2(int , access, const char *path, int mode)
1127 n = strlen (path);
1128 MF_VALIDATE_EXTENT (path, CLAMPADD(n, 1), __MF_CHECK_READ, "access path");
1129 return access (path, mode);
1133 WRAPPER2(int , remove, const char *path)
1137 n = strlen (path);
1138 MF_VALIDATE_EXTENT (path, CLAMPADD(n, 1), __MF_CHECK_READ, "remove path");
1139 return remove (path);
1222 WRAPPER2(int , stat, const char *path, struct stat *buf)
1226 n = strlen (path);
1227 MF_VALIDATE_EXTENT (path, CLAMPADD(n, 1), __MF_CHECK_READ, "stat path");
1229 return stat (path, buf);
1234 WRAPPER2(int , stat64, const char *path, struct stat64 *buf)
1238 n = strlen (path);
1239 MF_VALIDATE_EXTENT (path, CLAMPADD(n, 1), __MF_CHECK_READ, "stat64 path");
1241 return stat64 (path, buf);
1254 WRAPPER2(int , lstat, const char *path, struct stat *buf)
1258 n = strlen (path);
1259 MF_VALIDATE_EXTENT (path, CLAMPADD(n, 1), __MF_CHECK_READ, "lstat path");
1261 return lstat (path, buf);
1265 WRAPPER2(int , mkfifo, const char *path, mode_t mode)
1269 n = strlen (path);
1270 MF_VALIDATE_EXTENT (path, CLAMPADD(n, 1), __MF_CHECK_READ, "mkfifo path");
1271 return mkfifo (path, mode);
1276 WRAPPER2(DIR *, opendir, const char *path)
1281 n = strlen (path);
1282 MF_VALIDATE_EXTENT (path, CLAMPADD(n, 1), __MF_CHECK_READ, "opendir path");
1284 p = opendir (path);
1560 MF_VALIDATE_EXTENT (command, CLAMPADD(n, 1), __MF_CHECK_READ, "popen path");
1590 WRAPPER2(int, execve, const char *path, char *const argv [],
1598 n = strlen (path);
1599 MF_VALIDATE_EXTENT (path, CLAMPADD(n, 1), __MF_CHECK_READ, "execve path");
1618 return execve (path, argv, envp);
1622 WRAPPER2(int, execv, const char *path, char *const argv [])
1629 n = strlen (path);
1630 MF_VALIDATE_EXTENT (path, CLAMPADD(n, 1), __MF_CHECK_READ, "execv path");
1640 return execv (path, argv);
1644 WRAPPER2(int, execvp, const char *path, char *const argv [])
1651 n = strlen (path);
1652 MF_VALIDATE_EXTENT (path, CLAMPADD(n, 1), __MF_CHECK_READ, "execvp path");
1662 return execvp (path, argv);
1677 WRAPPER2(void *, dlopen, const char *path, int flags)
1682 n = strlen (path);
1683 MF_VALIDATE_EXTENT (path, CLAMPADD(n, 1), __MF_CHECK_READ, "dlopen path");
1684 p = dlopen (path, flags);