| /fs/smb/server/mgmt/ |
| A D | user_config.c | 31 return user; in ksmbd_login_user() 40 if (!user) in ksmbd_alloc_user() 49 if (user->passkey) in ksmbd_alloc_user() 52 user->ngroups = 0; in ksmbd_alloc_user() 53 user->sgid = NULL; in ksmbd_alloc_user() 55 if (!user->name || !user->passkey) in ksmbd_alloc_user() 68 if (!user->sgid) in ksmbd_alloc_user() 75 return user; in ksmbd_alloc_user() 80 kfree(user); in ksmbd_alloc_user() 86 ksmbd_ipc_logout_request(user->name, user->flags); in ksmbd_free_user() [all …]
|
| A D | user_config.h | 25 static inline bool user_guest(struct ksmbd_user *user) in user_guest() argument 27 return user->flags & KSMBD_USER_FLAG_GUEST_ACCOUNT; in user_guest() 32 user->flags |= flag; in set_user_flag() 37 return user->flags & flag; in test_user_flag() 46 return user->passkey; in user_passkey() 49 static inline char *user_name(struct ksmbd_user *user) in user_name() argument 51 return user->name; in user_name() 56 return user->uid; in user_uid() 61 return user->gid; in user_gid() 67 void ksmbd_free_user(struct ksmbd_user *user); [all …]
|
| A D | user_session.c | 157 if (sess->user) in ksmbd_session_destroy() 158 ksmbd_free_user(sess->user); in ksmbd_session_destroy() 362 struct ksmbd_user *user, u64 id) in destroy_previous_session() argument 374 prev_user = prev_sess->user; in destroy_previous_session() 376 strcmp(user->name, prev_user->name) || in destroy_previous_session() 377 user->passkey_sz != prev_user->passkey_sz || in destroy_previous_session() 378 memcmp(user->passkey, prev_user->passkey, user->passkey_sz)) in destroy_previous_session()
|
| A D | user_session.h | 38 struct ksmbd_user *user; member 100 struct ksmbd_user *user, u64 id);
|
| A D | tree_connect.c | 76 tree_conn->user = sess->user; in ksmbd_tree_conn_connect()
|
| A D | tree_connect.h | 29 struct ksmbd_user *user; member
|
| /fs/proc/ |
| A D | stat.c | 85 u64 user, nice, system, idle, iowait, irq, softirq, steal; in show_stat() local 92 user = nice = system = idle = iowait = in show_stat() 105 user += cpustat[CPUTIME_USER]; in show_stat() 127 seq_put_decimal_ull(p, "cpu ", nsec_to_clock_t(user)); in show_stat() 146 user = cpustat[CPUTIME_USER]; in show_stat() 157 seq_put_decimal_ull(p, " ", nsec_to_clock_t(user)); in show_stat()
|
| /fs/ |
| A D | open.c | 765 uid = make_kuid(current_user_ns(), user); in chown_common() 775 if ((user != (uid_t)-1) && !setattr_vfsuid(&newattrs, uid)) in chown_common() 822 error = chown_common(&path, user, group); in do_fchownat() 837 return do_fchownat(dfd, filename, user, group, flag); in SYSCALL_DEFINE5() 842 return do_fchownat(AT_FDCWD, filename, user, group, 0); in SYSCALL_DEFINE3() 847 return do_fchownat(AT_FDCWD, filename, user, group, in SYSCALL_DEFINE3() 851 int vfs_fchown(struct file *file, uid_t user, gid_t group) in vfs_fchown() argument 859 error = chown_common(&file->f_path, user, group); in vfs_fchown() 864 int ksys_fchown(unsigned int fd, uid_t user, gid_t group) in ksys_fchown() argument 871 return vfs_fchown(fd_file(f), user, group); in ksys_fchown() [all …]
|
| A D | pipe.c | 765 unsigned long account_pipe_buffers(struct user_struct *user, in account_pipe_buffers() argument 768 return atomic_long_add_return(new - old, &user->pipe_bufs); in account_pipe_buffers() 794 struct user_struct *user = get_current_user(); in alloc_pipe_info() local 805 user_bufs = account_pipe_buffers(user, 0, pipe_bufs); in alloc_pipe_info() 808 user_bufs = account_pipe_buffers(user, pipe_bufs, PIPE_MIN_DEF_BUFFERS); in alloc_pipe_info() 825 pipe->user = user; in alloc_pipe_info() 832 (void) account_pipe_buffers(user, pipe_bufs, 0); in alloc_pipe_info() 835 free_uid(user); in alloc_pipe_info() 848 (void) account_pipe_buffers(pipe->user, pipe->nr_accounted, 0); in free_pipe_info() 849 free_uid(pipe->user); in free_pipe_info() [all …]
|
| A D | init.c | 82 int __init init_chown(const char *filename, uid_t user, gid_t group, int flags) in init_chown() argument 93 error = chown_common(&path, user, group); in init_chown()
|
| A D | eventpoll.c | 214 struct user_struct *user; member 820 free_uid(ep->user); in ep_free() 886 percpu_counter_dec(&ep->user->epoll_watches); in __ep_remove() 1161 ep->user = get_current_user(); in ep_alloc() 1665 if (unlikely(percpu_counter_compare(&ep->user->epoll_watches, in ep_insert() 1668 percpu_counter_inc(&ep->user->epoll_watches); in ep_insert() 1671 percpu_counter_dec(&ep->user->epoll_watches); in ep_insert() 1689 percpu_counter_dec(&ep->user->epoll_watches); in ep_insert()
|
| A D | internal.h | 198 int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group, 200 int chown_common(const struct path *path, uid_t user, gid_t group);
|
| A D | Kconfig | 80 https://docs.pmem.io/ndctl-user-guide/ndctl-man-pages/ndctl-create-namespace 207 This enables support for the trusted.*, security.* and user.* 240 Quota support allows to set per user and group limits for tmpfs 242 user and group quota enforcement with quota, usrquota and grpquota
|
| /fs/smb/server/ |
| A D | auth.c | 139 user_passkey(sess->user), in calc_ntlmv2_hash() 153 len = strlen(user_name(sess->user)); in calc_ntlmv2_hash() 160 conv_len = smb_strtoUTF16(uniname, user_name(sess->user), len, in calc_ntlmv2_hash() 516 struct ksmbd_user *user = NULL; in ksmbd_krb5_authenticate() local 547 user = ksmbd_alloc_user(&resp->login_response, resp_ext); in ksmbd_krb5_authenticate() 548 if (!user) { in ksmbd_krb5_authenticate() 554 if (!sess->user) { in ksmbd_krb5_authenticate() 556 sess->user = user; in ksmbd_krb5_authenticate() 558 if (!ksmbd_compare_user(sess->user, user)) { in ksmbd_krb5_authenticate() 561 ksmbd_free_user(user); in ksmbd_krb5_authenticate() [all …]
|
| A D | smb_common.c | 743 struct ksmbd_user *user = sess->user; in __ksmbd_override_fsids() local 750 uid = user_uid(user); in __ksmbd_override_fsids() 751 gid = user_gid(user); in __ksmbd_override_fsids() 764 gi = groups_alloc(user->ngroups); in __ksmbd_override_fsids() 770 for (i = 0; i < user->ngroups; i++) in __ksmbd_override_fsids() 771 gi->gid[i] = make_kgid(&init_user_ns, user->sgid[i]); in __ksmbd_override_fsids() 773 if (user->ngroups) in __ksmbd_override_fsids()
|
| A D | Kconfig | 34 You also need to install user space programs which can be found 44 smb3 encryption, copy-offload, secure per-user session
|
| /fs/smb/client/ |
| A D | cifsencrypt.c | 413 __le16 *user; in calc_ntlmv2_hash() local 434 user = kmalloc(2 + (len * 2), GFP_KERNEL); in calc_ntlmv2_hash() 435 if (user == NULL) in calc_ntlmv2_hash() 439 len = cifs_strtoUTF16(user, ses->user_name, len, nls_cp); in calc_ntlmv2_hash() 440 UniStrupr(user); in calc_ntlmv2_hash() 442 *(u16 *)user = 0; in calc_ntlmv2_hash() 445 rc = crypto_shash_update(hmacmd5, (char *)user, 2 * len); in calc_ntlmv2_hash() 446 kfree(user); in calc_ntlmv2_hash()
|
| A D | Kconfig | 43 for DFS (hierarchical name space), secure per-user session 99 CIFS maps the name of extended attributes beginning with the user 101 servers without the user namespace prefix, but their names are 102 seen by Linux cifs clients prefaced by the user namespace prefix.
|
| /fs/autofs/ |
| A D | Kconfig | 8 automounter (amd), which is a pure user space daemon. 10 To use the automounter you need the user-space tools from
|
| A D | dev-ioctl.c | 678 struct autofs_dev_ioctl __user *user) in _autofs_dev_ioctl() argument 704 param = copy_dev_ioctl(user); in _autofs_dev_ioctl() 765 if (err >= 0 && copy_to_user(user, param, AUTOFS_DEV_IOCTL_SIZE)) in _autofs_dev_ioctl()
|
| /fs/coda/ |
| A D | Kconfig | 15 *client*. You will need user level code as well, both for the 16 client and server. Servers are currently user level, i.e. they need
|
| /fs/quota/ |
| A D | Kconfig | 10 If you say Y here, you will be able to set per user limits for disk 18 support is only useful for multi user systems. If unsure, say N.
|
| /fs/dlm/ |
| A D | Makefile | 18 user.o \
|
| /fs/notify/dnotify/ |
| A D | Kconfig | 8 that uses signals to communicate events to user-space. There exist
|
| /fs/nfsd/ |
| A D | Kconfig | 21 You may choose to use a user-space NFS server instead, in which 25 user space programs which can be found in the Linux nfs-utils 88 To export files using NFSv4, you need to install additional user
|