Home
last modified time | relevance | path

Searched refs:pset (Results 1 – 13 of 13) sorted by relevance

/external/openssh/
Dsandbox-solaris.c42 priv_set_t *pset; member
53 box->pset = solaris_basic_privset(); in ssh_sandbox_init()
55 if (box->pset == NULL) { in ssh_sandbox_init()
61 if (priv_delset(box->pset, PRIV_FILE_LINK_ANY) != 0 || in ssh_sandbox_init()
63 priv_delset(box->pset, PRIV_NET_ACCESS) != 0 || in ssh_sandbox_init()
66 priv_delset(box->pset, PRIV_DAX_ACCESS) != 0 || in ssh_sandbox_init()
69 priv_delset(box->pset, PRIV_SYS_IB_INFO) != 0 || in ssh_sandbox_init()
71 priv_delset(box->pset, PRIV_PROC_EXEC) != 0 || in ssh_sandbox_init()
72 priv_delset(box->pset, PRIV_PROC_FORK) != 0 || in ssh_sandbox_init()
73 priv_delset(box->pset, PRIV_PROC_INFO) != 0 || in ssh_sandbox_init()
[all …]
Dchannels.c501 struct permission_set *pset = permission_set_get(ssh, where); in permission_set_get_array() local
505 *permpp = &pset->permitted_user; in permission_set_get_array()
506 *npermpp = &pset->num_permitted_user; in permission_set_get_array()
509 *permpp = &pset->permitted_admin; in permission_set_get_array()
510 *npermpp = &pset->num_permitted_admin; in permission_set_get_array()
549 struct permission_set *pset = &sc->local_perms; in mux_remove_remote_forwardings() local
554 for (i = 0; i < pset->num_permitted_user; i++) { in mux_remove_remote_forwardings()
555 perm = &pset->permitted_user[i]; in mux_remove_remote_forwardings()
3789 struct permission_set *pset = &sc->remote_perms; local
3795 permit = pset->all_permitted;
[all …]
/external/openssh/openbsd-compat/
Dport-solaris.c237 priv_set_t *pset; in solaris_basic_privset() local
240 if ((pset = priv_allocset()) == NULL) { in solaris_basic_privset()
244 priv_basicset(pset); in solaris_basic_privset()
246 if ((pset = priv_str_to_set("basic", ",", NULL)) == NULL) { in solaris_basic_privset()
251 return pset; in solaris_basic_privset()
257 priv_set_t *pset = NULL, *npset = NULL; in solaris_drop_privs_pinfo_net_fork_exec() local
275 if ((pset = priv_allocset()) == NULL) in solaris_drop_privs_pinfo_net_fork_exec()
296 if (getppriv(PRIV_PERMITTED, pset) != 0) in solaris_drop_privs_pinfo_net_fork_exec()
299 priv_intersect(pset, npset); in solaris_drop_privs_pinfo_net_fork_exec()
306 priv_freeset(pset); in solaris_drop_privs_pinfo_net_fork_exec()
[all …]
/external/drm_hwcomposer/compositor/
DDrmDisplayCompositor.cpp186 drmModeAtomicReqPtr pset = drmModeAtomicAlloc(); in DisablePlanes() local
187 if (!pset) { in DisablePlanes()
197 ret = drmModeAtomicAddProperty(pset, plane->id(), in DisablePlanes()
199 drmModeAtomicAddProperty(pset, plane->id(), plane->fb_property().id(), in DisablePlanes()
203 drmModeAtomicFree(pset); in DisablePlanes()
208 ret = drmModeAtomicCommit(drm->fd(), pset, 0, drm); in DisablePlanes()
211 drmModeAtomicFree(pset); in DisablePlanes()
215 drmModeAtomicFree(pset); in DisablePlanes()
219 int DrmDisplayCompositor::SetupWritebackCommit(drmModeAtomicReqPtr pset, in SetupWritebackCommit() argument
233 ret = drmModeAtomicAddProperty(pset, writeback_conn->id(), in SetupWritebackCommit()
[all …]
DDrmDisplayCompositor.h112 int SetupWritebackCommit(drmModeAtomicReqPtr pset, uint32_t crtc_id,
/external/iputils/
Drarpd.c565 struct pollfd pset[2]; in main() local
612 pset[0].fd = socket(PF_PACKET, SOCK_DGRAM, 0); in main()
618 if (ioctl(pset[0].fd, SIOCGIFINDEX, &ifr)) { in main()
625 pset[1].fd = -1; in main()
627 pset[1].fd = socket(PF_PACKET, SOCK_DGRAM, 0); in main()
628 if (pset[1].fd >= 0) { in main()
629 load_arp_bpflet(pset[1].fd); in main()
634 if (pset[1].fd >= 0) { in main()
640 if (bind(pset[1].fd, (struct sockaddr*)&sll, sizeof(sll)) < 0) { in main()
641 close(pset[1].fd); in main()
[all …]
Dping_common.c791 struct pollfd pset; in main_loop() local
792 pset.fd = icmp_sock; in main_loop()
793 pset.events = POLLIN|POLLERR; in main_loop()
794 pset.revents = 0; in main_loop()
795 if (poll(&pset, 1, next) < 1 || in main_loop()
796 !(pset.revents&(POLLIN|POLLERR))) in main_loop()
/external/iproute2/misc/
Darpd.c61 struct pollfd pset[2]; variable
230 if (sendto(pset[0].fd, buf, p-buf, 0, (struct sockaddr *)&sll, sizeof(sll)) < 0) in send_probe()
488 n = recvfrom(pset[0].fd, buf, sizeof(buf), MSG_DONTWAIT, in get_arp_pkt()
759 pset[0].fd = socket(PF_PACKET, SOCK_DGRAM, 0); in main()
760 if (pset[0].fd < 0) { in main()
772 if (bind(pset[0].fd, (struct sockaddr *)&sll, sizeof(sll)) < 0) { in main()
782 pset[1].fd = rth.fd; in main()
798 pset[0].events = EVENTS; in main()
799 pset[0].revents = 0; in main()
800 pset[1].events = EVENTS; in main()
[all …]
/external/llvm/test/CodeGen/X86/
Dalignment-2.ll16 @pset = external global %struct._psqlSettings
26 …t* getelementptr inbounds (%struct._psqlSettings, %struct._psqlSettings* @pset, i32 0, i32 4) to i…
/external/llvm-project/llvm/test/CodeGen/X86/
Dalignment-2.ll16 @pset = external global %struct._psqlSettings
26 …t* getelementptr inbounds (%struct._psqlSettings, %struct._psqlSettings* @pset, i32 0, i32 4) to i…
/external/python/cpython3/Modules/
D_abc.c172 _add_to_weak_set(PyObject **pset, PyObject *obj) in _add_to_weak_set() argument
174 if (*pset == NULL) { in _add_to_weak_set()
175 *pset = PySet_New(NULL); in _add_to_weak_set()
176 if (*pset == NULL) { in _add_to_weak_set()
181 PyObject *set = *pset; in _add_to_weak_set()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509v3/
Dpcy_tree.c90 STACK_OF(ASN1_OBJECT) *pset = node->data->expected_policy_set; in expected_print()
93 for (i = 0; i < sk_ASN1_OBJECT_num(pset); i++) { in expected_print()
94 oid = sk_ASN1_OBJECT_value(pset, i); in expected_print()
/external/boringssl/src/crypto/x509v3/
Dpcy_tree.c90 STACK_OF(ASN1_OBJECT) *pset = node->data->expected_policy_set; in expected_print()
93 for (i = 0; i < sk_ASN1_OBJECT_num(pset); i++) { in expected_print()
94 oid = sk_ASN1_OBJECT_value(pset, i); in expected_print()