Home
last modified time | relevance | path

Searched refs:fp_type (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/security/mac_veriexec_parser/
H A Dmac_veriexec_parser.c48 const char *fp_type; member
143 char *fp_type; in get_fp() local
149 fp_type = NULL; in get_fp()
152 for (i = 0; fp_table[i].fp_type != NULL; i++) { in get_fp()
153 fp_type = strstr(entry, fp_table[i].fp_type); in get_fp()
155 while (fp_type != NULL) { in get_fp()
156 prev_fp_type = fp_type; in get_fp()
157 fp_type++; in get_fp()
158 fp_type = strstr(fp_type, fp_table[i].fp_type); in get_fp()
160 fp_type = prev_fp_type; in get_fp()
[all …]
/freebsd/sbin/veriexec/
H A Dmanifest_parser.y42 static int get_fingerprint_type(const char *fp_type);
66 const char *fp_type; member
127 strlcpy(params->fp_type, $1, sizeof(params->fp_type));
199 params->fp_type[0] = '\0'; /* invalidate it */
207 params->fp_type[0] = '\0'; /* invalidate it */
211 get_fingerprint_type(const char *fp_type) in get_fingerprint_type() argument
215 for (i = 0; fingerprint_table[i].fp_type; i++) in get_fingerprint_type()
216 if (!strcmp(fp_type, fingerprint_table[i].fp_type)) in get_fingerprint_type()
263 if (params->fp_type[0] == '\0') { in do_ioctl()
285 params->fp_type, in do_ioctl()
[all …]
/freebsd/sys/dev/veriexec/
H A Dveriexec_ioctl.h41 char fp_type[VERIEXEC_FPTYPELEN]; /* type of fingerprint */ member
48 char fp_type[VERIEXEC_FPTYPELEN]; /* type of fingerprint */ member
H A Dverified_exec.c252 params->flags, params->fp_type, override); in verifiedexecioctl()
/freebsd/sys/security/mac_veriexec/
H A Dmac_veriexec.h79 char fp_type[VERIEXEC_FPTYPELEN]; member
179 char *label, size_t labellen, int flags, const char *fp_type,
H A Dmac_veriexec.c808 char fp_type[VERIEXEC_FPTYPELEN]; member
985 strlcpy(result32.fp_type, ip->ops->type, sizeof(result32.fp_type)); in mac_veriexec_syscall()
1000 strlcpy(result.fp_type, ip->ops->type, sizeof(result.fp_type)); in mac_veriexec_syscall()
H A Dveriexec_metadata.c637 char *label, size_t labellen, int flags, const char *fp_type, int override) in mac_veriexec_metadata_add_file() argument
657 fpops = mac_veriexec_fingerprint_lookup_ops(fp_type); in mac_veriexec_metadata_add_file()
752 printf("Stored %s fingerprint:\n", fp_type); in mac_veriexec_metadata_add_file()
/freebsd/lib/libveriexec/
H A Dveriexec_get.c335 argv[optind], params.fp_type, (unsigned)params.flags, in main()
337 hash2hex(params.fp_type, params.fingerprint)); in main()