[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re : Concerns about login
From: |
Samuel Thibault |
Subject: |
Re: Re : Concerns about login |
Date: |
Fri, 7 Mar 2008 22:48:22 +0000 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
Marc-Olivier Mercier, le Fri 07 Mar 2008 17:40:48 -0500, a écrit :
> Samuel Thibault wrote:
> >Marc-Olivier Mercier, le Thu 06 Mar 2008 22:27:14 -0500, a écrit :
> >
> >>@@ -258,7 +258,7 @@ verify_id (uid_t id, int is_group, int m
> >> /* VERIFY_FN should have been defaulted in idvec_verify if necessary.
> >> */
> >> assert (verify_fn);
> >>
> >>- if (id >= 0)
> >>+ if ((signed int)id != -1)
> >> do
> >> {
> >> if (is_group)
> >>
> >
> >Mmm, actually maybe it would make even more sense to use
> >
> > if (id != (pid_t)-1)
> >
> >Samuel
> What's a pid_t ?
Eeergl, sorry, that was meant to be read uid_t :)
Samuel