[bug #17284] glusterfsd - file_context address passed back as fd

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug #17284] glusterfsd - file_context address passed back as fd

Eric L.-2

URL:
  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=17284>

                 Summary: glusterfsd - file_context address passed back as fd
                 Project: Gluster
            Submitted by: avati
            Submitted on: Thursday 08/03/2006 at 15:06
                Category: GlusterFS
                Severity: 6 - Security
                Priority: 5 - Normal
              Item Group: Improper behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Operating System: GNU/Linux

    _______________________________________________________

Details:

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.






    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=17284>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Gluster-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/gluster-devel
Reply | Threaded
Open this post in threaded view
|

[bug #17284] glusterfsd - file_context address passed back as fd

Eric L.-2

Update of bug #17284 (project gluster):

             Assigned to:                    None => amarts                


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=17284>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Gluster-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/gluster-devel
Reply | Threaded
Open this post in threaded view
|

[bug #17284] glusterfsd - file_context address passed back as fd

Eric L.-2

Update of bug #17284 (project gluster):

                  Status:                    None => In Progress            


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=17284>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Gluster-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/gluster-devel
Reply | Threaded
Open this post in threaded view
|

[bug #17284] glusterfsd - file_context address passed back as fd

Eric L.-2

Update of bug #17284 (project gluster):

                  Status:             In Progress => Fixed                  
             Open/Closed:                    Open => Closed                

    _______________________________________________________

Follow-up 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.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=17284>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Gluster-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/gluster-devel