lp:~tyhicks/ecryptfs/fix-build-system-for-lfs

Created by Tyler Hicks and last modified
Get this branch:
bzr branch lp:~tyhicks/ecryptfs/fix-build-system-for-lfs
Only Tyler Hicks can upload to this branch. If you are Tyler Hicks please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Tyler Hicks
Project:
eCryptfs
Status:
Merged

Recent revisions

799. By Tyler Hicks

* tests/userspace/lfs.sh, tests/userspace/lfs/test.c:
  - Add a test to verify that LFS is enabled. This test is run under the
    make check target.

798. By Tyler Hicks

* debian/rules:
  - Don't append '-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' to the CFLAGS
    now that the upstream build enables LFS

797. By Tyler Hicks

* tests/kernel/extend-file-random/test.c, tests/kernel/llseek/test.c:
  - Fix print format warnings on 32 bit architectures due to off_t now being
    turned into off64_t because of Large File Support

796. By Tyler Hicks

* tests/kernel/enospc/test.c:
  - Fix test failures on 32 bit architectures due to large file sizes
    overflowing data types
  - Fix potential test bug if a short write() occurs by subtracting the return
    value of write() rather than always subtracting the input buffer size
  - Remove unused variables

795. By Tyler Hicks

* configure.ac:
  - Enable large file support (LFS) through the use of the AC_SYS_LARGEFILE
    autoconf macro. ecryptfs-utils has been well tested with LFS enabled
    because ecryptfs-utils is being built with
    '-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' in Debian-based distros. This
    is mainly needed for some of the in-tree regression tests but
    ecryptfs-utils, in general, should be built with LFS enabled.

794. By Tyler Hicks

* src/utils/Makefile.am:
  - Fix automake warning:
  'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')

793. By Tyler Hicks

* src/utils/mount.ecryptfs_private.c:
  - Fix new build warning because _GNU_SOURCE is already defined in config.h
    due to the use of the AC_GNU_SOURCE macro

792. By Tyler Hicks

* configure.ac:
  - Set AM_CPPFLAGS to always include config.h as the first include file.
    Some .c files correctly included config.h before anything else. The
    majority of .c files got this wrong by including it after other header
    files, including it multiple times, or not including it at all.
    Including it in the AM_CPPFLAGS should solve these problems and keep
    future mistakes from happening in new source files.
* Additionally, all instances of '#include "config.h"' were removed from
  the tree

791. By Dustin Kirkland 

* src/key_mod/ecryptfs_key_mod_passphrase.c, src/libecryptfs/main.c,
  src/pam_ecryptfs/pam_ecryptfs.c:
  - more Coverity fixes, memory leak, error checking, etc.

790. By Colin Ian King

* src/libecryptfs/decision_graph.c
  - free param_vals on error handling exits

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ecryptfs
This branch contains Public information 
Everyone can see this information.

Subscribers