Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2006 07:06:09 +0200
From:      Stanislaw Halik <sthalik@tehran.lain.pl>
To:        freebsd-hackers@freebsd.org
Subject:   Re: A question about ipcperm() call?
Message-ID:  <20060724050609.GA16975@localhost.localdomain>
In-Reply-To: <de71d27b0607231907o6a7567bdy81e1a6d613b88c82@mail.gmail.com>
References:  <de71d27b0607231907o6a7567bdy81e1a6d613b88c82@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--u3/rZRmxL6MmkK24
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jul 24, 2006, ?????? wrote:
> 93                 if (mode & IPC_M) {
> 94                         error =3D suser(td);
> 95                         if (error)
> 96                                 return (error);

> why not directly return the error in line 94?

Assignment could return boolean false as well.

--=20
Ecchi na no wa ikenai to omoimasu.

--u3/rZRmxL6MmkK24
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFExFVBadU+vjT62TERAhKAAJ9f4o86nB04be/lYsnNhcInwEOwrwCghEKC
pOMNqu+5OlNzwCzA8qO9efc=
=QEQO
-----END PGP SIGNATURE-----

--u3/rZRmxL6MmkK24--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060724050609.GA16975>