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: <20090612070617.GF25961@smart.research.nokia.com>
Date:	Fri, 12 Jun 2009 10:06:17 +0300
From:	Denis Karpov <ext-denis.2.karpov@...ia.com>
To:	"hirofumi@...l.parknet.co.jp" <hirofumi@...l.parknet.co.jp>
Cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
	"Hunter Adrian (Nokia-D/Helsinki)" <adrian.hunter@...ia.com>,
	"Bityutskiy Artem (Nokia-D/Helsinki)" <Artem.Bityutskiy@...ia.com>,
	"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
	"kay.sievers@...y.org" <kay.sievers@...y.org>, jack@...e.cz
Subject: Re: [PATCH 4/5] FAT: notify userspace of fs errors with uevents

On Thu, Jun 11, 2009 at 02:24:48PM +0200, Karpov Denis.2 (EXT-Teleca/Helsinki) wrote:
> Add mechnism to optionally notify userspace about fs errors with
> uevents associated with fs kobject's attribute:
> 	/sys/fs/fat/<part_bdev>/fs_fault
> 
> uevent's type is KOBJ_CHANGE, uevent's environment variable FS_FAULT=1.

As Jan and Artem pointed out in the earlier thread, 'notify' mount option 
that would make fs use this mechanism doesn't make much sense.
So, send notification uevents unconditionally, fixed patch is attached
(nevermind patch5/5).

Denis

View attachment "0004-FAT-notify-userspace-of-fs-errors-with-uevents.patch" of type "text/x-diff" (5116 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ