mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* ptrace + ioctl( LOOP_SET_FD ) brokeness.
@ 2003-11-13 21:55 Erik A. Hendriks
  2003-11-14 13:09 ` Bernhard Kaindl
  0 siblings, 1 reply; 3+ messages in thread
From: Erik A. Hendriks @ 2003-11-13 21:55 UTC (permalink / raw)
  To: linux-kernel

The following hangs reliably on 2.4.22 (test on x86 and x86_64):

strace mount -o loop somefile /mnt

the mount program ends up wedged in the D state.  The last file lines
of the strace look like this:

open("/dev/loop0", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, 0x4c03, 0xbfffded0)            = -1 ENXIO (No such device or address)
close(3)                                = 0
open("xxx", O_RDWR|O_LARGEFILE)         = 3
open("/dev/loop0", O_RDWR|O_LARGEFILE)  = 4
mlockall(MCL_CURRENT|MCL_FUTURE)        = 0
ioctl(4, 0x4c00


- Erik

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-11-14 13:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-13 21:55 ptrace + ioctl( LOOP_SET_FD ) brokeness Erik A. Hendriks
2003-11-14 13:09 ` Bernhard Kaindl
2003-11-14 13:29   ` Arjan van de Ven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®