~ubuntu-branches/ubuntu/trusty/ecryptfs-utils/trusty-security

« back to all changes in this revision

Viewing changes to tests/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Dustin Kirkland, Eric Lammerts, Tyler Hicks, Colin King, Dustin Kirkland
  • Date: 2012-10-25 16:13:28 UTC
  • mfrom: (1.1.46) (43.1.1 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20121025161328-wb9k7d5h8xiur2hv
[ Eric Lammerts ]
* src/libecryptfs/sysfs.c: LP: #1007880
  - Handle NULL mnt pointer when sysfs is not mounted

[ Tyler Hicks ]
* src/utils/ecryptfs-migrate-home: LP: #1026180
  - Correct minor misspelling
* src/utils/ecryptfs-recover-private: LP: #1004082
  - Fix option parsing when --rw is specified
* src/utils/ecryptfs-recover-private: LP: #1028923
  - Simplify success message to prevent incorrectly reporting that a
    read-only mount was performed when the --rw option is specified
* tests/lib/etl_func.sh:
  - Add test library function to return a lower path from an upper path,
    based on inode numbers
* tests/kernel/mmap-close.sh, tests/kernel/mmap-close/test.c:
  - Add regression test for open->mmap()->close()->dirty memory->munmap()
    pattern
* tests/kernel/lp-561129.sh:
  - Add test for checking that a pre-existing target inode is properly
    evicted after a rename
* tests/README:
  - Add documentation on the steps to take when adding new test cases

[ Colin King ]
* tests/kernel/lp-911507.sh:
  - Add test case for initializing empty lower files during open()
* tests/kernel/lp-872905.sh:
  - Add test case to check for proper unlinking of lower files when
    lower file initialization fails
* src/key_mod/ecryptfs_key_mod_openssl.c,
  src/key_mod/ecryptfs_key_mod_pkcs11_helper.c,
  src/libecryptfs/key_management.c,
  src/utils/mount.ecryptfs_private.c, src/utils/umount.ecryptfs.c:
  - address some issues raised by smatch static analysis
  - fix some memory leaks with frees
  - fix some pointer refs and derefs
  - fix some comment typos

[ Dustin Kirkland ]
* src/libecryptfs/key_management.c:
  - silence pam error message when errno == EACCES
    + "Error attempting to parse .ecryptfsrc file; rc = [-13]"
* src/utils/mount.ecryptfs_private.c: LP: #1052038
  - fix race condition, which typically manifests itself with a user
    saying that their home directory is not accessible, or that their
    filenames are not decrypted
  - the root of the problem is that we were reading the signature file,
    ~/.ecryptfs/Private.sig, twice; in some cases, the first one succeeds,
    so the file encryption signature is read and key is loaded, but then
    some other process (usually from PAM, perhaps a cron job or a
    subsequent login) mounts the home directory before the filename
    encryption key is loaded;  thus, $HOME is mounted but filenames are
    not decrypted, so the second read of ~/.ecryptfs/Private.sig fails
    as that file is not found
  - the solution is to rework the internal fetch_sig() function and read
    one or both signatures within a single open/read/close operation of
    the file
  - free memory used by char **sig on failure
* debian/copyright:
  - fix lintian warning
* precise

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile.in generated by automake 1.11.3 from Makefile.am.
 
1
# Makefile.in generated by automake 1.11.6 from Makefile.am.
2
2
# @configure_input@
3
3
 
4
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
16
16
@SET_MAKE@
17
17
 
18
18
VPATH = @srcdir@
 
19
am__make_dryrun = \
 
20
  { \
 
21
    am__dry=no; \
 
22
    case $$MAKEFLAGS in \
 
23
      *\\[\ \   ]*) \
 
24
        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
 
25
          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
 
26
      *) \
 
27
        for am__flg in $$MAKEFLAGS; do \
 
28
          case $$am__flg in \
 
29
            *=*|--*) ;; \
 
30
            *n*) am__dry=yes; break;; \
 
31
          esac; \
 
32
        done;; \
 
33
    esac; \
 
34
    test $$am__dry = yes; \
 
35
  }
19
36
pkgdatadir = $(datadir)/@PACKAGE@
20
37
pkgincludedir = $(includedir)/@PACKAGE@
21
38
pkglibdir = $(libdir)/@PACKAGE@
36
53
host_triplet = @host@
37
54
target_triplet = @target@
38
55
subdir = tests
39
 
DIST_COMMON = $(dist_noinst_SCRIPTS) $(srcdir)/Makefile.am \
 
56
DIST_COMMON = README $(dist_noinst_SCRIPTS) $(srcdir)/Makefile.am \
40
57
        $(srcdir)/Makefile.in
41
58
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42
59
am__aclocal_m4_deps = $(top_srcdir)/m4/ac_pkg_swig.m4 \
61
78
        install-pdf-recursive install-ps-recursive install-recursive \
62
79
        installcheck-recursive installdirs-recursive pdf-recursive \
63
80
        ps-recursive uninstall-recursive
 
81
am__can_run_installinfo = \
 
82
  case $$AM_UPDATE_INFO_DIR in \
 
83
    n|no|NO) false;; \
 
84
    *) (install-info --version) >/dev/null 2>&1;; \
 
85
  esac
64
86
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
65
87
  distclean-recursive maintainer-clean-recursive
66
88
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
505
527
        done
506
528
        @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
507
529
          if test "$$subdir" = .; then :; else \
508
 
            test -d "$(distdir)/$$subdir" \
509
 
            || $(MKDIR_P) "$(distdir)/$$subdir" \
510
 
            || exit 1; \
511
 
          fi; \
512
 
        done
513
 
        @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
514
 
          if test "$$subdir" = .; then :; else \
 
530
            $(am__make_dryrun) \
 
531
              || test -d "$(distdir)/$$subdir" \
 
532
              || $(MKDIR_P) "$(distdir)/$$subdir" \
 
533
              || exit 1; \
515
534
            dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
516
535
            $(am__relativize); \
517
536
            new_distdir=$$reldir; \