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)
Tue, Sep 1, 8:18 PM
Unknown Object (File)
Fri, Aug 28, 5:54 PM
Unknown Object (File)
Fri, Aug 28, 5:04 AM
Unknown Object (File)
Sat, Aug 22, 7:39 AM
Unknown Object (File)
Fri, Aug 21, 8:50 AM
Unknown Object (File)
Tue, Aug 18, 7:35 PM
Unknown Object (File)
Tue, Aug 18, 12:05 PM
Unknown Object (File)
Wed, Aug 12, 11:02 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 50994
Build 47885: arc lint + arc unit

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