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: <a4423d671001071444k2cb61c0blb1bb175ab0098a9f@mail.gmail.com>
Date:	Fri, 8 Jan 2010 01:44:59 +0300
From:	Alexander Beregalov <a.beregalov@...il.com>
To:	Paul Mackerras <paulus@...ba.org>
Cc:	a.p.zijlstra@...llo.nl, mingo@...e.hu, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] perf: add close()/closedir() calls when needed

2010/1/8 Paul Mackerras <paulus@...ba.org>:
> On Thu, Jan 07, 2010 at 07:40:46PM +0300, Alexander Beregalov wrote:
>
>> Close file and directory descriptors before exiting or dying.
>
> Your patch description doesn't say why that's a good thing to do, and
> it's not obvious to me at least.  Please explain the motivation in
> your patch description.

Isn't it a good style to close files after use and before exit?
--
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