forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile: Blacklist functions that threaded programs cannot use safely.
Some functions that POSIX says cannot be used safely in multithreaded programs are not on the initial blacklist: - getenv() should be safe in real implementations in the absence of changes to the environment. (putenv() and setenv() are blacklisted.) - We only use getopt() before spawning extra threads, and I expect this to continue to be true. Signed-off-by: Ben Pfaff <[email protected]>
- Loading branch information
Showing
2 changed files
with
104 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
\basctime( | ||
\bbasename( | ||
\bcatgets( | ||
\bcrypt( | ||
\bctermid( | ||
\bctime( | ||
\bdbm_clearerr( | ||
\bdbm_close( | ||
\bdbm_delete( | ||
\bdbm_error( | ||
\bdbm_fetch( | ||
\bdbm_firstkey( | ||
\bdbm_nextkey( | ||
\bdbm_open( | ||
\bdbm_store( | ||
\bdirname( | ||
\bdlerror( | ||
\bdrand48( | ||
\becvt( | ||
\bencrypt( | ||
\bendgrent( | ||
\bendpwent( | ||
\bendutxent( | ||
\bfcvt( | ||
\bftw( | ||
\bgcvt( | ||
\bgetc_unlocked( | ||
\bgetchar_unlocked( | ||
\bgetdate( | ||
\bgetgrent( | ||
\bgetgrgid( | ||
\bgetgrnam( | ||
\bgethostbyaddr( | ||
\bgethostbyname( | ||
\bgethostent( | ||
\bgetlogin( | ||
\bgetmntent( | ||
\bgetnetbyaddr( | ||
\bgetnetbyname( | ||
\bgetnetent( | ||
\bgetprotobyname( | ||
\bgetprotobynumber( | ||
\bgetprotoent( | ||
\bgetpwent( | ||
\bgetpwnam( | ||
\bgetpwuid( | ||
\bgetservbyname( | ||
\bgetservbyport( | ||
\bgetservent( | ||
\bgetutxent( | ||
\bgetutxid( | ||
\bgetutxline( | ||
\bgmtime( | ||
\bhcreate( | ||
\bhdestroy( | ||
\bhsearch( | ||
\binet_ntoa( | ||
\bl64a( | ||
\blgamma( | ||
\blgammaf( | ||
\blgammal( | ||
\blocaleconv( | ||
\blocaltime( | ||
\blrand48( | ||
\bmrand48( | ||
\bnftw( | ||
\bnl_langinfo( | ||
\bptsname( | ||
\bputc_unlocked( | ||
\bputchar_unlocked( | ||
\bputenv( | ||
\bpututxline( | ||
\brand( | ||
\bsetenv( | ||
\bsetgrent( | ||
\bsetkey( | ||
\bsetpwent( | ||
\bsetutxent( | ||
\bsigprocmask( | ||
\bstrerror( | ||
\bstrsignal( | ||
\bstrtok( | ||
\bsystem( | ||
\btmpnam( | ||
\bttyname( | ||
\bunsetenv( | ||
\bwcrtomb( | ||
\bwcsrtombs( | ||
\bwcstombs( | ||
\bwctomb( |