Searched refs:sig_info (Results 1 – 9 of 9) sorted by relevance
/external/kmod/libkmod/ |
D | libkmod-signature.c | 107 bool kmod_module_signature_info(const struct kmod_file *file, struct kmod_signature_info *sig_info) in kmod_module_signature_info() argument 137 sig_info->key_id = mem + size; in kmod_module_signature_info() 138 sig_info->key_id_len = modsig->key_id_len; in kmod_module_signature_info() 141 sig_info->signer = mem + size; in kmod_module_signature_info() 142 sig_info->signer_len = modsig->signer_len; in kmod_module_signature_info() 144 sig_info->algo = pkey_algo[modsig->algo]; in kmod_module_signature_info() 145 sig_info->hash_algo = pkey_hash_algo[modsig->hash]; in kmod_module_signature_info() 146 sig_info->id_type = pkey_id_type[modsig->id_type]; in kmod_module_signature_info()
|
D | libkmod-module.c | 2219 struct kmod_signature_info sig_info; in kmod_module_get_info() local 2256 if (kmod_module_signature_info(mod->file, &sig_info)) { in kmod_module_get_info() 2261 sig_info.id_type, strlen(sig_info.id_type)); in kmod_module_get_info() 2267 sig_info.signer, sig_info.signer_len); in kmod_module_get_info() 2272 if (sig_info.key_id_len) { in kmod_module_get_info() 2274 key_hex = malloc(sig_info.key_id_len * 3); in kmod_module_get_info() 2277 for (i = 0; i < (int)sig_info.key_id_len; i++) { in kmod_module_get_info() 2279 (unsigned char)sig_info.key_id[i]); in kmod_module_get_info() 2280 if (i < (int)sig_info.key_id_len - 1) in kmod_module_get_info() 2284 key_hex, sig_info.key_id_len * 3 - 1); in kmod_module_get_info() [all …]
|
D | libkmod-internal.h | 190 bool kmod_module_signature_info(const struct kmod_file *file, struct kmod_signature_info *sig_info)…
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
D | 16-1.c | 48 struct sig_info { struct 54 static struct sig_info sigs[] = { argument 91 struct sig_info *lookup(int signo) in lookup() 93 struct sig_info *s = &sigs[0]; in lookup() 106 struct sig_info *s; in handler() 119 struct sig_info *s = arg; in threaded() 149 int test_sig(struct sig_info *s) in test_sig() 214 struct sig_info *s = &sigs[0]; in main()
|
/external/ltp/testcases/kernel/mem/mtest06/ |
D | mmap2.c | 171 } sig_info[] = { in main() local 232 for (sig_ndx = 0; sig_info[sig_ndx].signum != -1; sig_ndx++) { in main() 233 sigaddset(&sigptr.sa_mask, sig_info[sig_ndx].signum); in main() 234 if (sigaction(sig_info[sig_ndx].signum, &sigptr, in main()
|
D | mmap3.c | 278 } sig_info[] = { in main() local 327 for (sig_ndx = 0; sig_info[sig_ndx].signum != -1; sig_ndx++) { in main() 328 sigaddset(&sigptr.sa_mask, sig_info[sig_ndx].signum); in main() 329 if (sigaction(sig_info[sig_ndx].signum, &sigptr, in main()
|
D | shmat1.c | 405 } sig_info[] = { in main() local 451 for (sig_ndx = 0; sig_info[sig_ndx].signum != -1; sig_ndx++) { in main() 452 sigaddset(&sigptr.sa_mask, sig_info[sig_ndx].signum); in main() 453 if (sigaction(sig_info[sig_ndx].signum, &sigptr, in main()
|
D | mmap1.c | 270 static struct signal_info sig_info[] = { variable 368 for (i = 0; sig_info[i].signum != -1; i++) { in main() 369 if (sigaction(sig_info[i].signum, &sigptr, NULL) == -1) { in main() 373 sig_info[i].signame, errno); in main()
|
/external/ltp/testcases/kernel/mem/mtest05/ |
D | mmstress.c | 816 } sig_info[] = { { in main() local 898 for (sig_ndx = 0; sig_info[sig_ndx].signum != -1; sig_ndx++) { in main() 899 sigaddset(&sigptr.sa_mask, sig_info[sig_ndx].signum); in main() 901 if (sigaction(sig_info[sig_ndx].signum, &sigptr, in main()
|