Home
last modified time | relevance | path

Searched refs:spid (Results 1 – 10 of 10) sorted by relevance

/external/dhcpcd/
Dcommon.c267 char spid[16]; in writepid() local
272 snprintf(spid, sizeof(spid), "%u\n", pid); in writepid()
273 len = pwrite(fd, spid, strlen(spid), (off_t)0); in writepid()
274 if (len != (ssize_t)strlen(spid)) in writepid()
/external/ipsec-tools/src/libipsec/
Dtest-policy.c230 int spid; in test2() local
283 spid = test2sub(so); in test2()
285 printf("spdget(%u)\n", spid); in test2()
286 if (pfkey_send_spdget(so, spid) < 0) in test2()
295 if (pfkey_send_spddelete2(so, spid) < 0) in test2()
305 spid = test2sub(so); in test2()
Dpfkey.c1021 pfkey_send_spddelete2(so, spid) in pfkey_send_spddelete2() argument
1023 u_int32_t spid;
1027 if ((len = pfkey_send_x5(so, SADB_X_SPDDELETE2, spid)) < 0)
1040 pfkey_send_spdget(so, spid) in pfkey_send_spdget() argument
1042 u_int32_t spid;
1046 if ((len = pfkey_send_x5(so, SADB_X_SPDGET, spid)) < 0)
1732 pfkey_send_x5(so, type, spid) in pfkey_send_x5() argument
1735 u_int32_t spid;
1767 xpl.sadb_x_policy_id = spid;
/external/dbus/bus/
Dselinux.c401 unsigned long spid; in bus_selinux_allows_acquire_service() local
409 if (!dbus_connection_get_unix_process_id (connection, &spid)) in bus_selinux_allows_acquire_service()
410 spid = 0; in bus_selinux_allows_acquire_service()
421 if (spid) in bus_selinux_allows_acquire_service()
426 if (!_dbus_string_append_uint (&auxdata, spid)) in bus_selinux_allows_acquire_service()
472 unsigned long spid, tpid; in bus_selinux_allows_send() local
480 if (!sender || !dbus_connection_get_unix_process_id (sender, &spid)) in bus_selinux_allows_send()
481 spid = 0; in bus_selinux_allows_send()
528 if (spid) in bus_selinux_allows_send()
533 if (!_dbus_string_append_uint (&auxdata, spid)) in bus_selinux_allows_send()
/external/ipsec-tools/src/racoon/
Dhandler.c437 getph2byspid(spid) in getph2byspid() argument
438 u_int32_t spid; in getph2byspid()
447 if (p->spid == spid)
490 getph2byid(src, dst, spid) in getph2byid() argument
492 u_int32_t spid;
497 if (spid == p->spid &&
Dpolicy.c164 getspbyspid(spid) in getspbyspid() argument
165 u_int32_t spid; in getspbyspid()
170 if (p->id == spid)
Dhandler.h257 u_int32_t spid; /* policy id by kernel */ member
Dipsec_doi.c4048 sp = getspbyspid(iph2->spid);
4051 "no policy found for spid:%u.\n", iph2->spid);
Dpfkey.c1817 iph2[n]->spid = xpl->sadb_x_policy_id;
/external/dbus/
DChangeLog5206 (bus_selinux_check): Don't take spid and tpid since appending