Re: [PATCH] Improving send_sigio() scalability

Horst von Brand (vonbrand@inf.utfsm.cl)
Thu, 20 May 1999 08:05:26 -0400


Richard Gooch <rgooch@atnf.csiro.au> said:

[...]

> diff -urN linux-2.3.3/fs/fcntl.c linux/fs/fcntl.c
> --- linux-2.3.3/fs/fcntl.c Sat Nov 14 05:07:26 1998
> +++ linux/fs/fcntl.c Tue May 18 23:21:47 1999

[...]

> + if ((fown->euid != 0) &&
> + (fown->euid ^ p->suid) && (fown->euid ^ p->uid) &&
> + (fown->uid ^ p->suid) && (fown->uid ^ p->uid))

Why don't you use != when that is what you mean?

-- 
Dr. Horst H. von Brand                       mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/