summaryrefslogtreecommitdiffstats
path: root/Documentation/mips/GT64120.README
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2006-06-25 05:48:55 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-25 10:01:20 -0700
commit9c8ef5614da22666e339b125263d315cfaa89109 (patch)
tree860044f1b2c0c6189143b1c9daf263bd8ff5e5e0 /Documentation/mips/GT64120.README
parenta4d27e75ffb7b8ecb7eed0c7db0df975525f3fd7 (diff)
downloadop-kernel-dev-9c8ef5614da22666e339b125263d315cfaa89109.zip
op-kernel-dev-9c8ef5614da22666e339b125263d315cfaa89109.tar.gz
[PATCH] fuse: scramble lock owner ID
VFS uses current->files pointer as lock owner ID, and it wouldn't be prudent to expose this value to userspace. So scramble it with XTEA using a per connection random key, known only to the kernel. Only one direction needs to be implemented, since the ID is never sent in the reverse direction. The XTEA algorithm is implemented inline since it's simple enough to do so, and this adds less complexity than if the crypto API were used. Thanks to Jesper Juhl for the idea. Signed-off-by: Miklos Szeredi <miklos@szeredi.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/mips/GT64120.README')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud