/linux-master/lib/test_fortify/ |
H A D | write_overflow-strncpy-src.c | 3 strncpy(small, large_src, sizeof(small) + 1)
|
H A D | write_overflow-strncpy.c | 3 strncpy(instance.buf, large_src, sizeof(instance.buf) + 1)
|
/linux-master/arch/alpha/lib/ |
H A D | strncpy.S | 3 * arch/alpha/lib/strncpy.S 21 .globl strncpy 22 .ent strncpy 23 strncpy: label 82 .end strncpy 83 EXPORT_SYMBOL(strncpy)
|
/linux-master/arch/powerpc/lib/ |
H A D | string.S | 15 _GLOBAL(strncpy) 33 EXPORT_SYMBOL(strncpy)
|
/linux-master/drivers/acpi/acpica/ |
H A D | tbfind.c | 60 strncpy(header.oem_id, oem_id, ACPI_OEM_ID_SIZE); 61 strncpy(header.oem_table_id, oem_table_id, ACPI_OEM_TABLE_ID_SIZE);
|
H A D | utnonansi.c | 171 strncpy(dest, source, dest_size);
|
/linux-master/tools/perf/arch/x86/util/ |
H A D | header.c | 19 strncpy(&vendor[0], (char *)(&b), 4); 20 strncpy(&vendor[4], (char *)(&d), 4); 21 strncpy(&vendor[8], (char *)(&c), 4);
|
/linux-master/arch/powerpc/boot/ |
H A D | string.h | 7 extern char *strncpy(char *dest, const char *src, size_t n);
|
/linux-master/include/trace/events/ |
H A D | mdio.h | 28 strncpy(__entry->busid, bus->id, MII_BUS_ID_SIZE);
|
/linux-master/tools/leds/ |
H A D | uledmon.c | 34 strncpy(uleds_dev.name, argv[1], LED_MAX_NAME_SIZE);
|
/linux-master/tools/testing/selftests/media_tests/ |
H A D | media_device_open.c | 57 strncpy(media_device, optarg, sizeof(media_device) - 1);
|
H A D | media_device_test.c | 62 strncpy(media_device, optarg, sizeof(media_device) - 1);
|
/linux-master/arch/mips/loongson2ef/common/ |
H A D | machtype.c | 51 strncpy(str, p, MACHTYPE_LEN);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | skc_to_unix_sock.c | 37 strncpy(sockaddr.sun_path, sock_path, strlen(sock_path));
|
H A D | queue_stack_map.c | 31 strncpy(file, "./test_queue_map.bpf.o", sizeof(file)); 33 strncpy(file, "./test_stack_map.bpf.o", sizeof(file));
|
/linux-master/arch/m68k/include/asm/ |
H A D | string.h | 25 static inline char *strncpy(char *dest, const char *src, size_t n) function
|
/linux-master/drivers/staging/greybus/Documentation/firmware/ |
H A D | firmware.c | 66 strncpy((char *)&intf_load.firmware_tag, firmware_tag, 104 strncpy((char *)&backend_fw_info.firmware_tag, firmware_tag, 132 strncpy((char *)&backend_update.firmware_tag, firmware_tag,
|
/linux-master/arch/x86/lib/ |
H A D | string_32.c | 34 char *strncpy(char *dest, const char *src, size_t count) function 50 EXPORT_SYMBOL(strncpy); variable
|
/linux-master/drivers/misc/lkdtm/ |
H A D | fortify.c | 28 strncpy(target[0].a, target[1].a, size); 33 pr_err("FAIL: fortify did not block a strncpy() object write overflow!\n"); 50 pr_info("trying to strncpy() past the end of a struct member...\n"); 53 * strncpy(target.a, src, 20); will hit a compile error because the 57 strncpy(target.a, src, size); 62 pr_err("FAIL: fortify did not block a strncpy() struct member write overflow!\n"); 118 * strncpy(target.a, src, 20); will hit a compile error because the
|
/linux-master/fs/orangefs/ |
H A D | namei.c | 44 strncpy(new_op->upcall.req.create.d_name, 140 strncpy(new_op->upcall.req.lookup.d_name, dentry->d_name.name, 195 strncpy(new_op->upcall.req.remove.d_name, dentry->d_name.name, 250 strncpy(new_op->upcall.req.sym.entry_name, 253 strncpy(new_op->upcall.req.sym.target, symname, ORANGEFS_NAME_MAX - 1); 327 strncpy(new_op->upcall.req.mkdir.d_name, 408 strncpy(new_op->upcall.req.rename.d_old_name, 411 strncpy(new_op->upcall.req.rename.d_new_name,
|
/linux-master/arch/alpha/include/asm/ |
H A D | string.h | 51 extern char * strncpy(char *, const char *, size_t);
|
/linux-master/security/keys/encrypted-keys/ |
H A D | ecryptfs_format.c | 57 strncpy((char *)auth_tok->token.password.signature, key_desc,
|
/linux-master/tools/lib/api/fs/ |
H A D | cgroup.c | 98 strncpy(cached->subsys, subsys, sizeof(cached->subsys) - 1);
|
/linux-master/arch/m68k/kernel/ |
H A D | uboot.c | 77 strncpy(commandp, (const char *)uboot_cmd_start, size);
|
/linux-master/tools/power/cpupower/bench/ |
H A D | parse.c | 135 strncpy(config->governor, "ondemand", sizeof(config->governor)); 211 strncpy(config->governor, val,
|