bugThe GNU Hurd - Bugs: bug #19479, Using a buggy trivfs translator to...


bug #19479: Using a buggy trivfs translator to kill you shell

Submitted by:  Thomas Schwinge <tschwinge>
Submitted on:  Sun 01 Apr 2007 01:15:00 PM UTC  
Category:  Hurd Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Invalid Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Reproducibility:  Every Time
Size (loc):  None Planned Release:  None
Effort:  0.00
Wiki-like text discussion box: 

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 28 Aug 2013 11:04:34 AM UTC, comment #1: 

This is easily explained, the shell isn't handling or ignoring SIGLOST:

% settrans -ca node ./memfile
% /bin/echo something > node
[1]    24909 resource lost  /bin/echo something > node
% settrans -ca node ./memfile
% trap 'echo oops >&2' 32
% echo something > node
echo: write error: (ipc/mig) server died

(My zsh is funny, why is something printed to the terminal instead?)

Justus Winter <teythoon>
Project Member
Sun 01 Apr 2007 01:15:00 PM UTC, original submission:  

This translator has the powers to kill itself, plus your shell (!) and maybe the screen session as well and maybe your sshd instance as well.

Everything is described in the attached `memfile.c'.

Thomas Schwinge <tschwinge>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #12364:  memfile.c added by tschwinge (3KiB - text/x-csrc)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by teythoon (Posted a comment)
  • -email is unavailable- added by tschwinge (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-02-08 teythoon StatusNone => Invalid
        Open/ClosedOpen => Closed
    2007-04-01 tschwinge Attached File- => Added memfile.c, #12364

    Back to the top

    Powered by Savane 3.7