This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] guard fallocate[64] syscall on availability of__NR_fallocate


On Tue, 2009-03-17 at 17:01 -0500, Ryan Arnold wrote:

> I've tested and verified that both code paths compile and pass make
> check.
> 
> 2009-03-17  Ryan S. Arnold  <rsa@us.ibm.com>
> 
> 	* sysdeps/unix/sysv/linux/fallocate.c (fallocate): return ENOSYS if
> 	!defined __ASSUME_FALLOCATE and !defined __NR_fallocate.
> 	* sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Same.

I also tested --with-kernel=2.6.24 so I hit the __ASSUME_FALLOCATE path
as well.

Ryan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]