Skip to content

Commit

Permalink
getuid, geteuid
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-schwarz committed Oct 1, 2023
1 parent de0dbca commit 978f6b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/analyses/libraryFunctions.ml
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,8 @@ let posix_descs_list: (string * LibraryDesc.t) list = LibraryDsl.[
("sched_yield", unknown []);
("getpid", unknown []);
("getppid", unknown []);
("getuid", unknown []);
("geteuid", unknown []);
]

(** Pthread functions. *)
Expand Down Expand Up @@ -1069,7 +1071,6 @@ let invalidate_actions = [
"getopt_long", writesAllButFirst 2 readsAll;(*drop 2*)
"__strdup", readsAll;(*safe*)
"strtoul__extinline", readsAll;(*safe*)
"geteuid", readsAll;(*safe*)
"readdir_r", writesAll;(*unsafe*)
"atoi__extinline", readsAll;(*safe*)
"_IO_getc", writesAll;(*unsafe*)
Expand Down Expand Up @@ -1108,7 +1109,6 @@ let invalidate_actions = [
"gethostbyname_r", readsAll;(*safe*)
"__h_errno_location", readsAll;(*safe*)
"__fxstat", readsAll;(*safe*)
"getuid", readsAll;(*safe*)
"openlog", readsAll;(*safe*)
"getdtablesize", readsAll;(*safe*)
"umask", readsAll;(*safe*)
Expand Down

0 comments on commit 978f6b2

Please sign in to comment.