aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/auditsc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c
index 6aff0df75568..41d129a78793 100644
--- a/kernel/auditsc.c
+++ b/kernel/auditsc.c
@@ -1289,6 +1289,7 @@ void __audit_getname(const char *name)
1289 context->names[context->name_count].name_len = AUDIT_NAME_FULL; 1289 context->names[context->name_count].name_len = AUDIT_NAME_FULL;
1290 context->names[context->name_count].name_put = 1; 1290 context->names[context->name_count].name_put = 1;
1291 context->names[context->name_count].ino = (unsigned long)-1; 1291 context->names[context->name_count].ino = (unsigned long)-1;
1292 context->names[context->name_count].osid = 0;
1292 ++context->name_count; 1293 ++context->name_count;
1293 if (!context->pwd) { 1294 if (!context->pwd) {
1294 read_lock(&current->fs->lock); 1295 read_lock(&current->fs->lock);