~ubuntu-branches/ubuntu/raring/shadow/raring-proposed

« back to all changes in this revision

Viewing changes to debian/patches/406_vipw_resume_properly

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2009-05-05 09:45:21 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090505094521-wpk2wn3q7957tlah
Tags: 1:4.1.3.1-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Ubuntu specific:
    + debian/login.defs: use SHA512 by default for password crypt routine.
  - debian/patches/stdout-encrypted-password.patch: chpasswd can report
    password hashes on stdout (debian bug 505640).
  - debian/login.pam: Enable SELinux support (debian bug 527106).
  - debian/securetty.linux: support Freescale MX-series (debian bug 527095).
* Add debian/patches/300_lastlog_failure: fixed upstream (debian bug 524873).
* Drop debian/patches/593_omit_lastchange_field_if_clock_is_misset: fixed
  upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Goal: Resume properly after ^Z
2
 
 
3
 
Fix: #414542
4
 
 
5
 
Author: dean gaudet <dean@arctic.org>
6
 
 
7
 
Status wrt upstream: Fixed upstream
8
 
 
9
 
Index: shadow-4.1.0/src/vipw.c
10
 
===================================================================
11
 
--- shadow-4.1.0.orig/src/vipw.c
12
 
+++ shadow-4.1.0/src/vipw.c
13
 
@@ -208,7 +208,7 @@
14
 
                pid = waitpid (pid, &status, WUNTRACED);
15
 
                if (WIFSTOPPED (status)) {
16
 
                        kill (getpid (), SIGSTOP);
17
 
-                       kill (getpid (), SIGCONT);
18
 
+                       kill (pid, SIGCONT);
19
 
                } else
20
 
                        break;
21
 
        }