Home
last modified time | relevance | path

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

12

/fs/ncpfs/
Dioctl.c179 struct ncp_nls_ioctl user; in ncp_set_charsets() local
190 if (copy_from_user(&user, arg, sizeof(user))) in ncp_set_charsets()
194 user.codepage[NCP_IOCSNAME_LEN] = 0; in ncp_set_charsets()
195 if (!user.codepage[0] || !strcmp(user.codepage, "default")) in ncp_set_charsets()
198 codepage = load_nls(user.codepage); in ncp_set_charsets()
205 user.iocharset[NCP_IOCSNAME_LEN] = 0; in ncp_set_charsets()
206 if (!user.iocharset[0] || !strcmp(user.iocharset, "default")) { in ncp_set_charsets()
209 } else if (!strcmp(user.iocharset, "utf8")) { in ncp_set_charsets()
213 iocharset = load_nls(user.iocharset); in ncp_set_charsets()
237 struct ncp_nls_ioctl user; in ncp_get_charsets() local
[all …]
/fs/
Dioprio.c80 struct user_struct *user; in SYSCALL_DEFINE3() local
133 user = current_user(); in SYSCALL_DEFINE3()
135 user = find_user(who); in SYSCALL_DEFINE3()
137 if (!user) in SYSCALL_DEFINE3()
149 free_uid(user); in SYSCALL_DEFINE3()
194 struct user_struct *user; in SYSCALL_DEFINE2() local
226 user = current_user(); in SYSCALL_DEFINE2()
228 user = find_user(who); in SYSCALL_DEFINE2()
230 if (!user) in SYSCALL_DEFINE2()
234 if (__task_cred(p)->uid != user->uid) in SYSCALL_DEFINE2()
[all …]
Ddcookies.c304 struct dcookie_user * user; in dcookie_register() local
308 user = kmalloc(sizeof(struct dcookie_user), GFP_KERNEL); in dcookie_register()
309 if (!user) in dcookie_register()
315 list_add(&user->next, &dcookie_users); in dcookie_register()
319 return user; in dcookie_register()
321 kfree(user); in dcookie_register()
322 user = NULL; in dcookie_register()
327 void dcookie_unregister(struct dcookie_user * user) in dcookie_unregister() argument
331 list_del(&user->next); in dcookie_unregister()
332 kfree(user); in dcookie_unregister()
Deventpoll.c207 struct user_struct *user; member
435 atomic_dec(&ep->user->epoll_watches); in ep_remove()
484 free_uid(ep->user); in ep_free()
569 struct user_struct *user; in ep_alloc() local
572 user = get_current_user(); in ep_alloc()
585 ep->user = user; in ep_alloc()
594 free_uid(user); in ep_alloc()
749 if (unlikely(atomic_read(&ep->user->epoll_watches) >= in ep_insert()
814 atomic_inc(&ep->user->epoll_watches); in ep_insert()
Dopen.c665 static int chown_common(struct dentry * dentry, uid_t user, gid_t group) in chown_common() argument
672 if (user != (uid_t) -1) { in chown_common()
674 newattrs.ia_uid = user; in chown_common()
690 SYSCALL_DEFINE3(chown, const char __user *, filename, uid_t, user, gid_t, group) in SYSCALL_DEFINE3() argument
701 error = chown_common(path.dentry, user, group); in SYSCALL_DEFINE3()
709 SYSCALL_DEFINE5(fchownat, int, dfd, const char __user *, filename, uid_t, user, in SYSCALL_DEFINE5() argument
726 error = chown_common(path.dentry, user, group); in SYSCALL_DEFINE5()
734 SYSCALL_DEFINE3(lchown, const char __user *, filename, uid_t, user, gid_t, group) in SYSCALL_DEFINE3() argument
745 error = chown_common(path.dentry, user, group); in SYSCALL_DEFINE3()
753 SYSCALL_DEFINE3(fchown, unsigned int, fd, uid_t, user, gid_t, group) in SYSCALL_DEFINE3() argument
[all …]
Daio.c1002 event->obj = (u64)(unsigned long)iocb->ki_obj.user; in aio_complete()
1008 ctx, tail, iocb, iocb->ki_obj.user, iocb->ki_user_data, in aio_complete()
1639 req->ki_obj.user = user_iocb; in io_submit_one()
1742 if (kiocb->ki_obj.user == iocb && kiocb->ki_key == key) in lookup_kiocb()
1790 tmp.obj = (u64)(unsigned long)kiocb->ki_obj.user; in SYSCALL_DEFINE3()
/fs/proc/
Dstat.c26 cputime64_t user, nice, system, idle, iowait, irq, softirq, steal; in show_stat() local
32 user = nice = system = idle = iowait = in show_stat()
39 user = cputime64_add(user, kstat_cpu(i).cpustat.user); in show_stat()
56 (unsigned long long)cputime64_to_clock_t(user), in show_stat()
68 user = kstat_cpu(i).cpustat.user; in show_stat()
80 (unsigned long long)cputime64_to_clock_t(user), in show_stat()
/fs/notify/inotify/
Dinotify_user.c79 struct user_struct *user; /* user who opened this dev */ member
160 atomic_dec(&dev->user->inotify_devs); in put_inotify_dev()
161 free_uid(dev->user); in put_inotify_dev()
177 atomic_dec(&dev->user->inotify_watches); in free_inotify_user_watch()
392 if (atomic_read(&dev->user->inotify_watches) >= in create_watch()
404 atomic_inc(&dev->user->inotify_watches); in create_watch()
596 struct user_struct *user; in SYSCALL_DEFINE1() local
617 user = get_current_user(); in SYSCALL_DEFINE1()
618 if (unlikely(atomic_read(&user->inotify_devs) >= in SYSCALL_DEFINE1()
653 dev->user = user; in SYSCALL_DEFINE1()
[all …]
/fs/cifs/
Dcifsencrypt.c328 wchar_t *user; in calc_ntlmv2_hash() local
344 user = kmalloc(2 + (len * 2), GFP_KERNEL); in calc_ntlmv2_hash()
345 if (user == NULL) in calc_ntlmv2_hash()
347 len = cifs_strtoUCS((__le16 *)user, ses->userName, len, nls_cp); in calc_ntlmv2_hash()
348 UniStrupr(user); in calc_ntlmv2_hash()
349 hmac_md5_update((char *)user, 2*len, pctxt); in calc_ntlmv2_hash()
370 kfree(user); in calc_ntlmv2_hash()
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 …]
DKconfig18 support for DFS (hierarchical name space), secure per-user
89 extended attributes beginning with the user namespace prefix
91 user namespace prefix, but their names are seen by Linux cifs clients
92 prefaced by the user namespace prefix. The system namespace
Dconnect.c2504 char *user; in CIFSSessSetup() local
2516 user = ses->userName; in CIFSSessSetup()
2571 if (user == NULL) in CIFSSessSetup()
2575 cifs_strtoUCS((__le16 *) bcc_ptr, user, 100, in CIFSSessSetup()
2605 if (user != NULL) { in CIFSSessSetup()
2606 strncpy(bcc_ptr, user, 200); in CIFSSessSetup()
2607 bcc_ptr += strnlen(user, 200); in CIFSSessSetup()
3147 char *user; in CIFSNTLMSSPAuthSessSetup() local
3161 user = ses->userName; in CIFSNTLMSSPAuthSessSetup()
3256 if (user == NULL) { in CIFSNTLMSSPAuthSessSetup()
[all …]
DCHANGES7 user's smb session. This fix allows cifs to mount multiple times to the
13 Add "forcemandatorylock" mount option to allow user to use mandatory
16 specified and user does not have access to query information about the
125 mount override username (so that null user connection is attempted)
145 user/group/other (not all of user/group/other ie 0222) when
167 Allow null user to be specified on mount ("username="). Do not return
296 Do not oops if root user kills cifs oplock kernel thread or
348 Allow new nouser_xattr mount parm to disable xattr support for user namespace.
413 xattr names in the "user." namespace space to SMB/CIFS EAs. Lots of
427 user want the server to set the uid/gid on newly created files (rather than
[all …]
/fs/autofs/
DKconfig7 automounter (amd), which is a pure user space daemon.
9 To use the automounter you need the user-space tools from the autofs
/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.c728 static int _autofs_dev_ioctl(unsigned int command, struct autofs_dev_ioctl __user *user) in _autofs_dev_ioctl() argument
750 param = copy_dev_ioctl(user); in _autofs_dev_ioctl()
816 if (err >= 0 && copy_to_user(user, param, AUTOFS_DEV_IOCTL_SIZE)) in _autofs_dev_ioctl()
/fs/nfsd/
DKconfig14 You may choose to use a user-space NFS server instead, in which
18 user space programs which can be found in the Linux nfs-utils
76 To export files using NFSv4, you need to install additional user
/fs/gfs2/
Dquota.c93 static int qd_alloc(struct gfs2_sbd *sdp, int user, u32 id, in qd_alloc() argument
105 if (user) in qd_alloc()
109 error = gfs2_glock_get(sdp, 2 * (u64)id + !user, in qd_alloc()
128 static int qd_get(struct gfs2_sbd *sdp, int user, u32 id, int create, in qd_get() argument
141 !test_bit(QDF_USER, &qd->qd_flags) == !user) { in qd_get()
169 error = qd_alloc(sdp, user, id, &new_qd); in qd_get()
422 static int qdsb_get(struct gfs2_sbd *sdp, int user, u32 id, int create, in qdsb_get() argument
427 error = qd_get(sdp, user, id, create, qdp); in qdsb_get()
1074 int gfs2_quota_refresh(struct gfs2_sbd *sdp, int user, u32 id) in gfs2_quota_refresh() argument
1080 error = qd_get(sdp, user, id, CREATE, &qd); in gfs2_quota_refresh()
Dquota.h29 extern int gfs2_quota_refresh(struct gfs2_sbd *sdp, int user, u32 id);
/fs/dlm/
DMakefile18 user.o \
/fs/notify/dnotify/
DKconfig6 that uses signals to communicate events to user-space. There exist
/fs/nfs/
DKconfig14 install the user space mount.nfs command which can be found in
71 To mount NFS servers using NFSv4, you also need to install user
/fs/xfs/
Dxfs_acl.c489 int user = 0, group = 0, other = 0, mask = 0; in xfs_acl_invalid() local
503 if (user++) in xfs_acl_invalid()
532 if (!user || !group || !other || (mask_required && !mask)) in xfs_acl_invalid()
/fs/jfs/
DKconfig49 to be made available to the user in the /proc/fs/jfs/ directory.

12