Re: [PATCH] fuse: allow umask processing in userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jean-Pierre,

On Thu, 02 Jul 2009, Jean-Pierre André wrote:
> On my first try, I did not get much far. I could not compile
> the kernel module for kernel-2.6.29.5-191 because of
> undefined function current_umask(). This function
> is nowhere to be found in the kernel source.
> 
> Is this a function (or macro) missing from the proposed
> patch or part of a kernel upgrade ? In this latter case,
> can it be implemented within the patch ? If not, I would
> rather avoid installing a specific kernel for this test
> and just use a dummy version returning a fixed value.

Thank you for testing this patch.

To compile on 2.6.29 just add this line to fuse_i.h:

#define current_umask() (current->fs->umask)

> Anyway, what would be the minimal kernel version ?

The patch should work on 2.6.30 or later without problems.

Or you can try 2.6.31-rc1-git10 from www.kernel.org, which already has
this patch applied.

Thanks,
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux