Skip to contentSkip to conversation

smack: fix the smack_lsmprop_to_secctx() kdoc

PATCH In review Paul Moore 2 participants 3 messages Nov 1, 2024 – Nov 5, 2024

Subsystems (2)
lore
Share & tools
lore

Paul Moore

author maintainer
#0 lore raw

PATCH 1/1 smack: fix the smack_lsmprop_to_secctx() kdoc

Trivial kdoc fix to correct a fixup omission when converting to the lsm_context struct in the LSM and Smack.

---
 security/smack/smack_lsm.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
security/smack/smack_lsm.c +1 -2
index c9ec4d93fb13..55a556f17ade 100644
@@ -4851,8 +4851,7 @@ static int smack_secid_to_secctx(u32 secid, struct lsm_context *cp)
 /**
  * smack_lsmprop_to_secctx - return the smack label
  * @prop: includes incoming Smack data
- * @secdata: destination
- * @seclen: how long it is
+ * @cp: destination
  *
  * Exists for audit code.
  */
Signature · 1 line
2.47.0
maintainer Reviewed-by Casey on v1 1/1
#1 lore raw
Quoted 6 lines · Paul Moore

Trivial kdoc fix to correct a fixup omission when converting to the lsm_context struct in the LSM and Smack.

Quoted 18 lines
---
 security/smack/smack_lsm.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
security/smack/smack_lsm.c +1 -2
index c9ec4d93fb13..55a556f17ade 100644
@@ -4851,8 +4851,7 @@ static int smack_secid_to_secctx(u32 secid, struct lsm_context *cp)
 /**
  * smack_lsmprop_to_secctx - return the smack label
  * @prop: includes incoming Smack data
- * @secdata: destination
- * @seclen: how long it is
+ * @cp: destination
  *
  * Exists for audit code.
  */
author maintainer Applied
#2 lore raw
Quoted 9 lines · Casey Schaufler
Quoted 6 lines · Paul Moore

Trivial kdoc fix to correct a fixup omission when converting to the lsm_context struct in the LSM and Smack.

Merged into lsm/dev-staging.

Signature · 1 line
paul-moore.com