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, Jun 23, 10:43 AM
Unknown Object (File)
Thu, Jun 18, 10:14 AM
Unknown Object (File)
Sat, Jun 13, 3:07 PM
Unknown Object (File)
Sat, Jun 13, 3:59 AM
Unknown Object (File)
Thu, Jun 11, 2:20 PM
Unknown Object (File)
Sun, Jun 7, 7:37 PM
Unknown Object (File)
May 17 2026, 9:54 AM
Unknown Object (File)
May 17 2026, 6:39 AM
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