Searched refs:atomic_flags (Results 1 – 5 of 5) sorted by relevance
/linux/security/integrity/ima/ |
H A D | ima_appraise.c | 301 clear_bit(IMA_DIGSIG, &iint->atomic_flags); in xattr_verify() 303 set_bit(IMA_DIGSIG, &iint->atomic_flags); in xattr_verify() 324 set_bit(IMA_DIGSIG, &iint->atomic_flags); in xattr_verify() 363 set_bit(IMA_DIGSIG, &iint->atomic_flags); in xattr_verify() 537 set_bit(IMA_DIGSIG, &iint->atomic_flags); in ima_appraise_measurement() 588 test_bit(IMA_DIGSIG, &iint->atomic_flags)) { in ima_appraise_measurement() 611 if (test_bit(IMA_DIGSIG, &iint->atomic_flags)) in ima_update_xattr() 652 set_bit(IMA_CHANGE_ATTR, &iint->atomic_flags); in ima_inode_post_setattr() 654 clear_bit(IMA_UPDATE_XATTR, &iint->atomic_flags); in ima_inode_post_setattr() 685 set_bit(IMA_CHANGE_XATTR, &iint->atomic_flags); in ima_reset_appraise_flags() [all...] |
H A D | ima_main.c | 134 &iint->atomic_flags)) in ima_rdwr_violation_check() 139 set_bit(IMA_MUST_MEASURE, &iint->atomic_flags); in ima_rdwr_violation_check() 171 &iint->atomic_flags); in ima_check_last_writer() 271 if (test_and_clear_bit(IMA_CHANGE_ATTR, &iint->atomic_flags)) in process_measurement() 282 if (test_and_clear_bit(IMA_CHANGE_XATTR, &iint->atomic_flags) || in process_measurement() 328 !(test_bit(IMA_DIGSIG, &iint->atomic_flags))) { in process_measurement() 333 set_bit(IMA_DIGSIG, &iint->atomic_flags); in process_measurement() 336 set_bit(IMA_UPDATE_XATTR, &iint->atomic_flags); in process_measurement() 412 if ((mask & MAY_WRITE) && test_bit(IMA_DIGSIG, &iint->atomic_flags) && in process_measurement() 425 set_bit(IMA_UPDATE_XATTR, &iint->atomic_flags); in process_measurement() [all …]
|
H A D | ima_iint.c | 64 iint->atomic_flags = 0UL; in ima_iint_init_always()
|
H A D | ima.h | 189 unsigned long atomic_flags; member
|
/linux/include/linux/ |
H A D | sched.h | 1021 unsigned long atomic_flags; /* Flags requiring atomic access. */ member 1757 { return test_bit(PFA_##name, &p->atomic_flags); } 1761 { set_bit(PFA_##name, &p->atomic_flags); } 1765 { clear_bit(PFA_##name, &p->atomic_flags); }
|