Home
last modified time | relevance | path

Searched refs:strndup_user (Results 1 – 15 of 15) sorted by relevance

/Linux-v4.19/security/keys/
Dkeyctl.c84 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()
Ddh.c274 hashname = strndup_user(kdfcopy->hashname, CRYPTO_MAX_ALG_NAME); in __keyctl_dh_compute()
/Linux-v4.19/mm/
Dutil.c204 char *strndup_user(const char __user *s, long n) in strndup_user() function
226 EXPORT_SYMBOL(strndup_user);
/Linux-v4.19/drivers/virt/
Dfsl_hypervisor.c346 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/
Dstring.h12 extern char *strndup_user(const char __user *, long);
/Linux-v4.19/drivers/s390/char/
Dkeyboard.c467 p = strndup_user(u_kbs->kb_string, sizeof(u_kbs->kb_string)); in do_kdgkb_ioctl()
/Linux-v4.19/Documentation/core-api/
Dkernel-api.rst44 vmemdup_user strndup_user memdup_user_nul
/Linux-v4.19/fs/nfs/
Dsuper.c2806 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/
Duinput.c936 phys = strndup_user(p, 1024); in uinput_ioctl_handler()
/Linux-v4.19/drivers/gpu/drm/vc4/
Dvc4_bo.c1085 name = strndup_user(u64_to_user_ptr(args->name), args->len + 1); in vc4_label_bo_ioctl()
/Linux-v4.19/drivers/vfio/
Dvfio.c1562 buf = strndup_user((const char __user *)arg, PAGE_SIZE); in vfio_group_fops_unl_ioctl()
/Linux-v4.19/fs/
Dnamespace.c2691 return data ? strndup_user(data, PAGE_SIZE) : NULL; in copy_mount_string()
/Linux-v4.19/net/core/
Dpktgen.c910 char *tp = strndup_user(user_buffer, copy); in pktgen_if_write()
/Linux-v4.19/kernel/
Dmodule.c3741 mod->args = strndup_user(uargs, ~0UL >> 1); in load_module()
/Linux-v4.19/kernel/events/
Dcore.c9071 filter_str = strndup_user(arg, PAGE_SIZE); in perf_event_set_filter()