Poul-Henning Kamp writes:
> >It won't compile under current.
> >freebsd/skip_es.c breaks at
> >
> >     if (suser(p->p_ucred, &p->p_acflag )) {
> >
> >This won't compile, because suser only has one parameter.
> >
> >Trying blindly to change it to: 
> >
> >     if (suser(p->p_ucred)) {
> 
> Better yet, read the manpage for suser(9) and change it to:
> 
>       if (suser(p)) {

Thanks for noticing this. I'll fix it as soon as the ports freeze is over.
For the sake of 3.x systems, I'll change it to this..

    #if __FreeBSD_version < 400005
            if (suser(p->p_ucred, &p->p_acflag )) {
    #else
            if (suser(p)) {
    #endif
                    return (EPERM);
            }

Poul, thanks for bumping __FreeBSD_version when the suser() changes
went through :-)

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to