]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'for-linus-20190701' of git://git.kernel.org/pub/scm/linux/kernel/git/braun...
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2019 08:00:21 +0000 (16:00 +0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2019 08:00:21 +0000 (16:00 +0800)
commit06fb8478c77d543c532ae427b3ac8ff33d593835
tree259aadb2c5cc7263871132f27ef380a5c76a92d6
parent1fb78b6f828c03084074e1570d72a23e9ca62d42
parent358632b5b4b20010eccc1776e1d2aebcc1edb42d
Merge tag 'for-linus-20190701' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux

Pull pidfd fork() fix from Christian Brauner:
 "A single small fix for copy_process() in kernel/fork.c:

  With Al's removal of ksys_close() from cleanup paths in copy_process()
  a bug was introduced. When anon_inode_getfile() failed the cleanup was
  correctly performed but the error code was not propagated to callers
  of copy_process() causing them to operate on a nonsensical pointer.

  The fix is a simple on-liner which makes sure that a proper negative
  error code is returned from copy_process().

  syzkaller has also verified that the bug is not reproducible with this
  fix"

* tag 'for-linus-20190701' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux:
  fork: return proper negative error code