Re: net/pfvar.h: MAXPATHLEN -> PATH_MAX

2020-10-13 Thread Alexandr Nedvedicky
Hello, On Tue, Oct 13, 2020 at 10:31:28PM +0200, Christian Weisgerber wrote: > In revision 1.407 of , deraadt@ replaced MAXPATHLEN > with PATH_MAX so userland wouldn't have to pull in . > > In 1.466, sashan@ accidentally slipped one MAXPATHLEN back in, > because its use is ubiquitous on the

net/pfvar.h: MAXPATHLEN -> PATH_MAX

2020-10-13 Thread Christian Weisgerber
In revision 1.407 of , deraadt@ replaced MAXPATHLEN with PATH_MAX so userland wouldn't have to pull in . In 1.466, sashan@ accidentally slipped one MAXPATHLEN back in, because its use is ubiquitous on the kernel side of pf. Switch this over to PATH_MAX again. pfctl(8) doesn't actually use this,