Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 May 1999 13:33:16 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Leif Neland <leifn@neland.dk>
Cc:        Bob Fayne <bob@dnsdata.com>, freebsd-current@FreeBSD.ORG
Subject:   Re: Skip fail under current, was: Re: VPN betwwen Windows 9x Clients and FreeBSD Firewall 
Message-ID:  <19502.926767996@critter.freebsd.dk>
In-Reply-To: Your message of "Sat, 15 May 1999 13:27:27 %2B0200." <Pine.BSF.4.05.9905151255160.5798-100000@arnold.neland.dk> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.05.9905151255160.5798-100000@arnold.neland.dk>, Leif Nel
and 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)) {

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


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




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