https://github.com/torvalds/linux
Revision b914152a6fbd2cd0441bc293ae8b3f3f1a9407b6 authored by J. Bruce Fields on 21 January 2009, 00:34:22 UTC, committed by J. Bruce Fields on 27 January 2009, 22:26:59 UTC
Since override_creds() took its own reference on new, we need to release
our own reference.

(Note the put_cred on the return value puts the *old* value of
current->creds, not the new passed-in value).

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
1 parent bf935a7
Raw File
Tip revision: b914152a6fbd2cd0441bc293ae8b3f3f1a9407b6 authored by J. Bruce Fields on 21 January 2009, 00:34:22 UTC
nfsd: fix cred leak on every rpc
Tip revision: b914152
.gitignore
#
# NOTE! Don't add files that are generated in specific
# subdirectories here. Add them in the ".gitignore" file
# in that subdirectory instead.
#
# NOTE! Please use 'git-ls-files -i --exclude-standard'
# command after changing this file, to see if there are
# any tracked files which get ignored after the change.
#
# Normal rules
#
.*
*.o
*.o.*
*.a
*.s
*.ko
*.so
*.so.dbg
*.mod.c
*.i
*.lst
*.symtypes
*.order
*.elf
*.bin
*.gz

#
# Top-level generic files
#
tags
TAGS
vmlinux
System.map
Module.markers
Module.symvers
!.gitignore
!.mailmap

#
# Generated include files
#
include/asm
include/asm-*/asm-offsets.h
include/config
include/linux/autoconf.h
include/linux/compile.h
include/linux/version.h
include/linux/utsrelease.h
include/linux/bounds.h

# stgit generated dirs
patches-*

# quilt's files
patches
series

# cscope files
cscope.*
ncscope.*

*.orig
*~
\#*#
back to top