Searched hist:"498052 bba55ecaff58db6a1436b0e25bfd75a7ff" (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/fs/ |
H A D | fs_struct.c | diff 498052bba55ecaff58db6a1436b0e25bfd75a7ff Mon Mar 30 06:20:30 CDT 2009 Al Viro <viro@zeniv.linux.org.uk> New locking/refcounting for fs_struct
* all changes of current->fs are done under task_lock and write_lock of old fs->lock * refcount is not atomic anymore (same protection) * its decrements are done when removing reference from current; at the same time we decide whether to free it. * put_fs_struct() is gone * new field - ->in_exec. Set by check_unsafe_exec() if we are trying to do execve() and only subthreads share fs_struct. Cleared when finishing exec (success and failure alike). Makes CLONE_FS fail with -EAGAIN if set. * check_unsafe_exec() may fail with -EAGAIN if another execve() from subthread is in progress.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|
H A D | internal.h | diff 498052bba55ecaff58db6a1436b0e25bfd75a7ff Mon Mar 30 06:20:30 CDT 2009 Al Viro <viro@zeniv.linux.org.uk> New locking/refcounting for fs_struct
* all changes of current->fs are done under task_lock and write_lock of old fs->lock * refcount is not atomic anymore (same protection) * its decrements are done when removing reference from current; at the same time we decide whether to free it. * put_fs_struct() is gone * new field - ->in_exec. Set by check_unsafe_exec() if we are trying to do execve() and only subthreads share fs_struct. Cleared when finishing exec (success and failure alike). Makes CLONE_FS fail with -EAGAIN if set. * check_unsafe_exec() may fail with -EAGAIN if another execve() from subthread is in progress.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|
H A D | exec.c | diff 498052bba55ecaff58db6a1436b0e25bfd75a7ff Mon Mar 30 06:20:30 CDT 2009 Al Viro <viro@zeniv.linux.org.uk> New locking/refcounting for fs_struct
* all changes of current->fs are done under task_lock and write_lock of old fs->lock * refcount is not atomic anymore (same protection) * its decrements are done when removing reference from current; at the same time we decide whether to free it. * put_fs_struct() is gone * new field - ->in_exec. Set by check_unsafe_exec() if we are trying to do execve() and only subthreads share fs_struct. Cleared when finishing exec (success and failure alike). Makes CLONE_FS fail with -EAGAIN if set. * check_unsafe_exec() may fail with -EAGAIN if another execve() from subthread is in progress.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|
/openbmc/linux/include/linux/ |
H A D | fs_struct.h | diff 498052bba55ecaff58db6a1436b0e25bfd75a7ff Mon Mar 30 06:20:30 CDT 2009 Al Viro <viro@zeniv.linux.org.uk> New locking/refcounting for fs_struct
* all changes of current->fs are done under task_lock and write_lock of old fs->lock * refcount is not atomic anymore (same protection) * its decrements are done when removing reference from current; at the same time we decide whether to free it. * put_fs_struct() is gone * new field - ->in_exec. Set by check_unsafe_exec() if we are trying to do execve() and only subthreads share fs_struct. Cleared when finishing exec (success and failure alike). Makes CLONE_FS fail with -EAGAIN if set. * check_unsafe_exec() may fail with -EAGAIN if another execve() from subthread is in progress.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|
/openbmc/linux/fs/proc/ |
H A D | task_nommu.c | diff 498052bba55ecaff58db6a1436b0e25bfd75a7ff Mon Mar 30 06:20:30 CDT 2009 Al Viro <viro@zeniv.linux.org.uk> New locking/refcounting for fs_struct
* all changes of current->fs are done under task_lock and write_lock of old fs->lock * refcount is not atomic anymore (same protection) * its decrements are done when removing reference from current; at the same time we decide whether to free it. * put_fs_struct() is gone * new field - ->in_exec. Set by check_unsafe_exec() if we are trying to do execve() and only subthreads share fs_struct. Cleared when finishing exec (success and failure alike). Makes CLONE_FS fail with -EAGAIN if set. * check_unsafe_exec() may fail with -EAGAIN if another execve() from subthread is in progress.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|
/openbmc/linux/kernel/ |
H A D | fork.c | diff 498052bba55ecaff58db6a1436b0e25bfd75a7ff Mon Mar 30 06:20:30 CDT 2009 Al Viro <viro@zeniv.linux.org.uk> New locking/refcounting for fs_struct
* all changes of current->fs are done under task_lock and write_lock of old fs->lock * refcount is not atomic anymore (same protection) * its decrements are done when removing reference from current; at the same time we decide whether to free it. * put_fs_struct() is gone * new field - ->in_exec. Set by check_unsafe_exec() if we are trying to do execve() and only subthreads share fs_struct. Cleared when finishing exec (success and failure alike). Makes CLONE_FS fail with -EAGAIN if set. * check_unsafe_exec() may fail with -EAGAIN if another execve() from subthread is in progress.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|