bugThe GNU Hurd - Bugs: bug #48437, diskfs_S_file_set_translator...

 
 

bug #48437: diskfs_S_file_set_translator shortcutting "/hurd/fifo" to S_IFIFO discards options

Submitted by:  Kalle Olavi Niemitalo <kon>
Submitted on:  Thu 07 Jul 2016 12:31:28 PM UTC  
 
Category: Hurd ServersSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: OpenReproducibility: Every Time
Size (loc): NonePlanned 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.

 

Thu 07 Jul 2016 12:31:28 PM UTC, original submission:

Using hurd 1:0.8.git20160522-4 from Debian:

The output from showtrans should have been "/hurd/fifo --multiple-readers".
This happens on ext2fs and tmpfs.

ext2fs uses libdiskfs/file-set-trans.c, which recognizes "/hurd/fifo" and converts it to S_IFIFO, but ignores the arguments. In contrast, if it converts "/hurd/symlink" to S_IFLNK, it saves the first argument of the translator as the target of the symlink (and ignores any remaining arguments). I think it should check that it understood everything that was in the arguments, and if not, save the arguments unchanged as if it hadn't recognized the translator.

Kalle Olavi Niemitalo <kon>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by kon (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1