Searched refs:rep (Results 1 – 3 of 3) sorted by relevance
/system/core/logd/ |
D | libaudit.c | 42 struct audit_message rep; in get_ack() local 49 rc = audit_get_reply(fd, &rep, GET_REPLY_BLOCKING, MSG_PEEK); in get_ack() 54 if (rep.nlh.nlmsg_type == NLMSG_ERROR) { in get_ack() 55 audit_get_reply(fd, &rep, GET_REPLY_BLOCKING, 0); in get_ack() 56 rc = ((struct nlmsgerr *)rep.data)->error; in get_ack() 62 if ((int16_t)rep.nlh.nlmsg_seq != seq) { in get_ack() 64 "expected %u got %u", seq, rep.nlh.nlmsg_seq); in get_ack() 168 struct audit_message rep; in audit_setup() local 199 audit_get_reply(fd, &rep, GET_REPLY_NONBLOCKING, 0); in audit_setup() 209 int audit_get_reply(int fd, struct audit_message *rep, reply_t block, int peek) in audit_get_reply() argument [all …]
|
D | LogAudit.cpp | 62 struct audit_message rep; in onDataAvailable() local 64 rep.nlh.nlmsg_type = 0; in onDataAvailable() 65 rep.nlh.nlmsg_len = 0; in onDataAvailable() 66 rep.data[0] = '\0'; in onDataAvailable() 68 if (audit_get_reply(cli->getSocket(), &rep, GET_REPLY_BLOCKING, 0) < 0) { in onDataAvailable() 74 rep.nlh.nlmsg_type, rep.nlh.nlmsg_len, rep.data); in onDataAvailable()
|
D | libaudit.h | 81 extern int audit_get_reply(int fd, struct audit_message *rep, reply_t block,
|