local-no-execfn

AT_EXECFN is Linux specific


Gbp-Pq: Topic kfreebsd
Gbp-Pq: Name local-no-execfn.diff
This commit is contained in:
Ubuntu Developers 2022-05-13 23:32:10 +08:00 committed by openKylinBot
parent 2cbd08d615
commit 8188a05785
1 changed files with 2 additions and 0 deletions

View File

@ -1315,9 +1315,11 @@ of this helper program; chances are you did not intend to run this program.\n\
case AT_ENTRY:
av->a_un.a_val = *user_entry;
break;
# ifdef AT_EXECFN
case AT_EXECFN:
av->a_un.a_val = (uintptr_t) _dl_argv[0];
break;
# endif
}
#endif
}