Home
last modified time | relevance | path

Searched refs:user (Results 1 – 25 of 38) sorted by relevance

12

/fs/ncpfs/
Dioctl.c162 struct ncp_nls_ioctl user; in ncp_set_charsets() local
170 if (copy_from_user(&user, arg, sizeof(user))) in ncp_set_charsets()
174 user.codepage[NCP_IOCSNAME_LEN] = 0; in ncp_set_charsets()
175 if (!user.codepage[0] || !strcmp(user.codepage, "default")) in ncp_set_charsets()
178 codepage = load_nls(user.codepage); in ncp_set_charsets()
185 user.iocharset[NCP_IOCSNAME_LEN] = 0; in ncp_set_charsets()
186 if (!user.iocharset[0] || !strcmp(user.iocharset, "default")) { in ncp_set_charsets()
189 } else if (!strcmp(user.iocharset, "utf8")) { in ncp_set_charsets()
193 iocharset = load_nls(user.iocharset); in ncp_set_charsets()
227 struct ncp_nls_ioctl user; in ncp_get_charsets() local
[all …]
/fs/
Dioprio.c66 struct user_struct *user; in SYSCALL_DEFINE3() local
118 user = current_user(); in SYSCALL_DEFINE3()
120 user = find_user(uid); in SYSCALL_DEFINE3()
122 if (!user) in SYSCALL_DEFINE3()
134 free_uid(user); in SYSCALL_DEFINE3()
181 struct user_struct *user; in SYSCALL_DEFINE2() local
215 user = current_user(); in SYSCALL_DEFINE2()
217 user = find_user(uid); in SYSCALL_DEFINE2()
219 if (!user) in SYSCALL_DEFINE2()
223 if (!uid_eq(task_uid(p), user->uid)) in SYSCALL_DEFINE2()
[all …]
Ddcookies.c312 struct dcookie_user * user; in dcookie_register() local
316 user = kmalloc(sizeof(struct dcookie_user), GFP_KERNEL); in dcookie_register()
317 if (!user) in dcookie_register()
323 list_add(&user->next, &dcookie_users); in dcookie_register()
327 return user; in dcookie_register()
329 kfree(user); in dcookie_register()
330 user = NULL; in dcookie_register()
335 void dcookie_unregister(struct dcookie_user * user) in dcookie_unregister() argument
339 list_del(&user->next); in dcookie_unregister()
340 kfree(user); in dcookie_unregister()
Dopen.c536 static int chown_common(struct path *path, uid_t user, gid_t group) in chown_common() argument
544 uid = make_kuid(current_user_ns(), user); in chown_common()
548 if (user != (uid_t) -1) { in chown_common()
572 SYSCALL_DEFINE5(fchownat, int, dfd, const char __user *, filename, uid_t, user, in SYSCALL_DEFINE5() argument
592 error = chown_common(&path, user, group); in SYSCALL_DEFINE5()
604 SYSCALL_DEFINE3(chown, const char __user *, filename, uid_t, user, gid_t, group) in SYSCALL_DEFINE3() argument
606 return sys_fchownat(AT_FDCWD, filename, user, group, 0); in SYSCALL_DEFINE3()
609 SYSCALL_DEFINE3(lchown, const char __user *, filename, uid_t, user, gid_t, group) in SYSCALL_DEFINE3() argument
611 return sys_fchownat(AT_FDCWD, filename, user, group, in SYSCALL_DEFINE3()
615 SYSCALL_DEFINE3(fchown, unsigned int, fd, uid_t, user, gid_t, group) in SYSCALL_DEFINE3() argument
[all …]
Deventpoll.c211 struct user_struct *user; member
712 atomic_long_dec(&ep->user->epoll_watches); in ep_remove()
762 free_uid(ep->user); in ep_free()
909 struct user_struct *user; in ep_alloc() local
912 user = get_current_user(); in ep_alloc()
925 ep->user = user; in ep_alloc()
932 free_uid(user); in ep_alloc()
1241 user_watches = atomic_long_read(&ep->user->epoll_watches); in ep_insert()
1319 atomic_long_inc(&ep->user->epoll_watches); in ep_insert()
Daio.c263 res->obj = (u64)(unsigned long)kiocb->ki_obj.user; in kiocb_cancel()
640 event->obj = (u64)(unsigned long)iocb->ki_obj.user; in aio_complete()
649 ctx, tail, iocb, iocb->ki_obj.user, iocb->ki_user_data, in aio_complete()
1133 req->ki_obj.user = user_iocb; in io_submit_one()
1241 if (kiocb->ki_obj.user == iocb) in lookup_kiocb()
/fs/proc/
Dstat.c84 u64 user, nice, system, idle, iowait, irq, softirq, steal; in show_stat() local
91 user = nice = system = idle = iowait = in show_stat()
98 user += kcpustat_cpu(i).cpustat[CPUTIME_USER]; in show_stat()
121 seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(user)); in show_stat()
135 user = kcpustat_cpu(i).cpustat[CPUTIME_USER]; in show_stat()
146 seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(user)); in show_stat()
/fs/notify/fanotify/
Dfanotify.c222 struct user_struct *user; in fanotify_free_group_priv() local
224 user = group->fanotify_data.user; in fanotify_free_group_priv()
225 atomic_dec(&user->fanotify_listeners); in fanotify_free_group_priv()
226 free_uid(user); in fanotify_free_group_priv()
Dfanotify_user.c675 struct user_struct *user; in SYSCALL_DEFINE2() local
686 user = get_current_user(); in SYSCALL_DEFINE2()
687 if (atomic_read(&user->fanotify_listeners) > FANOTIFY_DEFAULT_MAX_LISTENERS) { in SYSCALL_DEFINE2()
688 free_uid(user); in SYSCALL_DEFINE2()
701 free_uid(user); in SYSCALL_DEFINE2()
705 group->fanotify_data.user = user; in SYSCALL_DEFINE2()
706 atomic_inc(&user->fanotify_listeners); in SYSCALL_DEFINE2()
/fs/cifs/
DREADME70 domain to the proper network user. The mount.cifs mount helper can be
89 2) an entry for the share in /etc/fstab indicating that a user may
91 //server/usersharename /mnt/username cifs user 0 0
93 Note that when the mount.cifs utility is run suid (allowing user mounts),
99 by simply specifying "nosuid" among the mount options. For user mounts
110 To permit users to ummount directories that they have user mounted (see above),
115 helper). As with mount.cifs, to enable user unmounts umount.cifs must be marked
119 must be a cifs mount, and the uid of the current user must match the uid
120 of the user who mounted the resource.
122 Also note that the customary way of allowing user mounts and unmounts is
[all …]
Dcifsencrypt.c417 wchar_t *user; in calc_ntlmv2_hash() local
444 user = kmalloc(2 + (len * 2), GFP_KERNEL); in calc_ntlmv2_hash()
445 if (user == NULL) { in calc_ntlmv2_hash()
451 len = cifs_strtoUTF16((__le16 *)user, ses->user_name, len, nls_cp); in calc_ntlmv2_hash()
452 UniStrupr(user); in calc_ntlmv2_hash()
454 memset(user, '\0', 2); in calc_ntlmv2_hash()
458 (char *)user, 2 * len); in calc_ntlmv2_hash()
459 kfree(user); in calc_ntlmv2_hash()
DKconfig26 support for DFS (hierarchical name space), secure per-user
97 extended attributes beginning with the user namespace prefix
99 user namespace prefix, but their names are seen by Linux cifs clients
100 prefaced by the user namespace prefix. The system namespace
/fs/exofs/
DKconfig.ore4 # for every ORE user we do it like this. Any user should add itself here
/fs/coda/
DKconfig14 *client*. You will need user level code as well, both for the
15 client and server. Servers are currently user level, i.e. they need
/fs/autofs4/
DKconfig7 automounter (amd), which is a pure user space daemon.
9 To use the automounter you need the user-space tools from
Ddev-ioctl.c602 static int _autofs_dev_ioctl(unsigned int command, struct autofs_dev_ioctl __user *user) in _autofs_dev_ioctl() argument
624 param = copy_dev_ioctl(user); in _autofs_dev_ioctl()
690 if (err >= 0 && copy_to_user(user, param, AUTOFS_DEV_IOCTL_SIZE)) in _autofs_dev_ioctl()
/fs/hugetlbfs/
Dinode.c928 vm_flags_t acctflag, struct user_struct **user, in hugetlb_file_setup() argument
942 *user = NULL; in hugetlb_file_setup()
947 *user = current_user(); in hugetlb_file_setup()
948 if (user_shm_lock(size, *user)) { in hugetlb_file_setup()
955 *user = NULL; in hugetlb_file_setup()
997 if (*user) { in hugetlb_file_setup()
998 user_shm_unlock(size, *user); in hugetlb_file_setup()
999 *user = NULL; in hugetlb_file_setup()
/fs/nfsd/
DKconfig15 You may choose to use a user-space NFS server instead, in which
19 user space programs which can be found in the Linux nfs-utils
78 To export files using NFSv4, you need to install additional user
/fs/pstore/
DKconfig23 bool "Log user space messages"
27 interface /dev/pmsg0 to log user space messages. On reboot
/fs/notify/inotify/
Dinotify_fsnotify.c201 atomic_dec(&group->inotify_data.user->inotify_devs); in inotify_free_group_priv()
202 free_uid(group->inotify_data.user); in inotify_free_group_priv()
Dinotify_user.c546 atomic_dec(&group->inotify_data.user->inotify_watches); in inotify_ignored_and_remove_idr()
631 if (atomic_read(&group->inotify_data.user->inotify_watches) >= inotify_max_user_watches) in inotify_new_watch()
647 atomic_inc(&group->inotify_data.user->inotify_watches); in inotify_new_watch()
692 group->inotify_data.user = get_current_user(); in inotify_new_group()
694 if (atomic_inc_return(&group->inotify_data.user->inotify_devs) > in inotify_new_group()
/fs/quota/
DKconfig9 If you say Y here, you will be able to set per user limits for disk
17 multi user systems. If unsure, say N.
/fs/dlm/
DMakefile18 user.o \
/fs/notify/dnotify/
DKconfig7 that uses signals to communicate events to user-space. There exist
/fs/sdcardfs/
Dpackagelist.c124 static appid_t __is_excluded(const struct qstr *app_name, userid_t user) in __is_excluded() argument
131 if (atomic_read(&hash_cur->value) == user && in __is_excluded()
141 appid_t is_excluded(const char *key, userid_t user) in is_excluded() argument
146 return __is_excluded(&q, user); in is_excluded()

12