svn commit: r215662 - stable/8/sys/compat/linux
Alexander Leidinger
netchild at FreeBSD.org
Mon Nov 22 08:35:07 UTC 2010
Author: netchild
Date: Mon Nov 22 08:35:06 2010
New Revision: 215662
URL: http://svn.freebsd.org/changeset/base/215662
Log:
MFC r215339:
Some style(9) fixes.
Submitted by: arundel
Modified:
stable/8/sys/compat/linux/linux_futex.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/compat/linux/linux_futex.c
==============================================================================
--- stable/8/sys/compat/linux/linux_futex.c Mon Nov 22 08:21:58 2010 (r215661)
+++ stable/8/sys/compat/linux/linux_futex.c Mon Nov 22 08:35:06 2010 (r215662)
@@ -668,7 +668,7 @@ linux_sys_futex(struct thread *td, struc
linux_msg(td,
"linux_sys_futex: "
"unsupported futex_requeue op\n");
- em->used_requeue = 1;
+ em->used_requeue = 1;
}
return (EINVAL);
@@ -713,7 +713,7 @@ linux_set_robust_list(struct thread *td,
em->robust_futexes = args->head;
EMUL_UNLOCK(&emul_lock);
- return (0);
+ return (0);
}
int
@@ -731,7 +731,7 @@ linux_get_robust_list(struct thread *td,
if (!args->pid) {
em = em_find(td->td_proc, EMUL_DONTLOCK);
- head = em->robust_futexes;
+ head = em->robust_futexes;
} else {
struct proc *p;
@@ -741,14 +741,14 @@ linux_get_robust_list(struct thread *td,
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);
}
More information about the svn-src-stable
mailing list