diff options
author | Steve Grubb <sgrubb@redhat.com> | 2005-04-29 17:09:52 +0200 |
---|---|---|
committer | <dwmw2@shinybook.infradead.org> | 2005-04-29 17:09:52 +0200 |
commit | d812ddbb89e323d054a7d073466225966c8350c8 (patch) | |
tree | 469e3e7bb7d1ca450059fc1b45660b8bc6452dc7 /kernel/auditsc.c | |
parent | [AUDIT] Don't allow ptrace to fool auditing, log arch of audited syscalls. (diff) | |
download | linux-d812ddbb89e323d054a7d073466225966c8350c8.tar.xz linux-d812ddbb89e323d054a7d073466225966c8350c8.zip |
[AUDIT] Fix signedness of 'serial' in various routines.
Attached is a patch that corrects a signed/unsigned warning. I also noticed
that we needlessly init serial to 0. That only needs to occur if the kernel
was compiled without the audit system.
-Steve Grubb
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'kernel/auditsc.c')
-rw-r--r-- | kernel/auditsc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index 77e92592de57..49ecd707b953 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c @@ -992,7 +992,7 @@ void audit_inode(const char *name, const struct inode *inode) } void audit_get_stamp(struct audit_context *ctx, - struct timespec *t, int *serial) + struct timespec *t, unsigned int *serial) { if (ctx) { t->tv_sec = ctx->ctime.tv_sec; |