Home
last modified time | relevance | path

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

/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()
297 if (getppriv(PRIV_PERMITTED, pset) != 0) in solaris_drop_privs_pinfo_net_fork_exec()
300 priv_intersect(pset, npset); in solaris_drop_privs_pinfo_net_fork_exec()
307 priv_freeset(pset); in solaris_drop_privs_pinfo_net_fork_exec()
[all …]
/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()
65 priv_delset(box->pset, PRIV_PROC_EXEC) != 0 || in ssh_sandbox_init()
66 priv_delset(box->pset, PRIV_PROC_FORK) != 0 || in ssh_sandbox_init()
67 priv_delset(box->pset, PRIV_PROC_INFO) != 0 || in ssh_sandbox_init()
68 priv_delset(box->pset, PRIV_PROC_SESSION) != 0) { in ssh_sandbox_init()
75 if (priv_delset(box->pset, PRIV_FILE_READ) != 0 || in ssh_sandbox_init()
[all …]
/external/libdrm/tests/planetest/
Dmodeset.c18 drmModeAtomicReqPtr pset; in set_crtc_mode() local
30 pset = drmModeAtomicAlloc(); in set_crtc_mode()
31 if (!pset) { in set_crtc_mode()
36 ret = drmModeAtomicAddProperty(pset, crtc->crtc->crtc_id, in set_crtc_mode()
38 drmModeAtomicAddProperty(pset, crtc->crtc->crtc_id, in set_crtc_mode()
40 drmModeAtomicAddProperty(pset, conn->conn->connector_id, in set_crtc_mode()
44 drmModeAtomicFree(pset); in set_crtc_mode()
48 ret = drmModeAtomicCommit(dev->fd, pset, DRM_MODE_ATOMIC_ALLOW_MODESET, in set_crtc_mode()
51 drmModeAtomicFree(pset); in set_crtc_mode()
193 drmModeAtomicReqPtr pset, struct sp_crtc *crtc, int x, int y) in set_sp_plane_pset() argument
[all …]
Datomictest.c50 drmModeAtomicReqPtr pset; in main() local
103 pset = drmModeAtomicAlloc(); in main()
104 if (!pset) { in main()
119 ret = set_sp_plane_pset(dev, plane[j], pset, test_crtc, in main()
127 ret = drmModeAtomicCommit(dev->fd, pset, in main()
142 drmModeAtomicFree(pset); in main()
Dmodeset.h17 drmModeAtomicReqPtr pset, struct sp_crtc *crtc, int x, int y);
/external/drm_hwcomposer/
Ddrmdisplaycompositor.cpp161 drmModeAtomicReqPtr pset = drmModeAtomicAlloc(); in DisablePlanes() local
162 if (!pset) { in DisablePlanes()
172 ret = drmModeAtomicAddProperty(pset, plane->id(), in DisablePlanes()
174 drmModeAtomicAddProperty(pset, plane->id(), plane->fb_property().id(), in DisablePlanes()
178 drmModeAtomicFree(pset); in DisablePlanes()
183 ret = drmModeAtomicCommit(drm->fd(), pset, 0, drm); in DisablePlanes()
186 drmModeAtomicFree(pset); in DisablePlanes()
190 drmModeAtomicFree(pset); in DisablePlanes()
194 int DrmDisplayCompositor::SetupWritebackCommit(drmModeAtomicReqPtr pset, in SetupWritebackCommit() argument
208 ret = drmModeAtomicAddProperty(pset, writeback_conn->id(), in SetupWritebackCommit()
[all …]
Ddrmdisplaycompositor.h80 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/python/cpython3/Modules/
D_abc.c134 _add_to_weak_set(PyObject **pset, PyObject *obj) in _add_to_weak_set() argument
136 if (*pset == NULL) { in _add_to_weak_set()
137 *pset = PySet_New(NULL); in _add_to_weak_set()
138 if (*pset == NULL) { in _add_to_weak_set()
143 PyObject *set = *pset; in _add_to_weak_set()
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Dalignment-2.ll16 @pset = external global %struct._psqlSettings
24 …t (%struct.printQueryOpt* getelementptr inbounds (%struct._psqlSettings* @pset, i32 0, i32 4) to i…
/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/swiftshader/third_party/llvm-7.0/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/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/v8/tools/profviz/
Dgnuplot-4.6.3-emscripten.js2215 function _strcspn(pstr, pset) { argument
2220 set = pset;
2918 function _strspn(pstr, pset) { argument
2923 set = pset;