]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Annotate struct fs_struct's usage count restriction
authorDavid Howells <dhowells@redhat.com>
Sat, 28 Mar 2009 23:23:01 +0000 (23:23 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 29 Mar 2009 00:30:00 +0000 (17:30 -0700)
commit795e2fe0a3b69dbc040d7efcf517e0cbad6901d0
tree8d39fb27b46822003d316c8ce315211baa13b79d
parent7c2c7d993044cddc5010f6f429b100c63bc7dffb
Annotate struct fs_struct's usage count restriction

Annotate struct fs_struct's usage count to indicate the restrictions upon it.
It may not be incremented, except by clone(CLONE_FS), as this affects the
check in check_unsafe_exec() in fs/exec.c.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/fs_struct.h