Home
last modified time | relevance | path

Searched refs:cred (Results 226 – 250 of 288) sorted by relevance

12345678910>>...12

/openbmc/linux/lib/
H A Dvsprintf.c860 const struct cred *cred; in restricted_pointer() local
881 cred = current_cred(); in restricted_pointer()
883 !uid_eq(cred->euid, cred->uid) || in restricted_pointer()
884 !gid_eq(cred->egid, cred->gid)) in restricted_pointer()
/openbmc/linux/kernel/
H A DMakefile12 notifier.o ksysfs.o cred.o reboot.o \
H A Dpid_namespace.c402 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN)) in pidns_install()
H A Dacct.c496 const struct cred *orig_cred; in do_acct_process()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dsge.c610 unsigned int cred = fl->avail; in refill_fl() local
709 cred = fl->avail - cred; in refill_fl()
710 fl->pend_cred += cred; in refill_fl()
718 return cred; in refill_fl()
/openbmc/linux/fs/overlayfs/
H A Dutil.c38 const struct cred *ovl_override_creds(struct super_block *sb) in ovl_override_creds()
1035 const struct cred *old_cred; in ovl_nlink_start()
1090 const struct cred *old_cred; in ovl_nlink_end()
/openbmc/linux/fs/nfs/
H A Dpnfs_nfs.c987 xprtdata.cred = nfs4_get_clid_cred(clp); in _nfs4_pnfs_v4_ds_connect()
991 if (xprtdata.cred) in _nfs4_pnfs_v4_ds_connect()
992 put_cred(xprtdata.cred); in _nfs4_pnfs_v4_ds_connect()
H A Dnfs4file.c373 sp = nfs4_get_state_owner(server, ctx->cred, GFP_KERNEL); in __nfs42_ssc_open()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_mqprio.c114 eosw_txq->cred = adap->params.ofldq_wr_cred; in cxgb4_init_eosw_txq()
133 eosw_txq->cred = adap->params.ofldq_wr_cred; in cxgb4_clean_eosw_txq()
H A Dsge.c541 unsigned int cred = q->avail; in refill_fl() local
618 out: cred = q->avail - cred; in refill_fl()
619 q->pend_cred += cred; in refill_fl()
629 return cred; in refill_fl()
2257 eosw_txq->cred -= wrlen16; in write_eo_wr()
2316 if (unlikely(left < 0 || wrlen16 > eosw_txq->cred)) { in ethofld_hard_xmit()
2324 eosw_txq->cred -= wrlen16; in ethofld_hard_xmit()
4129 eosw_txq->cred += cpl->credits; in cxgb4_ethofld_rx_handler()
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-twisted_22.10.0.bb140 ${libdir}/${PYTHON_DIR}/site-packages/twisted/cred \
267 ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/__pycache__/cred*.pyc \
/openbmc/linux/tools/perf/trace/beauty/include/linux/
H A Dsocket.h15 struct cred;
/openbmc/linux/include/linux/
H A Dsocket.h15 struct cred;
H A Dfilter.h920 static inline bool bpf_dump_raw_ok(const struct cred *cred) in bpf_dump_raw_ok() argument
925 return kallsyms_show_value(cred); in bpf_dump_raw_ok()
/openbmc/linux/kernel/time/
H A Dnamespace.c313 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN)) in timens_install()
/openbmc/linux/arch/x86/kernel/cpu/resctrl/
H A Drdtgroup.c647 const struct cred *tcred = get_task_cred(task); in rdtgroup_task_write_permission()
648 const struct cred *cred = current_cred(); in rdtgroup_task_write_permission() local
655 if (!uid_eq(cred->euid, GLOBAL_ROOT_UID) && in rdtgroup_task_write_permission()
656 !uid_eq(cred->euid, tcred->uid) && in rdtgroup_task_write_permission()
657 !uid_eq(cred->euid, tcred->suid)) { in rdtgroup_task_write_permission()
/openbmc/linux/fs/ceph/
H A Dmds_client.h302 const struct cred *r_cred;
/openbmc/linux/io_uring/
H A Dsqpoll.c178 const struct cred *creds = NULL; in __io_sq_thread()
/openbmc/linux/drivers/android/
H A Dbinder.c2163 if (security_binder_transfer_binder(proc->cred, target_proc->cred)) { in binder_translate_binder()
2209 if (security_binder_transfer_binder(proc->cred, target_proc->cred)) { in binder_translate_handle()
2297 ret = security_binder_transfer_file(proc->cred, target_proc->cred, file); in binder_translate_fd()
3076 if (security_binder_transaction(proc->cred, in binder_transaction()
3077 target_proc->cred) < 0) { in binder_transaction()
3212 security_cred_getsecid(proc->cred, &secid); in binder_transaction()
4932 put_cred(proc->cred); in binder_free_proc()
5135 ret = security_binder_set_context_mgr(proc->cred); in binder_ioctl_set_ctx_mgr()
5641 proc->cred = get_cred(filp->f_cred); in binder_open()
/openbmc/linux/Documentation/filesystems/
H A Dmount_api.rst74 const struct cred *cred;
130 const struct cred *cred
/openbmc/linux/fs/nfsd/
H A Dstate.h373 const struct cred *cl_cb_cred;
/openbmc/linux/fs/lockd/
H A Dmon.c85 .cred = current_cred(), in nsm_create()
/openbmc/linux/net/sunrpc/
H A Dsvcsock.c1459 char *name_return, const size_t len, const struct cred *cred) in svc_addsock() argument
1495 svsk->sk_xprt.xpt_cred = get_cred(cred); in svc_addsock()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/libldb/libldb/
H A D0002-ldb-Add-configure-options-for-packages.patch143 struct ucred cred;
/openbmc/linux/fs/nfs/filelayout/
H A Dfilelayout.c489 nfs_initiate_pgio(ds_clnt, hdr, hdr->cred, in filelayout_read_pagelist()
531 nfs_initiate_pgio(ds_clnt, hdr, hdr->cred, in filelayout_write_pagelist()

12345678910>>...12