Re: [PATCH 6/9] LSM/Audit: Introduce generic Audit LSM hooks

2008-03-04 Thread Paul Moore
On Saturday 01 March 2008 3:00:05 pm Ahmed S. Darwish wrote: Introduce a generic Audit interface for security modules by adding the following new LSM hooks: audit_rule_init(field, op, rulestr, lsmrule) audit_rule_known(krule) audit_rule_match(secid, field, op, rule, actx)

[PATCH 6/9] LSM/Audit: Introduce generic Audit LSM hooks

2008-03-03 Thread Ahmed S. Darwish
Introduce a generic Audit interface for security modules by adding the following new LSM hooks: audit_rule_init(field, op, rulestr, lsmrule) audit_rule_known(krule) audit_rule_match(secid, field, op, rule, actx) audit_rule_free(rule) Those hooks are only available if CONFIG_AUDIT is enabled.

Re: [PATCH 6/9] LSM/Audit: Introduce generic Audit LSM hooks

2008-03-03 Thread James Morris
On Sat, 1 Mar 2008, Ahmed S. Darwish wrote: Introduce a generic Audit interface for security modules by adding the following new LSM hooks: audit_rule_init(field, op, rulestr, lsmrule) audit_rule_known(krule) audit_rule_match(secid, field, op, rule, actx) audit_rule_free(rule) Those