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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 02 Oct 2009 22:40:26 -0400
From:	Nick Dokos <nicholas.dokos@...com>
To:	Mingming <cmm@...ibm.com>
Cc:	Eric Sandeen <sandeen@...hat.com>,
	Andreas Dilger <adilger@....com>, linux-ext4@...r.kernel.org,
	Eric Sandeen <esandeen@...hat.com>,
	Subrata Modak <subrata@...ux.vnet.ibm.com>,
	Dave Jones <davej@...hat.com>, linux-fsdevel@...r.kernel.org,
	nicholas.dokos@...com
Subject: Re: Updated fsx.c program (fixed fallocate)

Mingming wrote:
> > I think that
> > 
> > #define _GNU_SOURCE
> > 
> > will pull in the glibc headers' definition rather than doing our own....
> > 
> 
> Oh? that's sounds good...
> 
> I tried to replace above with 
> #define _GNU_SOURCE	1
> 
> gcc complained O_DIRECT is still not defined. what did I missing?
> 


,----
| #define _GNU_SOURCE 1
| 
| #include <fcntl.h>
`----

should do it.

Nick
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ