]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] sysctl: implement sysctl_uts_string()
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 8 Dec 2006 10:39:55 +0000 (02:39 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:29:03 +0000 (08:29 -0800)
commitf8c853c3dd83997829cdaa867ffe7d42d6ba0132
tree8655bdf4d05aad6f2f1d09a3835b6a3894516f04
parent12b8c1a67962fd9c3015bd424fa140a2b05664f2
[PATCH] sysctl: implement sysctl_uts_string()

The problem: When using sys_sysctl we don't read the proper values for the
variables exported from the uts namespace, nor do we do the proper locking.

This patch introduces sysctl_uts_string which properly fetches the values and
does the proper locking.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/sysctl.c