Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753408AbbGNPl2 (ORCPT ); Tue, 14 Jul 2015 11:41:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35926 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752485AbbGNPl0 (ORCPT ); Tue, 14 Jul 2015 11:41:26 -0400 From: Richard Guy Briggs To: linux-audit@redhat.com, linux-kernel@vger.kernel.org Cc: Richard Guy Briggs , sgrubb@redhat.com, pmoore@redhat.com, eparis@redhat.com Subject: [PATCH V6 0/2] audit: rebalance and remove extra layers of watch references Date: Tue, 14 Jul 2015 11:40:40 -0400 Message-Id: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 776 Lines: 19 While working on the audit by executable path feature, it was discovered that watches and parent references were slightly imbalanced and deeper than necessary. Only bump up references when they are actually used and decrease when removed. Richard Guy Briggs (2): audit: eliminate unnecessary extra layer of watch references audit: eliminate unnecessary extra layer of watch parent references kernel/audit_watch.c | 11 ++++------- kernel/auditfilter.c | 9 --------- 2 files changed, 4 insertions(+), 16 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/