~vicamo/ubuntu/+source/apport:for-upstream/implement-apport-bug-project

Last commit made on 2020-01-13
Get this branch:
git clone -b for-upstream/implement-apport-bug-project https://git.launchpad.net/~vicamo/ubuntu/+source/apport
Only You-Sheng Yang can upload to this branch. If you are You-Sheng Yang please log in for upload directions.

Branch merges

Branch information

Name:
for-upstream/implement-apport-bug-project
Repository:
lp:~vicamo/ubuntu/+source/apport

Recent commits

b458893... by =?utf-8?q?Tiago_St=C3=BCrmer_Daitx?= <email address hidden>

Import patches-unapplied version 2.20.11-0ubuntu16 to ubuntu/focal-proposed

Imported using git-ubuntu import.

Changelog parent: 786f607c01f3b9e7dd7a7d0f99176154ec114b58

New changelog entries:
  * SECURITY REGRESSION: 'module' object has no attribute 'O_PATH'
    (LP: #1851806)
    - apport/report.py, apport/ui.py: use file descriptors for /proc/pid
      directory access only when running under python 3; prevent reading /proc
      maps under python 2 as it does not provide a secure way to do so; use
      io.open for better compatibility between python 2 and 3.
  * data/apport: fix number of arguments passed through socks into a container.
  * test/test_report.py: test login session with both pid and proc_pid_fd.

786f607... by Brian Murray

Import patches-unapplied version 2.20.11-0ubuntu15 to ubuntu/focal-proposed

Imported using git-ubuntu import.

Changelog parent: e2c1efb3538c5ab86bae6b9c2ebe3212652446f9

New changelog entries:
   * etc/apport/crashdb.conf: Enable Launchpad crash reports for focal.

e2c1efb... by Brian Murray

Import patches-unapplied version 2.20.11-0ubuntu14 to ubuntu/focal-proposed

Imported using git-ubuntu import.

Changelog parent: 86f48996ad6f496d7ae78c83fab439b704d0d08e

New changelog entries:
  * apport/report.py, test/test_report.py: handle the fact that gdb now
    returns a different error message for truncated core files in some cases.
  * bin/oem-getlogs: add in script for getting hardware enablement related
    logs. Thanks to Yuan-Chen Cheng for the code. (LP: #1841157)
  * apport/hookutils.py: also gather lsusb -v and lsusb -t. Thanks to
    Yuan-Chen Cheng for the patch.
  * bin/oem-getlogs: Various pep8 / pyflakes fixes.

86f4899... by Michael Hudson-Doyle

Import patches-unapplied version 2.20.11-0ubuntu13 to ubuntu/focal-proposed

Imported using git-ubuntu import.

Changelog parent: c076f72ac053715de17e890a05679a7f55e755a5

New changelog entries:
  [ Brian Murray ]
  * Create additional symlinks to the source_linux.py apport package hook for
    many OEM kernels. Thanks to You-Sheng Yang for the patch. (LP: #1847967)
  [ Michael Hudson-Doyle ]
  * Fix autopkgtest failures since recent security update: (LP: #1854237)
    - Fix regression in creating report for crashing setuid process by getting
      kernel to tell us the executable path rather than reading
      /proc/[pid]/exe.
    - Fix deletion of partially written core files.
    - Fix test_get_logind_session to use new API.
    - Restore add_proc_info raising ValueError for a dead process.
    - Delete test_lock_symlink, no longer applicable now that the lock is
      created in a directory only root can write to.

c076f72... by Steve Langasek

Import patches-unapplied version 2.20.11-0ubuntu12 to ubuntu/focal-proposed

Imported using git-ubuntu import.

Changelog parent: 2bf8f399bc1861882ad6f1ed4b5c023fbcce59a5

New changelog entries:
  [ Steve Langasek ]
  * Drop python2 bindings.
  [ Tiago Stürmer Daitx ]
  * debian/control: point VCS to focal repository.

2bf8f39... by =?utf-8?q?Tiago_St=C3=BCrmer_Daitx?= <email address hidden>

Import patches-unapplied version 2.20.11-0ubuntu11 to ubuntu/focal-proposed

Imported using git-ubuntu import.

Changelog parent: 65e201c8ac1fd22d60cbd5da775b7c46f0c62020

New changelog entries:
  * SECURITY REGRESSION: missing argument in Report.add_proc_environ
    call (LP: #1850929)
    - apport/report.py: call add_proc_environ using named arguments
      and move proc_pid_dir keyword to last to keep api compatibility.

65e201c... by =?utf-8?q?Tiago_St=C3=BCrmer_Daitx?= <email address hidden>

Import patches-unapplied version 2.20.11-0ubuntu10 to ubuntu/focal-proposed

Imported using git-ubuntu import.

Changelog parent: 4f87c5437db839591742415dec660f7a76f2a142

New changelog entries:
  * SECURITY UPDATE: apport reads arbitrary files if ~/.config/apport/settings
    is a symlink (LP: #1830862)
    - apport/fileutils.py: drop permissions before reading user settings file.
    - CVE-2019-11481
  * SECURITY UPDATE: TOCTTOU race conditions and following symbolic
    links when creating a core file (LP: #1839413)
    - data/apport: use file descriptor to reference to cwd instead
      of strings.
    - CVE-2019-11482
  * SECURITY UPDATE: fully user controllable lock file due to lock file
    being located in world-writable directory (LP: #1839415)
    - data/apport: create and use lock file from /var/lock/apport.
    - CVE-2019-11485
  * SECURITY UPDATE: per-process user controllable Apport socket file
    (LP: #1839420)
    - data/apport: forward crashes only under a valid uid and gid,
      thanks Stéphane Graber for the patch.
    - CVE-2019-11483
  * SECURITY UPDATE: PID recycling enables an unprivileged user to
    generate and read a crash report for a privileged process (LP: #1839795)
    - data/apport: drop permissions before adding proc info (special thanks
      to Kevin Backhouse for the patch)
    - data/apport, apport/report.py, apport/ui.py: only access or open
      /proc/[pid] through a file descriptor for that directory.
    - CVE-2019-15790

4f87c54... by Steve Langasek

Import patches-unapplied version 2.20.11-0ubuntu9 to ubuntu/focal-proposed

Imported using git-ubuntu import.

Changelog parent: a5929e1a4180a39b282b9864ae384da02c9df851

New changelog entries:
  * Use an SRU-safe substring when checking for the available version of
    aspell-doc in xenial, since aspell *did* have an SRU.

a5929e1... by Brian Murray

Import patches-unapplied version 2.20.11-0ubuntu8 to ubuntu/eoan-proposed

Imported using git-ubuntu import.

Changelog parent: 73cb935fa9e38bf5b9cea8a8f2a601672f04765f

New changelog entries:
  * Removed general hook which would gather information about click packages.
  * data/package-hooks/source_ubiquity: pass on a KeyError when adding
    installation logs.
  * etc/apport/crashdb.conf: Disable Launchpad crash reports for 19.04
    release.

73cb935... by Brian Murray

Import patches-unapplied version 2.20.11-0ubuntu7 to ubuntu/eoan-proposed

Imported using git-ubuntu import.

Changelog parent: fbe1df332a0b18e24e212056f3107fb54f5246aa

New changelog entries:
  * Resolve pycodestyle issues.