Home
last modified time | relevance | path

Searched refs:user (Results 551 - 575 of 2589) sorted by relevance

1...<<21222324252627282930>>...104

/kernel/linux/linux-6.6/security/selinux/ss/
H A Dmls.c208 if (!c->user || c->user > p->p_users.nprim) in mls_context_isvalid()
210 usrdatum = p->user_val_to_struct[c->user - 1]; in mls_context_isvalid()
212 return 0; /* user may not be associated with range */ in mls_context_isvalid()
403 struct context *fromcon, struct user_datum *user, in mls_setup_user_range()
409 struct mls_level *user_low = &(user->range.level[0]); in mls_setup_user_range()
410 struct mls_level *user_clr = &(user->range.level[1]); in mls_setup_user_range()
411 struct mls_level *user_def = &(user->dfltlevel); in mls_setup_user_range()
415 /* Honor the user's default level if we can */ in mls_setup_user_range()
427 that of the user' in mls_setup_user_range()
402 mls_setup_user_range(struct policydb *p, struct context *fromcon, struct user_datum *user, struct context *usercon) mls_setup_user_range() argument
[all...]
/kernel/liteos_a/kernel/base/include/
H A Dlos_process_pri.h122 User *user; member
299 * The highest priority of a user mode process.
305 * The lowest priority of a user mode process
323 * ID of the user root process
403 User *user = NULL; in OsCurrUserGet() local
407 user = OsCurrProcessGet()->user; in OsCurrUserGet()
409 return user; in OsCurrUserGet()
418 if (process->user != NULL) { in OsProcessUserIDGet()
419 uid = process->user in OsProcessUserIDGet()
[all...]
/kernel/linux/linux-6.6/net/core/
H A Dscm.c13 #include <linux/sched/user.h>
42 * Only allow a user to send credentials, that they could set with
89 fpl->user = NULL; in scm_fp_copy()
116 if (!fpl->user) in scm_fp_copy()
117 fpl->user = get_uid(current_user()); in scm_fp_copy()
131 free_uid(fpl->user); in __scm_destroy()
375 new_fpl->user = get_uid(fpl->user); in scm_fp_dup()
/third_party/node/src/
H A Dnode_credentials.cc401 char* user; in InitGroups() local
404 user = name_by_uid(args[0].As<Uint32>()->Value()); in InitGroups()
407 user = *arg0; in InitGroups()
411 if (user == nullptr) { in InitGroups()
419 if (must_free) free(user); in InitGroups()
424 int rc = initgroups(user, extra_group); in InitGroups()
426 if (must_free) free(user); in InitGroups()
/third_party/lwip/src/netif/ppp/
H A Dupap.c155 void upap_authwithpeer(ppp_pcb *pcb, const char *user, const char *password) { in upap_authwithpeer() argument
157 if(!user || !password) in upap_authwithpeer()
161 pcb->upap.us_user = user; in upap_authwithpeer()
162 pcb->upap.us_userlen = (u8_t)LWIP_MIN(strlen(user), 0xff); in upap_authwithpeer()
385 * Parse user/passwd. in upap_rauthreq()
605 const u_char *user, *pwd, *msg; in upap_printpkt() local
633 user = (const u_char *) (p + 1); in upap_printpkt()
637 printer(arg, " user="); in upap_printpkt()
638 ppp_print_string(user, ulen, printer, arg); in upap_printpkt()
/third_party/toybox/toys/pending/
H A Dtcpsvd.c27 -u USER[:GRP] Change to user/group after bind
43 char *user;
194 char *user = NULL, *group = NULL; in get_uidgid() local
197 user = ug; in get_uidgid()
203 if (!(pass = getpwnam(user))) { in get_uidgid()
204 n = atolx_range(user, 0, INT_MAX); in get_uidgid()
205 if (!(pass = getpwuid(n))) perror_exit("Invalid user '%s'", user); in get_uidgid()
288 get_uidgid(&uid, &gid, TT.user); in tcpsvd_main()
/third_party/spirv-tools/test/opt/
H A Ddef_use_test.cpp56 id, [&opcodes](Instruction* user, uint32_t) { in GetUseOpcodes()
57 opcodes.push_back(user->opcode()); in GetUseOpcodes()
117 mgr->ForEachUser(id, [id, &userMap](Instruction* user) { in BuildAllUsers()
118 if (user->opcode() != spv::Op::OpConstant) { in BuildAllUsers()
119 userMap[id].push_back(user); in BuildAllUsers()
1307 // OpSwitch is now a user of %7. in TEST()
1712 auto scanUser = [&](Instruction* user) { return user != use; }; in TEST_F()
/kernel/linux/linux-6.6/kernel/printk/
H A Dprintk.c731 struct devkmsg_user *user = file->private_data; in devkmsg_write() local
738 /* Ignore when user logging is disabled. */ in devkmsg_write()
744 if (!___ratelimit(&user->rs, current->comm)) in devkmsg_write()
790 struct devkmsg_user *user = file->private_data; in devkmsg_read() local
791 char *outbuf = &user->pbufs.outbuf[0]; in devkmsg_read()
793 .pbufs = &user->pbufs, in devkmsg_read()
797 ret = mutex_lock_interruptible(&user->lock); in devkmsg_read()
801 if (!printk_get_next_message(&pmsg, atomic64_read(&user->seq), true, false)) { in devkmsg_read()
818 printk_get_next_message(&pmsg, atomic64_read(&user->seq), true, in devkmsg_read()
826 atomic64_set(&user in devkmsg_read()
858 struct devkmsg_user *user = file->private_data; devkmsg_llseek() local
889 struct devkmsg_user *user = file->private_data; devkmsg_poll() local
908 struct devkmsg_user *user; devkmsg_open() local
939 struct devkmsg_user *user = file->private_data; devkmsg_release() local
[all...]
/kernel/linux/linux-6.6/arch/arm/mach-omap2/
H A Domap_hwmod.h204 * omap_hwmod_ocp_if.user bits: these indicate the initiators that use this
230 * @user: initiators using this interface (see OCP_USER_* macros above)
250 u8 user; member
644 void *user),
645 void *user);
655 int (*fn)(struct omap_hwmod *oh, void *user), in omap_hwmod_for_each_by_class()
656 void *user) in omap_hwmod_for_each_by_class()
654 omap_hwmod_for_each_by_class(const char *classname, int (*fn)(struct omap_hwmod *oh, void *user), void *user) omap_hwmod_for_each_by_class() argument
/kernel/linux/linux-5.10/kernel/cgroup/
H A Drstat.c407 u64 user = 0; in root_cgroup_cputime() local
412 user += cpustat[CPUTIME_USER]; in root_cgroup_cputime()
413 user += cpustat[CPUTIME_NICE]; in root_cgroup_cputime()
414 cputime->utime += user; in root_cgroup_cputime()
421 cputime->sum_exec_runtime += user; in root_cgroup_cputime()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dgpfifogv100.c156 0, subdevs, 1, fifo->user.bar->addr, 0x200, in gv100_fifo_gpfifo_new_()
181 nvkm_kmap(fifo->user.mem); in gv100_fifo_gpfifo_new_()
183 nvkm_wo32(fifo->user.mem, usermem + i, 0x00000000); in gv100_fifo_gpfifo_new_()
184 nvkm_done(fifo->user.mem); in gv100_fifo_gpfifo_new_()
185 usermem = nvkm_memory_addr(fifo->user.mem) + usermem; in gv100_fifo_gpfifo_new_()
/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-isl12022.c68 * A user-initiated temperature conversion is not started by this function,
214 u32 user, val; in isl12022_rtc_ioctl() local
223 user = 0; in isl12022_rtc_ioctl()
225 user |= RTC_VL_BACKUP_LOW; in isl12022_rtc_ioctl()
228 user |= RTC_VL_BACKUP_EMPTY; in isl12022_rtc_ioctl()
230 return put_user(user, (u32 __user *)arg); in isl12022_rtc_ioctl()
/third_party/ffmpeg/libavformat/
H A Dlibamqp.c67 const char *user, *password = NULL, *vhost; in amqp_proto_open() local
102 user = credentials; in amqp_proto_open()
103 if (*user == '\0') in amqp_proto_open()
104 user = "guest"; in amqp_proto_open()
106 user_decoded = ff_urldecode(user, 0); in amqp_proto_open()
/third_party/openssl/test/
H A Dhttp_test.c206 char *user, *host, *port, *path, *query, *frag; in test_http_url_ok() local
212 res = TEST_true(OSSL_HTTP_parse_url(url, &ssl, &user, &host, &port, &num, in test_http_url_ok()
219 if (res && *user != '\0') in test_http_url_ok()
220 res = TEST_str_eq(user, "user:pass"); in test_http_url_ok()
225 OPENSSL_free(user); in test_http_url_ok()
262 return test_http_url_ok("user:pass@host/p?q#fr", 0, "host", "80", "/p"); in test_http_url_userinfo_query_fragment()
/third_party/typescript/tests/baselines/reference/tsc/declarationEmit/
H A Dwhen-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js2 //// [/user/username/projects/myProject/plugin-two/index.d.ts]
25 //// [/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/package.json]
28 //// [/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts]
43 //// [/user/username/projects/myproject/plugin-one/tsconfig.json]
46 //// [/user/username/projects/myproject/plugin-one/index.ts]
49 //// [/user/username/projects/myproject/plugin-one/action.ts]
55 //// [/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json]
58 //// [/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts]
73 //// [/user/username/projects/myProject/plugin-one/node_modules/plugin-two] symlink(/user/usernam
[all...]
H A Dwhen-same-version-is-referenced-through-source-and-another-symlinked-package.js2 //// [/user/username/projects/myproject/plugin-two/index.d.ts]
25 //// [/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/package.json]
28 //// [/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts]
43 //// [/user/username/projects/myproject/plugin-one/tsconfig.json]
46 //// [/user/username/projects/myproject/plugin-one/index.ts]
49 //// [/user/username/projects/myproject/plugin-one/action.ts]
55 //// [/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json]
58 //// [/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts]
73 //// [/user/username/projects/myproject/plugin-one/node_modules/plugin-two] symlink(/user/usernam
[all...]
/third_party/rust/crates/nix/src/sys/
H A Dresource.rs79 /// The maximum number of kqueues this user id is allowed to create.
103 /// message queues for the real user ID of the calling process.
120 /// The maximum number of simultaneous processes for this user id.
125 /// The maximum number of pseudo-terminals this user id is allowed to
156 /// user ID of the calling process.
161 /// The maximum size (in bytes) of socket buffer usage for this user.
167 /// or used by all of this user id's processes.
306 /// Total amount of time spent executing in user mode.
438 let user = usage.user_time(); in test_self_cpu_time()
439 assert!(user in test_self_cpu_time()
[all...]
/third_party/curl/lib/
H A Dftplistparser.c85 } user; member
173 size_t user; member
181 static void fileinfo_dtor(void *user, void *element) in fileinfo_dtor() argument
183 (void)user; in fileinfo_dtor()
328 finfo->strings.user = parser->offsets.user ? in ftp_pl_insert_finfo()
329 str + parser->offsets.user : NULL; in ftp_pl_insert_finfo()
557 parser->state.UNIX.sub.user = PL_UNIX_USER_PRESPACE; in Curl_ftp_parselist()
567 switch(parser->state.UNIX.sub.user) { in Curl_ftp_parselist()
572 parser->state.UNIX.sub.user in Curl_ftp_parselist()
[all...]
H A Dhostip.c222 struct hostcache_prune_data user; in hostcache_prune() local
224 user.cache_timeout = cache_timeout; in hostcache_prune()
225 user.now = now; in hostcache_prune()
226 user.oldest = 0; in hostcache_prune()
229 (void *) &user, in hostcache_prune()
232 return user.oldest; in hostcache_prune()
304 struct hostcache_prune_data user; in fetch_addr() local
306 time(&user.now); in fetch_addr()
307 user.cache_timeout = data->set.dns_cache_timeout; in fetch_addr()
308 user in fetch_addr()
[all...]
/third_party/python/Lib/
H A Dnntplib.py315 def __init__(self, host, port=NNTP_PORT, user=None, password=None,
321 - user: username to authenticate with
342 if user or usenetrc:
343 self.login(user, password, usenetrc)
938 def login(self, user=None, password=None, usenetrc=True):
941 if not user and not usenetrc:
943 "At least one of `user` and `usenetrc` must be specified")
948 if usenetrc and not user:
953 user = auth[0]
958 if not user
[all...]
/kernel/linux/linux-5.10/arch/um/include/shared/
H A Dnet_kern.h42 char user[0]; member
56 const struct net_user_info *user; member
/kernel/linux/linux-6.6/arch/um/include/shared/
H A Dnet_kern.h42 char user[]; member
56 const struct net_user_info *user; member
/kernel/linux/linux-5.10/include/linux/mtd/
H A Dinftl.h12 #error This is a kernel header. Perhaps include nftl-user.h instead?
19 #include <mtd/inftl-user.h>
/kernel/linux/linux-5.10/include/rdma/
H A Drestrack.h82 * There are two types of entities: created by user and created
98 * @user: user resource
100 bool user; member
115 return !res->user; in rdma_is_kernel_res()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dcursnv50.c34 struct nv50_disp *disp, int ctrl, int user, in nv50_disp_curs_new_()
54 return nv50_disp_chan_new_(func, NULL, disp, ctrl + head, user + head, in nv50_disp_curs_new_()
33 nv50_disp_curs_new_(const struct nv50_disp_chan_func *func, struct nv50_disp *disp, int ctrl, int user, const struct nvkm_oclass *oclass, void *argv, u32 argc, struct nvkm_object **pobject) nv50_disp_curs_new_() argument

Completed in 19 milliseconds

1...<<21222324252627282930>>...104