commit | 638a8439096c582bdb523fcea9d875d3e1fed38a | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@linux-foundation.org> | Mon Aug 08 11:33:23 2011 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Aug 08 11:33:23 2011 -0700 |
tree | 096f759911f2b3346e30c5ddba61537b1ef42c28 | |
parent | 27e4e4362756a78b15e83ef104c8bbe257f40f90 [diff] |
cred: use 'const' in get_current_{user,groups} Avoid annoying warnings from these functions ("discards qualifiers") because they assign 'current_cred()' to a non-const pointer. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>