Searched refs:strndup_user (Results 1 – 15 of 15) sorted by relevance
/Linux-v4.19/security/keys/ |
D | keyctl.c | 84 description = strndup_user(_description, KEY_MAX_DESC_SIZE); in SYSCALL_DEFINE5() 176 description = strndup_user(_description, KEY_MAX_DESC_SIZE); in SYSCALL_DEFINE4() 186 callout_info = strndup_user(_callout_info, PAGE_SIZE); in SYSCALL_DEFINE4() 287 name = strndup_user(_name, KEY_MAX_DESC_SIZE); in keyctl_join_session_keyring() 675 description = strndup_user(_description, KEY_MAX_DESC_SIZE); in keyctl_keyring_search() 1617 restriction = strndup_user(_restriction, PAGE_SIZE); in keyctl_restrict_keyring()
|
D | dh.c | 274 hashname = strndup_user(kdfcopy->hashname, CRYPTO_MAX_ALG_NAME); in __keyctl_dh_compute()
|
/Linux-v4.19/mm/ |
D | util.c | 204 char *strndup_user(const char __user *s, long n) in strndup_user() function 226 EXPORT_SYMBOL(strndup_user);
|
/Linux-v4.19/drivers/virt/ |
D | fsl_hypervisor.c | 346 path = strndup_user(upath, FH_DTPROP_MAX_PATHLEN); in ioctl_dtprop() 352 propname = strndup_user(upropname, FH_DTPROP_MAX_PATHLEN); in ioctl_dtprop()
|
/Linux-v4.19/include/linux/ |
D | string.h | 12 extern char *strndup_user(const char __user *, long);
|
/Linux-v4.19/drivers/s390/char/ |
D | keyboard.c | 467 p = strndup_user(u_kbs->kb_string, sizeof(u_kbs->kb_string)); in do_kdgkb_ioctl()
|
/Linux-v4.19/Documentation/core-api/ |
D | kernel-api.rst | 44 vmemdup_user strndup_user memdup_user_nul
|
/Linux-v4.19/fs/nfs/ |
D | super.c | 2806 c = strndup_user(data->hostname.data, NFS4_MAXNAMLEN); in nfs4_validate_mount_data() 2811 c = strndup_user(data->mnt_path.data, NFS4_MAXPATHLEN); in nfs4_validate_mount_data() 2817 c = strndup_user(data->client_addr.data, 16); in nfs4_validate_mount_data()
|
/Linux-v4.19/drivers/input/misc/ |
D | uinput.c | 936 phys = strndup_user(p, 1024); in uinput_ioctl_handler()
|
/Linux-v4.19/drivers/gpu/drm/vc4/ |
D | vc4_bo.c | 1085 name = strndup_user(u64_to_user_ptr(args->name), args->len + 1); in vc4_label_bo_ioctl()
|
/Linux-v4.19/drivers/vfio/ |
D | vfio.c | 1562 buf = strndup_user((const char __user *)arg, PAGE_SIZE); in vfio_group_fops_unl_ioctl()
|
/Linux-v4.19/fs/ |
D | namespace.c | 2691 return data ? strndup_user(data, PAGE_SIZE) : NULL; in copy_mount_string()
|
/Linux-v4.19/net/core/ |
D | pktgen.c | 910 char *tp = strndup_user(user_buffer, copy); in pktgen_if_write()
|
/Linux-v4.19/kernel/ |
D | module.c | 3741 mod->args = strndup_user(uargs, ~0UL >> 1); in load_module()
|
/Linux-v4.19/kernel/events/ |
D | core.c | 9071 filter_str = strndup_user(arg, PAGE_SIZE); in perf_event_set_filter()
|