https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297426
--- Comment #17 from Dan Kotowski <[email protected]> --- FWIW I am NOT able to reproduce on CURRENT $ /compat/linux/usr/bin/python3.9 Python 3.9.25 (main, Apr 17 2026, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-14)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import os >>> print('readlink:', os.readlink('/proc/self/exe')) readlink: /compat/linux/usr/bin/python3.9 >>> try: ... print('stat:', os.stat('/proc/self/exe')) ... except OSError as e: ... print('stat: FAIL --', e) ... stat: os.stat_result(st_mode=33261, st_ino=1426886, st_dev=4259517978, st_nlink=1, st_uid=0, st_gid=0, st_size=15448, st_atime=0, st_mtime=1779238957, st_ctime=1785159540) >>> try: ... os.execv('/proc/self/exe', ['python3', '-c', 'print(\"execv OK\")']) ... except OSError as e: ... print('execv: FAIL --', e) ... execv OK $ uname -v FreeBSD 16.0-CURRENT main-n288168-71e72c9e91c4 GENERIC $ mount | grep proc procfs on /proc (procfs, local) linprocfs on /compat/linux/proc (linprocfs, local) -- You are receiving this mail because: You are the assignee for the bug.
