diff options
Diffstat (limited to 'include/linux/audit.h')
-rw-r--r-- | include/linux/audit.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h index 0b2fcb698a63..e8ce2c4c7ac7 100644 --- a/include/linux/audit.h +++ b/include/linux/audit.h | |||
@@ -508,22 +508,6 @@ static inline int audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat) | |||
508 | return 0; | 508 | return 0; |
509 | } | 509 | } |
510 | 510 | ||
511 | /* | ||
512 | * ieieeeeee, an audit function without a return code! | ||
513 | * | ||
514 | * This function might fail! I decided that it didn't matter. We are too late | ||
515 | * to fail the syscall and the information isn't REQUIRED for any purpose. It's | ||
516 | * just nice to have. We should be able to look at past audit logs to figure | ||
517 | * out this process's current cap set along with the fcaps from the PATH record | ||
518 | * and use that to come up with the final set. Yeah, its ugly, but all the info | ||
519 | * is still in the audit log. So I'm not going to bother mentioning we failed | ||
520 | * if we couldn't allocate memory. | ||
521 | * | ||
522 | * If someone changes their mind they could create the aux record earlier and | ||
523 | * then search here and use that earlier allocation. But I don't wanna. | ||
524 | * | ||
525 | * -Eric | ||
526 | */ | ||
527 | static inline int audit_log_bprm_fcaps(struct linux_binprm *bprm, | 511 | static inline int audit_log_bprm_fcaps(struct linux_binprm *bprm, |
528 | const struct cred *new, | 512 | const struct cred *new, |
529 | const struct cred *old) | 513 | const struct cred *old) |