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]
Date:	Sun, 04 Oct 2009 01:37:25 -0600
From:	Andreas Dilger <adilger@....com>
To:	Eric Sandeen <sandeen@...hat.com>
Cc:	nicholas.dokos@...com, Mingming <cmm@...ibm.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
Subject: Re: Updated fsx.c program (fixed fallocate)

On Oct 02, 2009  22:40 -0500, Eric Sandeen wrote:
> yep, works for me as long as I define it ahead of any #includes (not  
> sure just fcntl is enough, but anyway; just put it at the top).

My bad - our Makefile defines _GNU_SOURCE for all of our test programs...

> --- fsx.c.orig	2009-10-02 22:40:15.816142278 -0500
> +++ fsx.c	2009-10-02 22:40:26.886145268 -0500
> @@ -42,6 +42,8 @@
>   *
>   */
>
> +#define _GNU_SOURCE
> +
>  #include <sys/types.h>
>  #include <sys/stat.h>
>  #if defined(_UWIN) || defined(__linux__)

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.

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