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)
Wed, Dec 10, 2:00 PM
Unknown Object (File)
Sat, Dec 6, 3:22 PM
Unknown Object (File)
Thu, Nov 27, 3:22 AM
Unknown Object (File)
Wed, Nov 26, 12:07 AM
Unknown Object (File)
Fri, Nov 21, 3:19 PM
Unknown Object (File)
Fri, Nov 21, 1:26 PM
Unknown Object (File)
Wed, Nov 19, 7:51 AM
Unknown Object (File)
Thu, Nov 13, 11:56 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