History

LSM: fix documentation for the audit_* hooks

This patch updates the documentation for the audit_* hooks to use the same arguments names as in the hook's declarations.

Denis Efremov committed 7 years ago

Commit 5fdd2681 parent 6b6b6471 file · +4 −4Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/lsm_hooks.h+4−4
@@ -1345,9 +1345,9 @@ · 1344 unmodified lines
13451345 * -EINVAL in case of an invalid rule.
13461346 *
13471347 * @audit_rule_known:
1348− * Specifies whether given @rule contains any fields related to
1348+ * Specifies whether given @krule contains any fields related to
13491349 * current LSM.
1350− * @rule contains the audit rule of interest.
1350+ * @krule contains the audit rule of interest.
13511351 * Return 1 in case of relation found, 0 otherwise.
13521352 *
13531353 * @audit_rule_match:
@@ -1356,13 +1356,13 @@ · 2 unmodified lines
13561356 * @secid contains the security id in question.
13571357 * @field contains the field which relates to current LSM.
13581358 * @op contains the operator that will be used for matching.
1359− * @rule points to the audit rule that will be checked against.
1359+ * @lrule points to the audit rule that will be checked against.
13601360 * Return 1 if secid matches the rule, 0 if it does not, -ERRNO on failure.
13611361 *
13621362 * @audit_rule_free:
13631363 * Deallocate the LSM audit rule structure previously allocated by
13641364 * audit_rule_init.
1365− * @rule contains the allocated rule
1365+ * @lsmrule contains the allocated rule
13661366 *
13671367 * @inode_invalidate_secctx:
13681368 * Notify the security module that it must revalidate the security context

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t