lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0607160052570.30274@d.namei>
Date:	Sun, 16 Jul 2006 00:57:34 -0400 (EDT)
From:	James Morris <jmorris@...ei.org>
To:	Catherine Zhang <cxzhang@...son.ibm.com>
cc:	linux-kernel@...r.kernel.org, michal.k.k.piotrowski@...il.com,
	catalin.marinas@...il.com, czhang.us@...il.com,
	Stephen Smalley <sds@...ho.nsa.gov>
Subject: Re: kernel memory leak fix for af_unix datagram getpeersec

On Sun, 16 Jul 2006, Catherine Zhang wrote:

> 
> Hi, Catalin and Michal,
> 
> Enclosed please find the patch against 2.6.18-rc1 that fixed the kernel 
> memory leak problem.

The core kernel code doesn't know anything about secdata, as it is up to 
the LSM to determine what it is (in the case of SELinux, a kmalloc'd 
buffer).

So, you need a cleanup hook which allows the LSM to free the secdata if 
required.


- James
-- 
James Morris
<jmorris@...ei.org>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ