A question about ipcperm() call?

Stanislaw Halik sthalik at tehran.lain.pl
Mon Jul 24 05:06:39 UTC 2006


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

> why not directly return the error in line 94?

Assignment could return boolean false as well.

-- 
Ecchi na no wa ikenai to omoimasu.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20060724/448b0af4/attachment.pgp


More information about the freebsd-hackers mailing list