[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)
commitc4b8b769fa9051838d2772886ecd0ee2a926ddc3
tree8655bdf4d05aad6f2f1d09a3835b6a3894516f04
parentcf9f151c7257683f489df85f94baf408d1d5694a
[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