diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-02-23 05:46:21 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-11 22:24:31 -0400 |
commit | 74008b365dcb921781f7430c1fc279be7778327b (patch) | |
tree | d601ad67cae3c3f9a10af900eecbf330e956b83e /arch/frv/kernel | |
parent | a555ad450f973528825201a5fedbe46374f86644 (diff) | |
download | linux-74008b365dcb921781f7430c1fc279be7778327b.tar.gz linux-74008b365dcb921781f7430c1fc279be7778327b.tar.bz2 linux-74008b365dcb921781f7430c1fc279be7778327b.zip |
whack-a-mole: there's no point doing set_fs(USER_DS) in sigframe setup
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/frv/kernel')
-rw-r--r-- | arch/frv/kernel/signal.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/frv/kernel/signal.c b/arch/frv/kernel/signal.c index 336713ab4745..85ca6727ca07 100644 --- a/arch/frv/kernel/signal.c +++ b/arch/frv/kernel/signal.c @@ -176,8 +176,6 @@ static int setup_frame(struct ksignal *ksig, sigset_t *set) struct sigframe __user *frame; int rsig, sig = ksig->sig; - set_fs(USER_DS); - frame = get_sigframe(ksig, sizeof(*frame)); if (!access_ok(VERIFY_WRITE, frame, sizeof(*frame))) @@ -257,8 +255,6 @@ static int setup_rt_frame(struct ksignal *ksig, sigset_t *set) struct rt_sigframe __user *frame; int rsig, sig = ksig->sig; - set_fs(USER_DS); - frame = get_sigframe(ksig, sizeof(*frame)); if (!access_ok(VERIFY_WRITE, frame, sizeof(*frame))) |