Home
last modified time | relevance | path

Searched refs:uid (Results 426 - 450 of 1649) sorted by relevance

1...<<11121314151617181920>>...66

/kernel/linux/linux-6.6/fs/smb/client/
H A Dnamespace.c173 kuid_t uid = current_fsuid(); in fs_context_set_ids() local
178 ctx->linux_uid = uid; in fs_context_set_ids()
183 ctx->cred_uid = uid; in fs_context_set_ids()
/kernel/linux/linux-6.6/include/linux/
H A Duser_namespace.h110 kuid_t uid; member
121 struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, enum ucount_type type);
123 struct ucounts *alloc_ucounts(struct user_namespace *ns, kuid_t uid);
/kernel/linux/linux-6.6/drivers/staging/blackbox/
H A Dblackbox_common.c25 void change_own(char *path, int uid, int gid) in change_own() argument
32 if (unlikely(!path || uid == -1 || gid == -1)) { in change_own()
33 bbox_print_err("path or uid or gid error.\n"); in change_own()
41 ret = ksys_chown(path, uid, gid); in change_own()
/kernel/linux/linux-6.6/drivers/staging/hungtask/
H A Dhungtask_user.c228 int uid = current->cred->euid.val; in htuser_list_store() local
230 if (uid >= 10000) in htuser_list_store()
231 pr_err("non-system process %d(uid=%d) can not be added to hungtask userlist\n", in htuser_list_store()
232 pid, uid); in htuser_list_store()
/kernel/linux/linux-6.6/tools/testing/selftests/move_mount_set_group/
H A Dmove_mount_set_group_test.c78 uid_t uid; in create_and_enter_userns() local
82 uid = getuid(); in create_and_enter_userns()
92 snprintf(map, sizeof(map), "0 %d 1", uid); in create_and_enter_userns()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
H A Dib_user_cm.h37 __aligned_u64 uid; member
106 __aligned_u64 uid; member
238 __aligned_u64 uid; member
/third_party/ntfs-3g/include/fuse-lite/
H A Dfuse_kernel.h90 __u32 uid; member
259 __u32 uid; member
418 __u32 uid; member
/third_party/ltp/utils/sctp/func_tests/
H A Dtest_1_to_1_socket_bind_listen.c88 int uid; in main() local
197 uid = getuid(); in main()
198 if (uid != 0) { in main()
/kernel/linux/linux-5.10/fs/autofs/
H A Dwaitq.c148 packet->uid = from_kuid_munged(user_ns, wq->uid); in autofs_notify_daemon()
436 wq->uid = current_uid(); in autofs_wait()
485 * uid and gid in the dentry info struct. This is so it can be in autofs_wait()
488 * to existing, active, autofs mounts. The uid and gid (and in autofs_wait()
508 ino->uid = wq->uid; in autofs_wait()
/kernel/linux/linux-6.6/fs/autofs/
H A Dwaitq.c148 packet->uid = from_kuid_munged(user_ns, wq->uid); in autofs_notify_daemon()
396 wq->uid = current_uid(); in autofs_wait()
445 * uid and gid in the dentry info struct. This is so it can be in autofs_wait()
448 * to existing, active, autofs mounts. The uid and gid (and in autofs_wait()
468 ino->uid = wq->uid; in autofs_wait()
/third_party/libwebsockets/lib/misc/
H A Dlws-struct-sqlite.c508 uid_t uid = 0; in lws_struct_sq3_open() local
523 lws_get_effective_uid_gid(context, &uid, &gid); in lws_struct_sq3_open()
524 if (uid) in lws_struct_sq3_open()
525 if (chown(sqlite3_path, uid, gid)) in lws_struct_sq3_open()
530 sqlite3_path, (unsigned int)uid, (unsigned int)gid); in lws_struct_sq3_open()
/third_party/mesa3d/src/glx/apple/
H A Dappledri.c245 XAppleDRICreateSurface(dpy, screen, drawable, client_id, key, uid) in XAppleDRICreateSurface()
251 unsigned int *uid;
267 rep.key_0 = rep.key_1 = rep.uid = 0;
276 *uid = rep.uid;
/third_party/node/test/parallel/
H A Dtest-os.js224 assert.strictEqual(pwd.uid, -1);
227 assert.strictEqual(pwdBuf.uid, -1);
231 is.number(pwd.uid);
238 assert.strictEqual(pwd.uid, pwdBuf.uid);
/third_party/toybox/toys/net/
H A Dnetstat.c126 unsigned lport, rport, state, txq, rxq, num, uid, nitems; in show_ip() local
135 &uid, &inode); in show_ip()
141 &rxq, &uid, &inode); in show_ip()
166 if (!(toys.optflags & FLAG_n) && (pw = bufgetpwuid(uid))) in show_ip()
168 else snprintf(toybuf, sizeof(toybuf), "%d", uid); in show_ip()
/third_party/rust/crates/libc/src/
H A Dpsp.rs51 uid: SceUid,
58 unsafe extern "C" fn(uid: SceUid, arg1: i64, arg2: i64, arg3: *mut c_void) -> u32;
2913 pub fn sceKernelGetThreadmanIdType(uid: SceUid) -> SceKernelIdListType; in sceKernelGetThreadmanIdType()
3049 pub fn sceKernelDeleteMsgPipe(uid: SceUid) -> i32; in sceKernelDeleteMsgPipe()
3051 uid: SceUid, in sceKernelSendMsgPipe()
3059 uid: SceUid, in sceKernelSendMsgPipeCB()
3067 uid: SceUid, in sceKernelTrySendMsgPipe()
3074 uid: SceUid, in sceKernelReceiveMsgPipe()
3082 uid: SceUid, in sceKernelReceiveMsgPipeCB()
3090 uid in sceKernelTryReceiveMsgPipe()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/
H A Dinode.c577 kuid_t uid; member
589 fsparam_u32 ("uid", Opt_uid),
600 seq_printf(m, ",uid=%u", in spufs_show_options()
617 kuid_t uid; in spufs_parse_param() local
627 uid = make_kuid(current_user_ns(), result.uint_32); in spufs_parse_param()
628 if (!uid_valid(uid)) in spufs_parse_param()
629 return invalf(fc, "Unknown uid"); in spufs_parse_param()
630 ctx->uid = uid; in spufs_parse_param()
693 inode->i_uid = ctx->uid; in spufs_create_root()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/spufs/
H A Dinode.c573 kuid_t uid; member
585 fsparam_u32 ("uid", Opt_uid),
596 seq_printf(m, ",uid=%u", in spufs_show_options()
613 kuid_t uid; in spufs_parse_param() local
623 uid = make_kuid(current_user_ns(), result.uint_32); in spufs_parse_param()
624 if (!uid_valid(uid)) in spufs_parse_param()
625 return invalf(fc, "Unknown uid"); in spufs_parse_param()
626 ctx->uid = uid; in spufs_parse_param()
689 inode->i_uid = ctx->uid; in spufs_create_root()
[all...]
/third_party/toybox/lib/
H A Dxwrap.c662 struct passwd *xgetpwuid(uid_t uid) in xgetpwuid() argument
664 struct passwd *pwd = getpwuid(uid); in xgetpwuid()
665 if (!pwd) error_exit("bad uid %ld", (long)uid); in xgetpwuid()
681 long uid; in xgetuid() local
685 uid = estrtol(name, &s, 10); in xgetuid()
686 if (!errno && s && !*s && uid>=0 && uid<=UINT_MAX) return uid; in xgetuid()
/kernel/linux/linux-5.10/kernel/
H A Duser_namespace.c32 static struct ucounts *inc_user_namespaces(struct user_namespace *ns, kuid_t uid) in inc_user_namespaces() argument
34 return inc_ucount(ns, uid, UCOUNT_USER_NAMESPACES); in inc_user_namespaces()
375 * make_kuid - Map a user-namespace uid pair into a kuid.
376 * @ns: User namespace that the uid is in
377 * @uid: User identifier
379 * Maps a user-namespace uid pair into a kernel internal kuid,
382 * When there is no mapping defined for the user-namespace uid
387 kuid_t make_kuid(struct user_namespace *ns, uid_t uid) in make_kuid() argument
389 /* Map the uid to a global kernel uid */ in make_kuid()
433 uid_t uid; from_kuid_munged() local
1155 kuid_t uid = make_kuid(ns->parent, id); new_idmap_permitted() local
[all...]
/kernel/linux/linux-5.10/net/can/
H A Dgw.c112 u32 uid; member
647 if (gwj->mod.uid) { in cgw_put_job()
648 if (nla_put_u32(skb, CGW_MOD_UID, gwj->mod.uid) < 0) in cgw_put_job()
951 nla_memcpy(&mod->uid, tb[CGW_MOD_UID], sizeof(u32)); in cgw_parse_attr()
1017 if (mod.uid) { in cgw_create_job()
1020 /* check for updating an existing job with identical uid */ in cgw_create_job()
1022 if (gwj->mod.uid != mod.uid) in cgw_create_job()
1149 /* we have a match when uid is enabled and identical */ in cgw_remove_job()
1150 if (gwj->mod.uid || mo in cgw_remove_job()
[all...]
/kernel/linux/linux-6.6/kernel/
H A Duser_namespace.c33 static struct ucounts *inc_user_namespaces(struct user_namespace *ns, kuid_t uid) in inc_user_namespaces() argument
35 return inc_ucount(ns, uid, UCOUNT_USER_NAMESPACES); in inc_user_namespaces()
396 * make_kuid - Map a user-namespace uid pair into a kuid.
397 * @ns: User namespace that the uid is in
398 * @uid: User identifier
400 * Maps a user-namespace uid pair into a kernel internal kuid,
403 * When there is no mapping defined for the user-namespace uid
408 kuid_t make_kuid(struct user_namespace *ns, uid_t uid) in make_kuid() argument
410 /* Map the uid to a global kernel uid */ in make_kuid()
454 uid_t uid; from_kuid_munged() local
1176 kuid_t uid = make_kuid(ns->parent, id); new_idmap_permitted() local
[all...]
/kernel/linux/linux-6.6/net/can/
H A Dgw.c112 u32 uid; member
715 if (gwj->mod.uid) { in cgw_put_job()
716 if (nla_put_u32(skb, CGW_MOD_UID, gwj->mod.uid) < 0) in cgw_put_job()
1019 nla_memcpy(&mod->uid, tb[CGW_MOD_UID], sizeof(u32)); in cgw_parse_attr()
1085 if (mod.uid) { in cgw_create_job()
1088 /* check for updating an existing job with identical uid */ in cgw_create_job()
1090 if (gwj->mod.uid != mod.uid) in cgw_create_job()
1223 /* we have a match when uid is enabled and identical */ in cgw_remove_job()
1224 if (gwj->mod.uid || mo in cgw_remove_job()
[all...]
/third_party/curl/lib/
H A Dimap.c724 if(imap->uid) { in imap_perform_fetch()
729 imap->uid, imap->section ? imap->section : "", in imap_perform_fetch()
733 imap->uid, imap->section ? imap->section : ""); in imap_perform_fetch()
1097 struct dynbuf uid; in imap_state_select_resp() local
1098 Curl_dyn_init(&uid, 20); in imap_state_select_resp()
1099 if(Curl_dyn_addn(&uid, p, len)) in imap_state_select_resp()
1102 imapc->mailbox_uidvalidity = Curl_dyn_ptr(&uid); in imap_state_select_resp()
1515 (imap->uid || imap->mindex || data->state.upload || in imap_done()
1536 Curl_safefree(imap->uid); in imap_done()
1591 else if(!imap->custom && selected && (imap->uid || ima in imap_perform()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dbpf_iter.h78 uid_t uid; member
89 uid_t uid __attribute__((aligned(8))); member
/kernel/linux/linux-5.10/tools/testing/selftests/firmware/
H A Dfw_lib.sh37 local uid=$(id -u)
38 if [ $uid -ne 0 ]; then

Completed in 34 milliseconds

1...<<11121314151617181920>>...66