Home
last modified time | relevance | path

Searched refs:atomic_flags (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/security/integrity/ima/
Dima_main.c127 &iint->atomic_flags)) in ima_rdwr_violation_check()
132 set_bit(IMA_MUST_MEASURE, &iint->atomic_flags); in ima_rdwr_violation_check()
162 &iint->atomic_flags); in ima_check_last_writer()
255 if (test_and_clear_bit(IMA_CHANGE_ATTR, &iint->atomic_flags)) in process_measurement()
266 if (test_and_clear_bit(IMA_CHANGE_XATTR, &iint->atomic_flags) || in process_measurement()
288 !(test_bit(IMA_DIGSIG, &iint->atomic_flags))) { in process_measurement()
292 set_bit(IMA_DIGSIG, &iint->atomic_flags); in process_measurement()
295 set_bit(IMA_UPDATE_XATTR, &iint->atomic_flags); in process_measurement()
360 if ((mask & MAY_WRITE) && test_bit(IMA_DIGSIG, &iint->atomic_flags) && in process_measurement()
373 set_bit(IMA_UPDATE_XATTR, &iint->atomic_flags); in process_measurement()
[all …]
Dima_appraise.c244 clear_bit(IMA_DIGSIG, &iint->atomic_flags); in xattr_verify()
264 set_bit(IMA_DIGSIG, &iint->atomic_flags); in xattr_verify()
481 if (test_bit(IMA_DIGSIG, &iint->atomic_flags)) in ima_update_xattr()
521 set_bit(IMA_CHANGE_ATTR, &iint->atomic_flags); in ima_inode_post_setattr()
523 clear_bit(IMA_UPDATE_XATTR, &iint->atomic_flags); in ima_inode_post_setattr()
554 set_bit(IMA_CHANGE_XATTR, &iint->atomic_flags); in ima_reset_appraise_flags()
556 set_bit(IMA_DIGSIG, &iint->atomic_flags); in ima_reset_appraise_flags()
558 clear_bit(IMA_DIGSIG, &iint->atomic_flags); in ima_reset_appraise_flags()
/Linux-v5.10/security/integrity/
Diint.c77 iint->atomic_flags = 0UL; in iint_free()
Dintegrity.h133 unsigned long atomic_flags; member
/Linux-v5.10/include/linux/
Dsched.h831 unsigned long atomic_flags; /* Flags requiring atomic access. */ member
1605 { return test_bit(PFA_##name, &p->atomic_flags); }
1609 { set_bit(PFA_##name, &p->atomic_flags); }
1613 { clear_bit(PFA_##name, &p->atomic_flags); }