Home
last modified time | relevance | path

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

/linux/security/integrity/ima/
A Dima_appraise.c253 clear_bit(IMA_DIGSIG, &iint->atomic_flags); in xattr_verify()
255 set_bit(IMA_DIGSIG, &iint->atomic_flags); in xattr_verify()
276 set_bit(IMA_DIGSIG, &iint->atomic_flags); in xattr_verify()
426 set_bit(IMA_DIGSIG, &iint->atomic_flags); in ima_appraise_measurement()
477 test_bit(IMA_DIGSIG, &iint->atomic_flags)) { in ima_appraise_measurement()
500 if (test_bit(IMA_DIGSIG, &iint->atomic_flags)) in ima_update_xattr()
540 set_bit(IMA_CHANGE_ATTR, &iint->atomic_flags); in ima_inode_post_setattr()
542 clear_bit(IMA_UPDATE_XATTR, &iint->atomic_flags); in ima_inode_post_setattr()
573 set_bit(IMA_CHANGE_XATTR, &iint->atomic_flags); in ima_reset_appraise_flags()
575 set_bit(IMA_DIGSIG, &iint->atomic_flags); in ima_reset_appraise_flags()
[all …]
A Dima_main.c132 &iint->atomic_flags)) in ima_rdwr_violation_check()
137 set_bit(IMA_MUST_MEASURE, &iint->atomic_flags); in ima_rdwr_violation_check()
167 &iint->atomic_flags); in ima_check_last_writer()
262 if (test_and_clear_bit(IMA_CHANGE_ATTR, &iint->atomic_flags)) in process_measurement()
273 if (test_and_clear_bit(IMA_CHANGE_XATTR, &iint->atomic_flags) || in process_measurement()
295 !(test_bit(IMA_DIGSIG, &iint->atomic_flags))) { in process_measurement()
299 set_bit(IMA_DIGSIG, &iint->atomic_flags); in process_measurement()
302 set_bit(IMA_UPDATE_XATTR, &iint->atomic_flags); in process_measurement()
377 if ((mask & MAY_WRITE) && test_bit(IMA_DIGSIG, &iint->atomic_flags) && in process_measurement()
390 set_bit(IMA_UPDATE_XATTR, &iint->atomic_flags); in process_measurement()
[all …]
/linux/security/integrity/
A Diint.c77 iint->atomic_flags = 0UL; in iint_free()
A Dintegrity.h133 unsigned long atomic_flags; member
/linux/include/linux/
A Dsched.h937 unsigned long atomic_flags; /* Flags requiring atomic access. */ member
1742 { return test_bit(PFA_##name, &p->atomic_flags); }
1746 { set_bit(PFA_##name, &p->atomic_flags); }
1750 { clear_bit(PFA_##name, &p->atomic_flags); }

Completed in 15 milliseconds