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)
Sep 26 2024, 11:25 PM
Unknown Object (File)
Sep 24 2024, 10:05 AM
Unknown Object (File)
Sep 24 2024, 10:05 AM
Unknown Object (File)
Sep 24 2024, 10:05 AM
Unknown Object (File)
Sep 24 2024, 9:57 AM
Unknown Object (File)
Sep 24 2024, 8:23 AM
Unknown Object (File)
Sep 23 2024, 10:29 AM
Unknown Object (File)
Sep 22 2024, 10:44 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