Re: [PATCH] ima-evm-utils: Enable large-file support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bruno,

On Tue, Aug 20, 2019 at 12:19:39PM -0300, Bruno Meneguele wrote:
> On Mon, Aug 19, 2019 at 11:25:07PM +0300, Vitaly Chikunov wrote:
> > Some architectures require special measures to access large files (LFS).
> > Add `AC_SYS_LARGEFILE' to `configure.ac' to handle this.
> > 
> > It seems that ABI is not changed with this.
> > 
> > Signed-off-by: Vitaly Chikunov <vt@xxxxxxxxxxxx>
> > ---
> >  configure.ac | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/configure.ac b/configure.ac
> > index 3f21ba4..02bd6f8 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -8,6 +8,7 @@ AC_CONFIG_MACRO_DIR([m4])
> >  
> >  AC_CANONICAL_HOST
> >  AC_USE_SYSTEM_EXTENSIONS
> > +AC_SYS_LARGEFILE
> >  
> 
> Should we also add AC_FUNC_FSEEKO?
> 
> I can't see any use of fseek or ftell in the code, but if we are
> enabling AC_SYS_LARGEFILE by default we also should check for
> AC_FUNC_FSEEKO in order to allow the use of fseeko/ftello whenever
> needed.

I thought about AC_FUNC_FSEEKO, but we don't use fseeko/ftello, so it
didn't look useful.

Thanks,


> 
> >  # Checks for programs.
> >  AC_PROG_CC
> > -- 
> > 2.11.0
> > 





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux