freebsd.py: Fix libc loading. Restores pwd detection.
This commit is contained in:
parent
97ef537851
commit
0b43bb4b44
|
@ -43,7 +43,7 @@ class kinfo_file(Structure):
|
||||||
('kf_sa_peer', sockaddr_storage),
|
('kf_sa_peer', sockaddr_storage),
|
||||||
]
|
]
|
||||||
|
|
||||||
libc = CDLL('libc.so')
|
libc = CDLL('libc.so.7')
|
||||||
|
|
||||||
uintlen = c_size_t(sizeof(c_uint))
|
uintlen = c_size_t(sizeof(c_uint))
|
||||||
ver = c_uint(0)
|
ver = c_uint(0)
|
||||||
|
|
Loading…
Reference in New Issue