Searched refs:atomic_flags (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/security/integrity/ima/ |
D | ima_appraise.c | 303 clear_bit(IMA_DIGSIG, &iint->atomic_flags); in xattr_verify() 305 set_bit(IMA_DIGSIG, &iint->atomic_flags); in xattr_verify() 326 set_bit(IMA_DIGSIG, &iint->atomic_flags); in xattr_verify() 365 set_bit(IMA_DIGSIG, &iint->atomic_flags); in xattr_verify() 538 set_bit(IMA_DIGSIG, &iint->atomic_flags); in ima_appraise_measurement() 589 test_bit(IMA_DIGSIG, &iint->atomic_flags)) { in ima_appraise_measurement() 612 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 …]
|
D | ima_main.c | 133 &iint->atomic_flags)) in ima_rdwr_violation_check() 138 set_bit(IMA_MUST_MEASURE, &iint->atomic_flags); in ima_rdwr_violation_check() 170 &iint->atomic_flags); in ima_check_last_writer() 269 if (test_and_clear_bit(IMA_CHANGE_ATTR, &iint->atomic_flags)) in process_measurement() 280 if (test_and_clear_bit(IMA_CHANGE_XATTR, &iint->atomic_flags) || in process_measurement() 315 !(test_bit(IMA_DIGSIG, &iint->atomic_flags))) { in process_measurement() 320 set_bit(IMA_DIGSIG, &iint->atomic_flags); in process_measurement() 323 set_bit(IMA_UPDATE_XATTR, &iint->atomic_flags); in process_measurement() 399 if ((mask & MAY_WRITE) && test_bit(IMA_DIGSIG, &iint->atomic_flags) && in process_measurement() 412 set_bit(IMA_UPDATE_XATTR, &iint->atomic_flags); in process_measurement() [all …]
|
/linux-6.6.21/security/integrity/ |
D | iint.c | 98 iint->atomic_flags = 0UL; in iint_init_always()
|
D | integrity.h | 166 unsigned long atomic_flags; member
|
/linux-6.6.21/include/linux/ |
D | sched.h | 963 unsigned long atomic_flags; /* Flags requiring atomic access. */ member 1810 { return test_bit(PFA_##name, &p->atomic_flags); } 1814 { set_bit(PFA_##name, &p->atomic_flags); } 1818 { clear_bit(PFA_##name, &p->atomic_flags); }
|