Skip to content

Commit daf63e2

Browse files
committed
Add fortified inet_pton to LibraryFunctions
Required for 06-symbeq/38-chrony-name2ipaddress to pass with newer glibc.
1 parent 270caa0 commit daf63e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/util/library/libraryFunctions.ml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,9 @@ let posix_descs_list: (string * LibraryDesc.t) list = LibraryDsl.[
354354
("pclose", unknown [drop "stream" [w; f]]);
355355
("getcwd", unknown [drop "buf" [w]; drop "size" []]);
356356
("inet_pton", unknown [drop "af" []; drop "src" [r]; drop "dst" [w]]);
357+
("__inet_pton_alias", unknown [drop "af" []; drop "src" [r]; drop "dst" [w]]);
358+
("__inet_pton_chk", unknown [drop "af" []; drop "src" [r]; drop "dst" [w]; drop "os" []]);
359+
("__inet_pton_chk_warn", unknown [drop "af" []; drop "src" [r]; drop "dst" [w]; drop "os" []]);
357360
("inet_ntop", unknown [drop "af" []; drop "src" [r]; drop "dst" [w]; drop "size" []]);
358361
("gethostent", unknown ~attrs:[ThreadUnsafe] []);
359362
("poll", unknown [drop "fds" [r]; drop "nfds" []; drop "timeout" []]);

0 commit comments

Comments
 (0)