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] [day] [month] [year] [list]
Message-ID: <84144f020703090438y484605a0i3cf6b547b953a4db@mail.gmail.com>
Date:	Fri, 9 Mar 2007 14:38:10 +0200
From:	"Pekka Enberg" <penberg@...helsinki.fi>
To:	akpm@...ux-foundation.org
Cc:	dada1@...mosbay.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] revoke: delayed file closing

On 3/9/07, Pekka J Enberg <penberg@...helsinki.fi> wrote:
> To fix this, change sys_revoke() not to close the actual revoked file
> immediately. Instead, we do filp_close() when the user does close(2)
> on the revoked file descriptor.

Btw, this is safe because a filesystem implementing f_ops->revoke must
ensure there are no pending writes after it has completed so
f_ops->flush will not do any actual flushing when it is invoked by a
delayed close.
-
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