diff options
author | netchild <netchild@FreeBSD.org> | 2010-11-15 13:07:10 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2010-11-15 13:07:10 +0000 |
commit | ec2a62f430591735de256593e313614871f996b3 (patch) | |
tree | 144b96eaaafb0e6f84f0553267dc090f1dd971f5 /sys/compat/linux | |
parent | d3aba4235e74d0db06b04e0581038d0ec62dd93d (diff) | |
download | FreeBSD-src-ec2a62f430591735de256593e313614871f996b3.zip FreeBSD-src-ec2a62f430591735de256593e313614871f996b3.tar.gz |
Some style(9) fixes.
Submitted by: arundel
MFC after: 1 week
Diffstat (limited to 'sys/compat/linux')
-rw-r--r-- | sys/compat/linux/linux_futex.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/compat/linux/linux_futex.c b/sys/compat/linux/linux_futex.c index c080dbc..dc7e669 100644 --- a/sys/compat/linux/linux_futex.c +++ b/sys/compat/linux/linux_futex.c @@ -656,7 +656,7 @@ linux_sys_futex(struct thread *td, struct linux_sys_futex_args *args) linux_msg(td, "linux_sys_futex: " "unsupported futex_requeue op\n"); - em->used_requeue = 1; + em->used_requeue = 1; } return (EINVAL); @@ -701,7 +701,7 @@ linux_set_robust_list(struct thread *td, struct linux_set_robust_list_args *args em->robust_futexes = args->head; EMUL_UNLOCK(&emul_lock); - return (0); + return (0); } int @@ -719,7 +719,7 @@ linux_get_robust_list(struct thread *td, struct linux_get_robust_list_args *args if (!args->pid) { em = em_find(td->td_proc, EMUL_DONTLOCK); - head = em->robust_futexes; + head = em->robust_futexes; } else { struct proc *p; @@ -729,14 +729,14 @@ linux_get_robust_list(struct thread *td, struct linux_get_robust_list_args *args em = em_find(p, EMUL_DONTLOCK); /* XXX: ptrace? */ - if (priv_check(td, PRIV_CRED_SETUID) || + if (priv_check(td, PRIV_CRED_SETUID) || priv_check(td, PRIV_CRED_SETEUID) || p_candebug(td, p)) { PROC_UNLOCK(p); return (EPERM); } head = em->robust_futexes; - + PROC_UNLOCK(p); } |