Home
last modified time | relevance | path

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

/linux/security/integrity/ima/
H A Dima_appraise.c301 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 Dima_main.c134 &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 Dima_iint.c64 iint->atomic_flags = 0UL; in ima_iint_init_always()
H A Dima.h189 unsigned long atomic_flags; member
/linux/include/linux/
H A Dsched.h1021 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); }