bugGluster - Bugs: bug #17284, glusterfsd - file_context address...

 
 

bug #17284: glusterfsd - file_context address passed back as fd

Submitter:  Anand Avati <avati>
Submitted:  Thu 03 Aug 2006 03:06:15 PM UTC
   
 
Category:  GlusterFS Severity:  6 - Security
Priority:  5 - Normal Item Group:  Improper behaviour
Status:  Fixed Privacy:  Public
Assigned to:  amarts Originator Name:  *
Open/Closed:  Closed Release: 
Operating System:  GNU/Linux Reproducibility:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 10 Aug 2006 02:12:01 AM UTC, comment #1: 

a linked list is maintained per socket connection, where a entry gets added in every open and gets freed in every release. In case of socket close inbetween, release function of attached xlator is called.

Amar Tumballi <amarts>
Group Member
Thu 03 Aug 2006 03:06:15 PM UTC, original submission:  

the address of the struct file_context allocated is returned as the fd to the brick. This should be changed to an index number in a socket-private list of file_contexts and the address should be derived form the index number which is returned to the Brick.

Anand Avati <avati>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-08-10 amarts StatusIn Progress Fixed
    Open/ClosedOpen Closed
2006-08-04 amarts StatusNone In Progress
2006-08-03 avati Assigned toNone amarts

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code