Skip to content

Commit

Permalink
setsid
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-schwarz committed Oct 1, 2023
1 parent 9f80b1c commit 62f96fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analyses/libraryFunctions.ml
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ let posix_descs_list: (string * LibraryDesc.t) list = LibraryDsl.[
("getpgrp", unknown []);
("setrlimit", unknown [drop "resource" []; drop "rlim" [r]]);
("getrlimit", unknown [drop "resource" []; drop "rlim" [w]]);
("setsid", unknown []);
]

(** Pthread functions. *)
Expand Down Expand Up @@ -1079,7 +1080,6 @@ let invalidate_actions = [
"_IO_getc", writesAll;(*unsafe*)
"pipe", writesAll;(*unsafe*)
"close", writesAll;(*unsafe*)
"setsid", readsAll;(*safe*)
"strerror_r", writesAll;(*unsafe*)
"sigemptyset", writesAll;(*unsafe*)
"sigaddset", writesAll;(*unsafe*)
Expand Down

0 comments on commit 62f96fb

Please sign in to comment.