fuse_get_context documentation patch from jaslong
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 21 Jan 2008 16:36:57 +0000 (16:36 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 21 Jan 2008 16:36:57 +0000 (16:36 +0000)
git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@118 6e4b0b00-1209-0410-87b2-b275959b5705

AUTHORS
Fuse.pm

diff --git a/AUTHORS b/AUTHORS
index a022364..14624f8 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -10,3 +10,4 @@ Vladimir V. Kolpakov <w@sfgate.com> - contributed cleanup for warnings
 Andrew Chadwick <andrewc@cpan.org> - fixes for Ubuntu and dh-make-perl (fakeroot)
 Chris Dolan <cdolan@cpan.org> - fixes for MacFuse 1.1.0
 Reuben Thomas <rrt@sc3d.org> - contributed examples/filter_attr_fs.pl
+jaslong from CPAN::Forum - documentation patch for fuse_get_context
diff --git a/Fuse.pm b/Fuse.pm
index 8d9bd27..9b587a3 100644 (file)
--- a/Fuse.pm
+++ b/Fuse.pm
@@ -234,6 +234,15 @@ threads::shared.)
 
 =back
 
+=head3 Fuse::fuse_get_context
+ use Fuse "fuse_get_context";
+ my $caller_uid = fuse_get_context()->{"uid"};
+ my $caller_gid = fuse_get_context()->{"gid"};
+ my $caller_pid = fuse_get_context()->{"pid"};
+Access context information about the current Fuse operation. 
+
 =head2 FUNCTIONS YOUR FILESYSTEM MAY IMPLEMENT
 
 =head3 getattr