Re: [PATCH] mark address_space_operations const

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

 



On Tue, May 09, 2006 at 11:00:39AM +0530, Prasanna S Panchamukhi wrote:
> I understand that making file operations .rodata was
> to prevent binary driver authors overriding individual
> file_operations members at runtime.

No, it's not.  operation vectors should always be const for correctness.
Msarking them const ensures that, aswell as avoiding false cache
sharing, etc.  Nothing about licenses at all.

And example for things this is supposed to prevent is the stuff you did
in the userspace probes after smoking far too much crack.

-
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