diff options
| author | Matthew Dillon <dillon@FreeBSD.org> | 1999-01-27 21:50:00 +0000 |
|---|---|---|
| committer | Matthew Dillon <dillon@FreeBSD.org> | 1999-01-27 21:50:00 +0000 |
| commit | d254af07a14b8ea8891c2369150729943aa142df (patch) | |
| tree | 2f1d801e18eaabd9c7650b3093c05f623b35ce3e /sys/kern/sys_process.c | |
| parent | 598217c491a12a9ff390d11f4f469a8444c52e20 (diff) | |
Notes
Diffstat (limited to 'sys/kern/sys_process.c')
| -rw-r--r-- | sys/kern/sys_process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index 475612703965..51545e653e6e 100644 --- a/sys/kern/sys_process.c +++ b/sys/kern/sys_process.c @@ -28,7 +28,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: sys_process.c,v 1.40 1998/07/29 18:41:30 dfr Exp $ + * $Id: sys_process.c,v 1.41 1998/12/26 17:14:37 dfr Exp $ */ #include <sys/param.h> @@ -239,7 +239,7 @@ ptrace(curp, uap) /* not owned by you, has done setuid (unless you're root) */ if ((p->p_cred->p_ruid != curp->p_cred->p_ruid) || (p->p_flag & P_SUGID)) { - if (error = suser(curp->p_ucred, &curp->p_acflag)) + if ((error = suser(curp->p_ucred, &curp->p_acflag)) != 0) return error; } |
