lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071020185806.GA6575@thunk.org>
Date:	Sat, 20 Oct 2007 14:58:06 -0400
From:	Theodore Tso <tytso@....edu>
To:	linux-kernel@...r.kernel.org
Subject: Potential regression in -git15: can't resume stopped root shell?

I was testing 2.6.23-git15, and I'm noticing that if I su to root, then
suspend the root shell, and try continue it via "fg", it hangs.  The ps
command reports:

15806  6386  19   0  4012 wait                 Ss   pts/0    00:00:00 bash
    0  6444  19   0  1232 finish_stop          T+   pts/0    00:00:00 /bin/su -p
    0  6445  19   0  3696 finish_stop          T    pts/0    00:00:00 bash
15806  6571  19   0   776 pipe_wait            S+   pts/1    00:00:00 grep pts/0

This works under 2.6.23.  I am running Ubuntu Gutsy running in a
gnome-terminal, with bash as my login shell.  I can suspend a zsh or
bash shell where I haven't su'ed to root.  But if the shell is started
using either su or sudo, when I try to resume it after suspending
using the "suspend" command via "fg", I get a hung shell.

I haven't had time to bisect it yet, but I thought I'd throw it out
there in case this rings a bell with anybody...

					    - Ted


View attachment ".config" of type "text/plain" (65163 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ