Page MenuHomeFreeBSD

linux(4): Export the AT_EXECFN depending on the process osreldata
ClosedPublic

Authored by dchagin on Apr 18 2023, 10:18 AM.
Referenced Files
Unknown Object (File)
Sat, Oct 4, 7:51 PM
Unknown Object (File)
Wed, Oct 1, 12:24 PM
Unknown Object (File)
Wed, Oct 1, 5:15 AM
Unknown Object (File)
Wed, Oct 1, 2:17 AM
Unknown Object (File)
Tue, Sep 30, 7:47 PM
Unknown Object (File)
Tue, Sep 30, 3:28 PM
Unknown Object (File)
Mon, Sep 29, 10:06 AM
Unknown Object (File)
Sun, Sep 28, 5:24 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I wonder if it makes sense to just inline the LINUX_KERNVER for these kinds of tests?

if ((p->p_osrel >= LINUX_KERNVER(2,6,26) || p->p_osrel == 0) &&
    imgp->execpathp != 0)

I wonder if it makes sense to just inline the LINUX_KERNVER for these kinds of tests?

if ((p->p_osrel >= LINUX_KERNVER(2,6,26) || p->p_osrel == 0) &&
    imgp->execpathp != 0)

well, I like it, however we already uses such namings and I try to to be consistent, I can change naming by separate commit for all LINUX_KERNVER_XXXX

This revision is now accepted and ready to land.Apr 18 2023, 1:11 PM