diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-01-21 10:03:13 -0800 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2012-01-24 16:37:55 -0800 |
commit | f05e53a7fbb28c951c0c8cf3963fa8019ae1d4d3 (patch) | |
tree | aa8f66eb061b79be46619cfe7717bd64663cee1b /arch/tile | |
parent | bd295b56cfae85f2dd6c2b03951480c91e6d08f3 (diff) |
sysctl: Create local copies of directory names used in paths
Creating local copies of directory names is a good idea for
two reasons.
- The dynamic names used by callers must be copied into new
strings by the callers today to ensure the strings do not
change between register and unregister of the sysctl table.
- Sysctl directories have a potentially different lifetime
than the time between register and unregister of any
particular sysctl table.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'arch/tile')
0 files changed, 0 insertions, 0 deletions