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: <44F400EA.5020506@aitel.hist.no>
Date:	Tue, 29 Aug 2006 10:55:06 +0200
From:	Helge Hafting <helge.hafting@...el.hist.no>
To:	Böszörményi Zoltán <zboszor@...aweb.hu>
CC:	linux-kernel@...r.kernel.org
Subject: Re: How to determine whether a file was opened O_DIRECT?

Böszörményi Zoltán wrote:
> Hi,
>
> I would like to run some diagnostics on a database
> process and I would like to know what flags it used
> for opening its files. Is there any way to get this info?
>
> Thanks in advance,
> Zoltán Böszörményi
>   
1. Look at the source code for the database - if you have it.
2. Run your database under strace, then search the voluminous
    output for "open" calls and look at the flags.
3. Patch your kernel to "printk" information whenever
    someone opens with O_DIRECT.

Helge Hafting
-
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