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: <20061227.214149.74746689.davem@davemloft.net>
Date:	Wed, 27 Dec 2006 21:41:49 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	gordonfarquharson@...il.com
Cc:	torvalds@...l.org, ranma@...edrich.de, tbm@...ius.com,
	a.p.zijlstra@...llo.nl, andrei.popa@...eo.ro, akpm@...l.org,
	hugh@...itas.com, nickpiggin@...oo.com.au, arjan@...radead.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: fix page_mkclean_one

From: "Gordon Farquharson" <gordonfarquharson@...il.com>
Date: Wed, 27 Dec 2006 22:20:20 -0700

> and for some reason I get
> 
> linus-test.c: In function 'remap':
> linus-test.c:61: error: 'POSIX_FADV_DONTNEED' undeclared (first use in
> this function)
> 
> when I compile the program, so I replaced POSIX_FADV_DONTNEED with 4
> as defined in /usr/include/bits/fcntl.h.

Me too, I added "-D_POSIX_C_SOURCE=200112" to "fix" this.

Perhaps Linus's GCC sets that by default and our's doesn't.
-
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