Dealing with removal of tasklist_lock export

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

 



Hello,
	I am working on getting Unionfs to work on 2.6.18-rc2 and while it
compiles I am getting "Unknown symbol in module". The reason this is
occurring is that the export for tasklist_lock has been deprecated. If a
driver has no business taking this lock as the git comment says then
perhaps I was not doing something properly in the first place. So here
is the situation. In Unionfs there are two instances where we need to
drop/grant privileges to a specific operation. In this case we need to
be able to delete a file on the file system, however it is possible that
it was created by a different user with a umask that does not allow us
to delete it. We were grabbing a write_lock on tasklist_lock and then
calling security_capget and security_capset_set. This wasn't completely
correct to begin with since the references to this in the kernel specify
that locks are held on task_capability_lock and tasklist_lock while they
perform the operation. Is there a new method to drop/grant privileges
now that this lock is no longer visible or is this a you should try to
get into the kernel situation? Even if it is the latter of the two it
doesn't help if you want to load Unionfs as a module instead of
compiling it into the kernel.


-- 
David Quigley <dpquigl@xxxxxxxxxxxxx>

-
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