• Home
  • Raw
  • Download

Lines Matching refs:err

709 		goto err;  in auditd_send_unicast_skb()
719 goto err; in auditd_send_unicast_skb()
723 err: in auditd_send_unicast_skb()
1013 goto err; in audit_send_reply()
1019 goto err; in audit_send_reply()
1023 err: in audit_send_reply()
1033 int err = 0; in audit_netlink_ok() local
1072 err = -EPERM; in audit_netlink_ok()
1078 err = -EPERM; in audit_netlink_ok()
1081 err = -EINVAL; in audit_netlink_ok()
1084 return err; in audit_netlink_ok()
1221 int err; in audit_receive_msg() local
1228 err = audit_netlink_ok(skb, msg_type); in audit_receive_msg()
1229 if (err) in audit_receive_msg()
1230 return err; in audit_receive_msg()
1261 err = audit_set_enabled(s.enabled); in audit_receive_msg()
1262 if (err < 0) in audit_receive_msg()
1263 return err; in audit_receive_msg()
1266 err = audit_set_failure(s.failure); in audit_receive_msg()
1267 if (err < 0) in audit_receive_msg()
1268 return err; in audit_receive_msg()
1307 err = auditd_set(req_pid, in audit_receive_msg()
1315 err ? 0 : 1); in audit_receive_msg()
1316 if (err) in audit_receive_msg()
1317 return err; in audit_receive_msg()
1332 err = audit_set_rate_limit(s.rate_limit); in audit_receive_msg()
1333 if (err < 0) in audit_receive_msg()
1334 return err; in audit_receive_msg()
1337 err = audit_set_backlog_limit(s.backlog_limit); in audit_receive_msg()
1338 if (err < 0) in audit_receive_msg()
1339 return err; in audit_receive_msg()
1346 err = audit_set_backlog_wait_time(s.backlog_wait_time); in audit_receive_msg()
1347 if (err < 0) in audit_receive_msg()
1348 return err; in audit_receive_msg()
1365 err = audit_get_feature(skb); in audit_receive_msg()
1366 if (err) in audit_receive_msg()
1367 return err; in audit_receive_msg()
1372 err = audit_set_feature(data); in audit_receive_msg()
1373 if (err) in audit_receive_msg()
1374 return err; in audit_receive_msg()
1385 err = audit_filter(msg_type, AUDIT_FILTER_USER); in audit_receive_msg()
1386 if (err == 1) { /* match or error */ in audit_receive_msg()
1389 err = 0; in audit_receive_msg()
1391 err = tty_audit_push(); in audit_receive_msg()
1392 if (err) in audit_receive_msg()
1425 err = audit_rule_change(msg_type, seq, data, data_len); in audit_receive_msg()
1428 err = audit_list_rules_send(skb, seq); in audit_receive_msg()
1443 err = -EINVAL; in audit_receive_msg()
1451 err = PTR_ERR(old); in audit_receive_msg()
1456 err = PTR_ERR(new); in audit_receive_msg()
1461 err = audit_tag_tree(old, new); in audit_receive_msg()
1469 audit_log_format(ab, " res=%d", !err); in audit_receive_msg()
1478 err = security_secid_to_secctx(audit_sig_sid, &ctx, &len); in audit_receive_msg()
1479 if (err) in audit_receive_msg()
1480 return err; in audit_receive_msg()
1520 err = -EINVAL; in audit_receive_msg()
1522 if (err) in audit_receive_msg()
1536 s.log_passwd, !err); in audit_receive_msg()
1541 err = -EINVAL; in audit_receive_msg()
1545 return err < 0 ? err : 0; in audit_receive_msg()
1564 int err; in audit_receive() local
1572 err = audit_receive_msg(skb, nlh, &ack); in audit_receive()
1576 if (ack || err) in audit_receive()
1577 netlink_ack(skb, nlh, err, NULL); in audit_receive()
1599 static void audit_log_multicast(int group, const char *op, int err) in audit_log_multicast() argument
1626 audit_log_format(ab, " nl-mcgrp=%d op=%s res=%d", group, op, !err); in audit_log_multicast()
1633 int err = 0; in audit_multicast_bind() local
1636 err = -EPERM; in audit_multicast_bind()
1637 audit_log_multicast(group, "connect", err); in audit_multicast_bind()
1638 return err; in audit_multicast_bind()
1719 int err = PTR_ERR(kauditd_task); in audit_init() local
1720 panic("audit: failed to start the kauditd thread (%d)\n", err); in audit_init()
1799 goto err; in audit_buffer_alloc()
1801 goto err; in audit_buffer_alloc()
1808 err: in audit_buffer_alloc()