Lines Matching refs:sig_path
411 static int get_signature_size(const char *sig_path)
415 if (stat(sig_path, &st) == -1)
421 static int add_signature_to_xattr(const char *data_path, const char *sig_path)
426 if (sig_path) {
427 fd = open(sig_path, O_RDONLY);
436 /* no sig_path, just write 32 bytes of zeros */
469 char sig_path[PATH_MAX];
481 snprintf(sig_path, PATH_MAX, "%s/sig-file", tmp_dir);
500 ret = get_signature_size(sig_path);
535 ret = add_signature_to_xattr(data_path, sig_path);