Searched hist:"3 b1253880b7a9e6db54b943b2d40bcf2202f58ab" (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | file.h | diff 3b1253880b7a9e6db54b943b2d40bcf2202f58ab Tue Apr 22 04:31:30 CDT 2008 Al Viro <viro@zeniv.linux.org.uk> [PATCH] sanitize unshare_files/reset_files_struct
* let unshare_files() give caller the displaced files_struct * don't bother with grabbing reference only to drop it in the caller if it hadn't been shared in the first place * in that form unshare_files() is trivially implemented via unshare_fd(), so we eliminate the duplicate logics in fork.c * reset_files_struct() is not just only called for current; it will break the system if somebody ever calls it for anything else (we can't modify ->files of somebody else). Lose the task_struct * argument.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|
H A D | fs.h | diff 3b1253880b7a9e6db54b943b2d40bcf2202f58ab Tue Apr 22 04:31:30 CDT 2008 Al Viro <viro@zeniv.linux.org.uk> [PATCH] sanitize unshare_files/reset_files_struct
* let unshare_files() give caller the displaced files_struct * don't bother with grabbing reference only to drop it in the caller if it hadn't been shared in the first place * in that form unshare_files() is trivially implemented via unshare_fd(), so we eliminate the duplicate logics in fork.c * reset_files_struct() is not just only called for current; it will break the system if somebody ever calls it for anything else (we can't modify ->files of somebody else). Lose the task_struct * argument.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|
/openbmc/linux/kernel/ |
H A D | exit.c | diff 3b1253880b7a9e6db54b943b2d40bcf2202f58ab Tue Apr 22 04:31:30 CDT 2008 Al Viro <viro@zeniv.linux.org.uk> [PATCH] sanitize unshare_files/reset_files_struct
* let unshare_files() give caller the displaced files_struct * don't bother with grabbing reference only to drop it in the caller if it hadn't been shared in the first place * in that form unshare_files() is trivially implemented via unshare_fd(), so we eliminate the duplicate logics in fork.c * reset_files_struct() is not just only called for current; it will break the system if somebody ever calls it for anything else (we can't modify ->files of somebody else). Lose the task_struct * argument.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|
H A D | fork.c | diff 3b1253880b7a9e6db54b943b2d40bcf2202f58ab Tue Apr 22 04:31:30 CDT 2008 Al Viro <viro@zeniv.linux.org.uk> [PATCH] sanitize unshare_files/reset_files_struct
* let unshare_files() give caller the displaced files_struct * don't bother with grabbing reference only to drop it in the caller if it hadn't been shared in the first place * in that form unshare_files() is trivially implemented via unshare_fd(), so we eliminate the duplicate logics in fork.c * reset_files_struct() is not just only called for current; it will break the system if somebody ever calls it for anything else (we can't modify ->files of somebody else). Lose the task_struct * argument.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|
/openbmc/linux/fs/ |
H A D | exec.c | diff 3b1253880b7a9e6db54b943b2d40bcf2202f58ab Tue Apr 22 04:31:30 CDT 2008 Al Viro <viro@zeniv.linux.org.uk> [PATCH] sanitize unshare_files/reset_files_struct
* let unshare_files() give caller the displaced files_struct * don't bother with grabbing reference only to drop it in the caller if it hadn't been shared in the first place * in that form unshare_files() is trivially implemented via unshare_fd(), so we eliminate the duplicate logics in fork.c * reset_files_struct() is not just only called for current; it will break the system if somebody ever calls it for anything else (we can't modify ->files of somebody else). Lose the task_struct * argument.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|