• Home
  • Raw
  • Download

Lines Matching refs:s

1238 		struct audit_status	s;  in audit_receive_msg()  local
1239 memset(&s, 0, sizeof(s)); in audit_receive_msg()
1240 s.enabled = audit_enabled; in audit_receive_msg()
1241 s.failure = audit_failure; in audit_receive_msg()
1244 s.pid = auditd_pid_vnr(); in audit_receive_msg()
1245 s.rate_limit = audit_rate_limit; in audit_receive_msg()
1246 s.backlog_limit = audit_backlog_limit; in audit_receive_msg()
1247 s.lost = atomic_read(&audit_lost); in audit_receive_msg()
1248 s.backlog = skb_queue_len(&audit_queue); in audit_receive_msg()
1249 s.feature_bitmap = AUDIT_FEATURE_BITMAP_ALL; in audit_receive_msg()
1250 s.backlog_wait_time = audit_backlog_wait_time; in audit_receive_msg()
1251 s.backlog_wait_time_actual = atomic_read(&audit_backlog_wait_time_actual); in audit_receive_msg()
1252 audit_send_reply(skb, seq, AUDIT_GET, 0, 0, &s, sizeof(s)); in audit_receive_msg()
1256 struct audit_status s; in audit_receive_msg() local
1257 memset(&s, 0, sizeof(s)); in audit_receive_msg()
1259 memcpy(&s, data, min_t(size_t, sizeof(s), data_len)); in audit_receive_msg()
1260 if (s.mask & AUDIT_STATUS_ENABLED) { in audit_receive_msg()
1261 err = audit_set_enabled(s.enabled); in audit_receive_msg()
1265 if (s.mask & AUDIT_STATUS_FAILURE) { in audit_receive_msg()
1266 err = audit_set_failure(s.failure); in audit_receive_msg()
1270 if (s.mask & AUDIT_STATUS_PID) { in audit_receive_msg()
1277 pid_t new_pid = s.pid; in audit_receive_msg()
1331 if (s.mask & AUDIT_STATUS_RATE_LIMIT) { in audit_receive_msg()
1332 err = audit_set_rate_limit(s.rate_limit); in audit_receive_msg()
1336 if (s.mask & AUDIT_STATUS_BACKLOG_LIMIT) { in audit_receive_msg()
1337 err = audit_set_backlog_limit(s.backlog_limit); in audit_receive_msg()
1341 if (s.mask & AUDIT_STATUS_BACKLOG_WAIT_TIME) { in audit_receive_msg()
1342 if (sizeof(s) > (size_t)nlh->nlmsg_len) in audit_receive_msg()
1344 if (s.backlog_wait_time > 10*AUDIT_BACKLOG_WAIT_TIME) in audit_receive_msg()
1346 err = audit_set_backlog_wait_time(s.backlog_wait_time); in audit_receive_msg()
1350 if (s.mask == AUDIT_STATUS_LOST) { in audit_receive_msg()
1356 if (s.mask == AUDIT_STATUS_BACKLOG_WAIT_TIME_ACTUAL) { in audit_receive_msg()
1499 struct audit_tty_status s; in audit_receive_msg() local
1503 s.enabled = t & AUDIT_TTY_ENABLE; in audit_receive_msg()
1504 s.log_passwd = !!(t & AUDIT_TTY_LOG_PASSWD); in audit_receive_msg()
1506 audit_send_reply(skb, seq, AUDIT_TTY_GET, 0, 0, &s, sizeof(s)); in audit_receive_msg()
1510 struct audit_tty_status s, old; in audit_receive_msg() local
1514 memset(&s, 0, sizeof(s)); in audit_receive_msg()
1516 memcpy(&s, data, min_t(size_t, sizeof(s), data_len)); in audit_receive_msg()
1518 if ((s.enabled != 0 && s.enabled != 1) || in audit_receive_msg()
1519 (s.log_passwd != 0 && s.log_passwd != 1)) in audit_receive_msg()
1525 t = s.enabled | (-s.log_passwd & AUDIT_TTY_LOG_PASSWD); in audit_receive_msg()
1535 old.enabled, s.enabled, old.log_passwd, in audit_receive_msg()
1536 s.log_passwd, !err); in audit_receive_msg()